AddFont(string family [, string style [, string file]])
版本
1.5
內容
汇入一个 TrueType 或 Type1 字型,并且另到这个字型可以运作。必需要先行利用 makefont.php 这个程序来产生一个字型定义档案。
这个定义档案 (and the font file itself when embedding) 一定要放在目前使用中的目录或利用一些指令FPDF_FONTPATH来提供路径。如果找不这个定义档,就会出现错误讯息 "Could not include font definition file"。