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
Descrizione
public array Gmagick::queryfonts
([ string
$pattern = "*"
] )Returns fonts supported by Gmagick.
Elenco dei parametri
Questa funzione non contiene parametri.
Valori restituiti
The Gmagick object on success
Errori/Eccezioni
Throws an GmagickException on error.
Mathew Oransky ¶
3 years ago
