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

search for in the

HaruDoc::getInfoAttr> <HaruDoc::getEncoder
Last updated: Fri, 10 Oct 2008

view this page in

HaruDoc::getFont

(PECL haru:0.0.1)

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

説明

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

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

パラメータ

fontname

フォントの名前。組み込みフォントの一覧は 組み込みのフォント を参照ください。 HaruDoc::loadTTF()HaruDoc::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.

HaruDoc::getInfoAttr> <HaruDoc::getEncoder
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites