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::getFontRécupère une instance HaruFont

Description

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

Récupère une instance HaruFont.

Liste de paramètres

fontname

Le nom de la police. Voir les polices internes pour une liste des polices internes. Vous pouvez également utiliser le nom d'une police chargée via HaruDoc::loadTTF(), HaruDoc::loadTTC() et HaruDoc::loadType1().

encoding

L'encodage à utiliser. Voir les encodages internes pour une liste des encodages supportés.

Valeurs de retour

Retourne une instance HaruFont avec le nom de police fontname et l'encodage encoding .

Erreurs / Exceptions

Lance une exception HaruException en cas d'erreur.



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 | stats | sitemap | contact | advertising | mirror sites