©
Ce document utilise Manuel du site Web PHP chinois Libérer
(PECL haru >= 0.0.1)
HaruPage::setFontAndSize — Set font and fontsize for the page
$font
, float $size
)Defines current font and its size for the page.
font
A valid HaruFont instance.
size
The size of the font.
Returns TRUE
on success.
发生错误时抛出 HaruException 异常。