This function is used to load a font into memory for later use with PDF_setfont()
This function is the replacement for the depracated PDF_find_font()
And also here is the 'core font' list, for PDF files, these do not need to be embeded:
- Courier
- Courier-Bold
- Courier-Oblique
- Courier-BoldOblique
- Helvetica
- Helvetica-Bold
- Helvetica-Oblique
- Helvetica-BoldOblique
- Times-Roman
- Times-Bold
- Times-Italic
- Times-BoldItalic
- Symbol
- ZapfDingbats
And with encodings i have found its best to use iso8859-1 for english with a $ for currency.
PDF_load_font
(PECL pdflib >= 2.0.0)
PDF_load_font — Sucht und bereitet Schrift vor
Beschreibung
int PDF_load_font
( resource
$pdfdoc
, string $fontname
, string $encoding
, string $optlist
)Sucht nach einer Schrift und bereitet sie zur späteren Verwendung vor.
PDF_load_font
seufert at gmail dot com
01-Aug-2006 03:43
01-Aug-2006 03:43