An example of how to get the fonts available.
<?php
$image = new Gmagick();
$fonts = $image->queryfonts();
foreach($fonts as $font){
echo $font."\n";
}
?>
(PECL gmagick >= Unknown)
Gmagick::queryfonts — Returns the configured fonts
$pattern
= "*"
] ) : arrayReturns fonts supported by Gmagick.
Ta funkcja nie posiada parametrów.
The Gmagick object on success
Wywołuje wyjątek GmagickException w przypadku błędu.
An example of how to get the fonts available.
<?php
$image = new Gmagick();
$fonts = $image->queryfonts();
foreach($fonts as $font){
echo $font."\n";
}
?>