downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Gmagick::queryformats> <Gmagick::queryfontmetrics
[edit] Last updated: Fri, 23 Mar 2012

view this page in

Gmagick::queryfonts

(PECL gmagick >= Unknown)

Gmagick::queryfontsReturns the configured fonts

Opis

public array Gmagick::queryfonts ([ string $pattern = "*" ] )

Returns fonts supported by Gmagick.

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

The Gmagick object on success

Błędy/Wyjątki

Wywołuje wyjątek GmagickException w przypadku błędu.



add a note add a note User Contributed Notes Gmagick::queryfonts
Mathew Oransky 02-Nov-2009 06:39
An example of how to get the fonts available.
<?php
$image
= new Gmagick();
$fonts = $image->queryfonts();
foreach(
$fonts as $font){
  echo
$font."\n";
}
?>

 
show source | credits | stats | sitemap | contact | advertising | mirror sites