On 2014-02-10 Jan Tosovsky wrote:
> 
> 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(CMAPEncodingE
> ntry.
> java:221)
>       at
> org.apache.fontbox.ttf.CMAPEncodingEntry.initSubtable(CMAPEncodingEntry
> .java
> :100)
> ...
> 

Any idea how to work around this issue?

Thanks, Jan

Reply via email to