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?

Thanks, Jan

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

Reply via email to