I guess it should be possible to add cmap tables with a font editor, but I've never done this. The other option is to improve FOP to handle TrueType fonts without a cmap table. I can't imagine that it's difficult, it's just that somebody has to sit down and take it on.
On 01.05.2006 19:00:37 Susant wrote: > > Thank you Jeremi. > > I was using that logo as an image with a very high resolution. Let me try it > out with svg. > Is there any way to add a cmap table in these kind of fonts? Because i still > have a whole set of fonts which has the same problem. My FOP version is > '0.20.5'. > > Error message: > 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) > at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:439) > at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:222) > at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:184) Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
