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

ASF subversion and git services commented on PDFBOX-2854:
---------------------------------------------------------

Commit 1750729 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1750729 ]

PDFBOX-2854: avoid NPE for missing post table

> 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
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.3, 2.1.0
>
>
> 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]

Reply via email to