[gl2ps] Regarding PDF fonts
Micha Bieber
krischnamurti at users.sourceforge.net
Fri Nov 7 10:19:01 CET 2003
Hallo group,
when I begun to write the PDF output, I had the immediate impression
that fonts in PDF are evil ...
E.g. you have to include for the simplest kind of string position
calculation font metrics in the pdf file. This is true also for the
standard fonts and it is not completely for sure whether Adobe allows
the inclusion even for this fonts without restrictions (despite the
fact that you can download the metrics from their web site).
Therefore I decided to avoid the font stuff if possible. The bad /BBox
seems also to be a font replacement problem. At least google suggests
that. Also, that mostly bold/oblique or italic variations suffer from
the problem or any not installed font or ...
There is seemingly also a difference between an italic font and the
italic variant of a font. This would explain the difference in
Christophes workaround and why he doesn't works in all cases.
In a nutshell - hornet's nest. The best solution is still to use
coupled tex/pdf output. But I'll see whether I can find a solution for
pure PDF strings without to contaminate the library with too much font
knowledge.
Micha
--