pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Created: (PDFBOX-355) Bugfix for width-array of TrueType and AFM-Fonts
Date Mon, 04 Aug 2008 18:04:44 GMT
Bugfix for width-array of TrueType and AFM-Fonts

                 Key: PDFBOX-355
                 URL: https://issues.apache.org/jira/browse/PDFBOX-355
             Project: PDFBox
          Issue Type: Bug
            Reporter: Jukka Zitting

[Issue from SourceForge]

Hi folks,

I've experienced some problems with embedding TrueType and AFM/PFB fonts.
In both cases the array with the widths of the characters was incomplete
concerning some special characters. The array for afm-fonts has some gaps
whenever a character wasn't defined which leads to an Exception when the
pdf-document was displayed with PDFReader. And finally there was a problem
with german umlauts which weren't defined in the afm-file but were part of
the font. Btw. if I use this fonts with postscript everything works fine.
So I've added a hack (?!?) based on a code-fragment written by V0JT4 in the
pdf-forum (see also
https://sourceforge.net/forum/message.php?msg_id=4705274) for the encoding
of AFM-fonts.

I've attached the latest versions of the sorce code

org.pdfbox.pdmodel.font.PDTrueTypeFont (1.17)
org.pdfbox.pdmodel.font.PDType1AfmPfbFont (1.5)



This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message