Hi,

> Jan Tosovsky <[email protected]> hat am 10. Februar 2014 um 19:54
> geschrieben:
>
>
> Dear All,
>
> when opening DroidSansFallback TTF font [1] via the following code using
> just FontBox dependency, the Invalid Characters codes error appears:
>
> TrueTypeFont font = new TTFParser().parseTTF(new
> File("DroidSansFallback.ttf"));
>
> java.io.IOException: Invalid Characters codes
>       at
> org.apache.fontbox.ttf.CMAPEncodingEntry.processSubtype12(CMAPEncodingEntry.
> java:221)
>       at
> org.apache.fontbox.ttf.CMAPEncodingEntry.initSubtable(CMAPEncodingEntry.java
> :100)
> ...
>
> FontBox 1.8.2/Win7/JDK 7
>
> I plan to perform some character subsetting...
>
> Is there any workaround for this issue?
You should update to 1.8.4, maybe the issue is already fixed.

> Thanks, Jan
>
> ______________
> [1]
> https://github.com/android/platform_frameworks_base/blob/master/data/fonts/D
> roidSansFallback.ttf
>


BR
Andreas Lehmkühler

Reply via email to