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

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

Commit 1689739 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1689739 ]

PDFBOX-2854: test of throw IllegalStateException if subset is empty

> 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: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to