[ 
https://issues.apache.org/jira/browse/PDFBOX-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310756#comment-17310756
 ] 

Tilman Hausherr commented on PDFBOX-5143:
-----------------------------------------

The file gs-bugzilla688870.pdf from PDFBOX-3000 (and some other files) brings 
this when rendering:
{code}
java.lang.UnsupportedOperationException
 at java.util.Collections$UnmodifiableList.set(Collections.java:1311)
 at org.apache.fontbox.cff.CFFParser.concatenateMatrix(CFFParser.java:612)
 at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:580)
 at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:126)
 at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:77)
{code}
It is somehow related to \{{getOperands}} returning a 
\{{Collections.unmodifiableList(operands)}}.

> Refactor/Simplify CFF parsing
> -----------------------------
>
>                 Key: PDFBOX-5143
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5143
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: FontBox
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>
> The classes used for the parsing of CFF-based fonts have some room for 
> improvements w.r.t. the memory footprint, the complexity of the code and the 
> test coverage.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to