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"。