downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<HaruDoc::getEncoderHaruDoc::getInfoAttr>
Last updated: Thu, 26 Jun 2008

HaruDoc::getFont

(PECL haru:0.0.1)

HaruDoc::getFont — Get HaruFont instance

Description

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

Get a HaruFont instance.

Parameters

fontname

The name of the font. See Builtin Fonts for the list of builtin fonts. You can also use the name of a font loaded via HaruDoc::loadTTF(), HaruDoc::loadTTC() and HaruDoc::loadType1().

encoding

The encoding to use. See Builtin Encodings for the list of supported encodings.

Return Values

Returns a HaruFont instance with the specified fontname and encoding .

Errors/Exceptions

Throws HaruException on error.



add a noteadd a note User Contributed Notes
Get HaruFont instance
There are no user contributed notes for this page.




<HaruDoc::getEncoderHaruDoc::getInfoAttr>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs