[
https://issues.apache.org/jira/browse/PDFBOX-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007135#comment-15007135
]
Tilman Hausherr commented on PDFBOX-3112:
-----------------------------------------
Still not perfect after the fix, but text extraction and rendering work:
{code}
SCHWERWIEGEND: Can't read the embedded Type1 font RJIJDY+NimbusRomNo9L-ReguItal
java.io.IOException: unexpected closing parenthesis
at org.apache.fontbox.type1.Type1Lexer.readToken(Type1Lexer.java:123)
at org.apache.fontbox.type1.Type1Lexer.nextToken(Type1Lexer.java:75)
at org.apache.fontbox.type1.Type1Parser.parseBinary(Type1Parser.java:476
{code}
The cause is probably a double parenthesis "(...(...)...)" in the font. I'm not
fixing this, as it isn't fatal, and even AR isn't satisfied with the file.
> Avoid crazy /Length1 values in font descriptor
> ----------------------------------------------
>
> Key: PDFBOX-3112
> URL: https://issues.apache.org/jira/browse/PDFBOX-3112
> Project: PDFBox
> Issue Type: Sub-task
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 2.0.0
>
> Attachments: PDFBOX-3112.pdf
>
>
> Attached file has crazy values for /Length1, log output are from after the
> fix, I don't include the nasty exceptions I got:
> {quote}
> WARNUNG: Ignored invalid Length1 -1172293644 for Type 1 font QUMRTG+CMMI10
> WARNUNG: Ignored invalid Length1 1421188652 for Type 1 font KDKSJT+CMR7
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]