Gmagick::queryfonts

(PECL gmagick >= Unknown)

Gmagick::queryfontsReturns the configured fonts

Beschreibung

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

Returns fonts supported by Gmagick.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

The Gmagick object on success

Fehler/Exceptions

Wirft bei einem Fehler eine GmagickException.

add a note

User Contributed Notes 1 note

up
0
Mathew Oransky
15 years ago
An example of how to get the fonts available.<?php$image = new Gmagick();$fonts = $image->queryfonts();foreach($fonts as $font){  echo $font."\n";}?>
To Top