note 20055 added to function.pdf-findfont
| From: | mitch at nospam dot unixprogramming dot net | Date: | Wed, 20 Mar 2002 21:48:26 +0000 |
| Subject: | note 20055 added to function.pdf-findfont | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28002@lists.php.net to get a copy of this message | ||
A note on fonts...
Everyone should take a look at the PDFlib manual, section 3.3.5 on TrueType fonts and such. In
order to not have to embed fonts and have the font metrics file available use one of the 14 internal
PDFlib fonts (case sensitive) :
Courier, Courier-Bold, Courier-Oblique, Courier-BoldOblique,
Helvetica, Helvetica-Bold, Helvetica-Oblique, Helvetica-BoldOblique,
Times-Roman, Times-Bold, Times-Italic, Times-BoldItalic,
Symbol, ZapfDingbats
Note that "Times New Roman" isn't in there (Times-Roman is, however). All is
explained in the PDFlib manual so if you're having trouble with the above example, please check
it out.
--
http://www.php.net/manual/en/function.pdf-findfont.php
http://master.php.net/manage/user-notes.php?action=edit+20055
http://master.php.net/manage/user-notes.php?action=delete+20055
http://master.php.net/manage/user-notes.php?action=reject+20055