You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2015/07/06 13:32:05 UTC

[jira] [Commented] (PDFBOX-2854) TTFSubsetter NoSuchElementException

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

simon steiner commented on PDFBOX-2854:
---------------------------------------

Seems i forgot to call addCharCode

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