haru
PHP 手册

The HaruFont class

简介

Haru PDF Font Class.

Class synopsis

HaruFont
HaruFont {
/* Methods */
int getAscent ( void )
int getCapHeight ( void )
int getDescent ( void )
string getEncodingName ( void )
string getFontName ( void )
array getTextWidth ( string $text )
int getUnicodeWidth ( int $character )
int getXHeight ( void )
int measureText ( string $text , float $width , float $font_size , float $char_space , float $word_space [, bool $word_wrap=false ] )
}

Table of Contents


haru
PHP 手册