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

search for in the

HaruDoc::getInfoAttr> <HaruDoc::getEncoder
[edit] Last updated: Fri, 25 May 2012

view this page in

HaruDoc::getFont

(PECL haru >= 0.0.1)

HaruDoc::getFontHaruFont のインスタンスを取得する

説明

object HaruDoc::getFont ( string $fontname [, string $encoding ] )

HaruFont のインスタンスを取得します。

パラメータ

fontname

フォントの名前。組み込みフォントの一覧は 組み込みのフォント を参照ください。 HaruDoc::loadTTFHaruDoc::loadTTC および HaruDoc::loadType1 で読み込んだフォントの名前を使用することもできます。

encoding

使用するエンコーディング。サポートするエンコーディングの一覧は 組み込みのエンコーディング を参照ください。

返り値

指定した fontname および encodingHaruFont のインスタンスを返します。

エラー / 例外

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

参考



add a note add a note User Contributed Notes HaruDoc::getFont
There are no user contributed notes for this page.

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