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

search for in the

Gmagick::queryformats> <Gmagick::queryfontmetrics
[edit] Last updated: Fri, 07 Jun 2013

view this page in

Gmagick::queryfonts

(PECL gmagick >= Unknown)

Gmagick::queryfonts設定したフォントを返す

説明

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

設定したフォントを返します。

パラメータ

この関数にはパラメータはありません。

返り値

成功した場合に Gmagick オブジェクトを返します。

エラー / 例外

エラー時に GmagickException をスローします。



add a note add a note User Contributed Notes Gmagick::queryfonts - [1 notes]
up
0
Mathew Oransky
3 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";
}
?>

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