An example of how to get the fonts available.
<?php
$image = new Gmagick();
$fonts = $image->queryfonts();
foreach($fonts as $font){
echo $font."\n";
}
?>
Gmagick::queryfonts
(PECL gmagick >= Unknown)
Gmagick::queryfonts — 設定したフォントを返す
説明
public array Gmagick::queryfonts
([ string
$pattern = "*"
] )設定したフォントを返します。
パラメータ
この関数にはパラメータはありません。
返り値
成功した場合に Gmagick オブジェクトを返します。
エラー / 例外
エラー時に GmagickException をスローします。
Mathew Oransky ¶
3 years ago
