Partridge, Michael wrote:
I get the following output when attempting to generate a font metrics file from an OCR true type font:
...
Unicode cmap table not present
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:507)
        at java.util.ArrayList.get(ArrayList.java:324)
        at org.apache.fop.fonts.TTFFile.createCMaps(TTFFile.java:449)
...
Is this a problem with the font file itself?

Yes. It is common for OCR and barcode fonts to omit the cmap, for whatever reason. Try the telliung TTFReader to use winansi encoding, assuming the character range in the font fits the encodable range.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to