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.
Această funcție nu are parametri.
The Gmagick object on success
Emite o GmagickException în caz de eroare.
An example of how to get the fonts available.
<?php
$image = new Gmagick();
$fonts = $image->queryfonts();
foreach($fonts as $font){
echo $font."\n";
}
?>