HaruPage::textRect
HaruFont::getAscent
haru
php 手册
|
脚本学堂
|
脚本编程
|
网站编程
|
系统管理
|
服务器配置
|
数据库管理
|
Php教程
|
python教程
|
正则表达式
|
批处理脚本
|
Centos教程
|
Linux基础教程
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
HaruFont::getAscent
— Get the vertical ascent of the font
HaruFont::getCapHeight
— Get the distance from the baseline of uppercase letters
HaruFont::getDescent
— Get the vertical descent of the font
HaruFont::getEncodingName
— Get the name of the encoding
HaruFont::getFontName
— Get the name of the font
HaruFont::getTextWidth
— Get the total width of the text, number of characters, number of words and number of spaces
HaruFont::getUnicodeWidth
— Get the width of the character in the font
HaruFont::getXHeight
— Get the distance from the baseline of lowercase letters
HaruFont::measureText
— Calculate the number of characters which can be included within the specified width
HaruPage::textRect
HaruFont::getAscent
haru
php 手册
|
脚本学堂
|
脚本编程
|
网站编程
|
系统管理
|
服务器配置
|
数据库管理
|
Php教程
|
python教程
|
正则表达式
|
批处理脚本
|
Centos教程
|
Linux基础教程