PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

The HaruFont class

(PECL haru >= 0.0.1)

简介

Haru PDF Font Class.

类摘要

HaruFont {
/* 方法 */
getAscent ( void ) : int
getCapHeight ( void ) : int
getDescent ( void ) : int
getEncodingName ( void ) : string
getFontName ( void ) : string
getTextWidth ( string $text ) : array
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 ] ) : int
}

Table of Contents