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
Açıklama
public array Gmagick::queryfonts
([ string
$pattern = "*"
] )Returns fonts supported by Gmagick.
Değiştirgeler
Bu işlevin değiştirgesi yoktur.
Dönen Değerler
The Gmagick object on success
Hatalar/İstisnalar
Hata durumunda bir GmagickException istisnası oluşur.
Mathew Oransky
02-Nov-2009 06:39
