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
Last updated: Fri, 20 May 2011

view this page in

HaruDoc::getFont

(PECL haru >= 0.0.1)

HaruDoc::getFontObtiene una instancia de HaruFont

Descripción

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

Obtiene una instancia de HaruFont.

Parámetros

fontname

El nombre de la fuente. Ver Builtin Fonts para la lista de fuentes builtin. También se puede usar un nombre de fuente cargado vía HaruDoc::loadTTF(), HaruDoc::loadTTC() y HaruDoc::loadType1().

encoding

El codificador a usar. Ver Builtin Encodings para la lista de codificadores aceptados.

Valores devueltos

Devuelve una instancia de HaruFont con el fontname especificado y el encoding.

Errores/Excepciones

Lanza una HaruException cuando se produce un error.

Ver también



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