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 — Returns the configured fonts
説明
public array Gmagick::queryfonts
([ string
$pattern = "*"
] )Returns fonts supported by Gmagick.
パラメータ
この関数にはパラメータはありません。
返り値
The Gmagick object on success
エラー / 例外
エラー時に GmagickException をスローします。
Mathew Oransky
02-Nov-2009 11:39
