(PECL imagick 2.0.0)
Returns the configured fonts
array Imagick::queryFonts ([ string $pattern = "*" ] )
Returns the configured fonts.
Parameters:
pattern
The query pattern
Returns:
Returns an array containing the configured fonts.
Exception:
Throws ImagickException on error.
Examples:
Imagick::queryFonts()
<?php
$output = '';
$output .= "Fonts that match 'Helvetica*' are:<br/>";
$fontList = \Imagick::queryFonts("Helvetica*");
foreach ($fontList as $fontName) {
$output .= '<li>'. $fontName."</li>";
}
return $output;
?>
Please login to continue.