PHP Doku:: Returns the configured fonts - gmagick.queryfonts.html

Verlauf / Chronik / History: (5) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzBildverarbeitung und -generierungGmagickThe Gmagick classGmagick::queryfonts

Ein Service von Reinhard Neidl - Webprogrammierung.

The Gmagick class

<<Gmagick::queryfontmetrics

Gmagick::queryformats>>

Gmagick::queryfonts

(PECL gmagick >= Unknown)

Gmagick::queryfontsReturns the configured fonts

Beschreibung

public void Gmagick::queryfonts ( void )

Returns fonts supported by Gmagick.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

The Gmagick object on success

Fehler/Exceptions

Wirft bei einem Fehler eine GmagickException.


Ein BenutzerBeitrag:
- Beiträge aktualisieren...
Mathew Oransky
3.11.2009 3:39
An example of how to get the fonts available.
<?php
$image
= new Gmagick();
$fonts = $image->queryfonts();
foreach(
$fonts as $font){
  echo
$font."\n";
}
?>



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)