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 — Devuelve las fuentes configuradas
Descripción
public array Gmagick::queryfonts
([ string
$pattern = "*"
] )Devuelve las fuentes soportadas por Gmagick.
Parámetros
Esta función no tiene parámetros.
Valores devueltos
El objeto Gmagick si se tuvo éxito
Errores/Excepciones
Arroja un GmagickException en caso de error.
Mathew Oransky ¶
3 years ago
