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

search for in the

HaruDoc::getInfoAttr> <HaruDoc::getEncoder
[edit] Last updated: Fri, 24 Jun 2011

view this page in

HaruDoc::getFont

(PECL haru >= 0.0.1)

HaruDoc::getFontدریافت نمونه HaruFont

Description

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

دریافت نمونه HaruFont.

Parameters

fontname

نام فونت. فونت‌های بولتن را برای فهرست فونت‌های بولتن ببینیدfor the list of builtin fonts. شما همچنین می‌توانید نام فونت بارگذاری شده از طریق HaruDoc::loadTTF()، HaruDoc::loadTTC() و HaruDoc::loadType1() را استفاده کنید.

encoding

کدگذاری برای استفاده. کدگذاری‌های بولتن را برای کدگذاریهای پشتیبانی شده را ببینیدfor the list of supported encodings.

Return Values

Returns a HaruFont instance with the specified fontname and encoding.

Errors/Exceptions

Throws a HaruException on error.

See Also



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

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