[ https://issues.apache.org/jira/browse/PDFBOX-954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989190#comment-12989190 ]
MH commented on PDFBOX-954: --------------------------- Just switched back to iText adding the same text with the very same font and the error does not occur. => problem in PDFBox embedding fonts. This only occurs with this "LucidaSansUnicode" font - all our other custom fonts don't cause this problem. > Embedded font: value for /Widths faulty (Acrobat Reader 9) > ---------------------------------------------------------- > > Key: PDFBOX-954 > URL: https://issues.apache.org/jira/browse/PDFBOX-954 > Project: PDFBox > Issue Type: Bug > Components: FontBox > Affects Versions: 1.4.0 > Environment: JDK1.6.0_23, Windows XP > Reporter: MH > > We have a problem with the font 'LucidiaSansUnicode (l_10646.ttf). It is > embedded in a PDF and when viewing this PDF (with Acrobat Reader 9), an error > In der Schrift "LucidaSansUnicode" ist der Wert für /Widths fehlerhaft. > occurs (roughly translated: "In font "LucidaSansUNicode" the value for > /Widths is faulty."). I noticed that this error only occurs when the first > page is displayed that has text added by PDFBox! The same font is also used > for all other text (used by Apache FOP to generate). When I look at the > dialog window of Acrobat 3. tab "Fonts", I notice lots of entries > LucidaSansUnicode (Eingebettete Untergruppe) > Typ: TrueType (CID) > Kodierung: Identity-H > but only 1 entry at the very top that looks different: > LucidaSansUnicode (Eingebettet) > Typ: TrueType > Kodierung: Ansi > I guess one is from Apache FOP (generation of PDF) and one is from PDFBox > (adding additional text to the PDF). However, both use the same source file > "l_10646.ttf"! -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira