Gmagick::queryfonts
(PECL gmagick >= Unknown)
Gmagick::queryfonts — Returns the configured fonts
参数
此函数没有参数。
返回值
The Gmagick object on success
错误/异常
错误时抛出 GmagickException。
+添加备注
用户贡献的备注 1 note
Mathew Oransky ¶
15 years ago
An example of how to get the fonts available.
<?php
$image = new Gmagick();
$fonts = $image->queryfonts();
foreach($fonts as $font){
echo $font."\n";
}
?>