[
https://issues.apache.org/jira/browse/PDFBOX-2854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14617379#comment-14617379
]
Tilman Hausherr commented on PDFBOX-2854:
-----------------------------------------
This fixes the first problem, but not the second.
> TTFSubsetter NoSuchElementException
> -----------------------------------
>
> Key: PDFBOX-2854
> URL: https://issues.apache.org/jira/browse/PDFBOX-2854
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: simon steiner
>
> Exception in thread "main" java.util.NoSuchElementException
> at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1113)
> at java.util.TreeMap$EntryIterator.next(TreeMap.java:1151)
> at java.util.TreeMap$EntryIterator.next(TreeMap.java:1146)
> at
> org.apache.fontbox.ttf.TTFSubsetter.buildOS2Table(TTFSubsetter.java:523)
> at
> org.apache.fontbox.ttf.TTFSubsetter.writeToStream(TTFSubsetter.java:1081)
> TrueTypeFont x = new TTFParser().parse("Uvb_____.TTF");
> new TTFSubsetter(x, null).writeToStream(new ByteArrayOutputStream());
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]