when i try to create a font metrics file for wingding font.
 
D:\FOP\fop-0.20.5>java org.apache.fop.fonts.apps.TTFReader -enc ansi C:\WINDOWS\Fonts\WINGDING.TTF  D:\FOP\fop-0.20.5\conf\FONTXML\WingDing.xml
TTF Reader v1.1.1
 
Reading C:\WINDOWS\Fonts\WINGDING.TTF...
 
Number of glyphs in font: 226
Unicode cmap table not present
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(Unknown Source)
        at java.util.ArrayList.get(Unknown Source)
        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)
it is giving error like this.
 
How to solve this.
 

Raghavendra U | Associate Software Engineer | M P H A S I S Architecting Value |139/1,Hosur Road, Koramangala, Bangalore-560 095 | Mobile: +91-9845830975| www.mphasis.com


                    `888'

 

Reply via email to