PHP 忒聊
綴豖
ヶ輛
pdf_findfont
(PHP 4 = 4.0.5)
Description
Prepare a font for later use with pdf_setfont(). The metrics will be loaded, and if embed is nonzero, the font file will be checked, but not yet used. encoding is one of "builtin", "macroman", "winansi", "host", or a user-defined encoding name, or the name of a CMap.
pdf_findfont() returns a font handle or FALSE on error.
瞰赽 1. pdf_findfont() example
?php $font = pdf_findfont($pdf, "Times New Roman", "winansi", 1); if ($font) {pdf_setfont($pdf, $font, 10);}?
綴豖
れ萸
ヶ輛
pdf_fill
奻珨撰
pdf_get_buffer