Hi,

 

I am using fop-0.20.5.

I need to create a metric file for Webdings, OCR font and Symbol. But I get the following error:

 

Reading C:\WINNT\Fonts\Symbol.ttf...

 

Number of glyphs in font: 192

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)

        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)

 

I saw a similar post but the solution was not provided.

How can I write the metric file? I am using 1.4.2_03 version of Java.

My aim is to convert an fo file to pdf. This uses Symbol and OCR font.

Is there any way these fonts can be included or do we have any restrictions while using FOP?

 

 

Thanks and Regards,

Archana V

Reply via email to