Gmagick::queryfonts

(PECL gmagick >= Unknown)

Gmagick::queryfontsReturns the configured fonts

설명

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

Returns fonts supported by Gmagick.

인수

이 함수는 인수가 없습니다.

반환값

The Gmagick object on success

오류/예외

Throws an GmagickException on error.

add a note 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