You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Raghavendra U <Ra...@mphasis.com> on 2006/04/26 08:33:18 UTC

Help in font

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 <http://www.mphasis.com/> 


                    `888'

 


Re: Help in font

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
That's almost an FAQ. See:
http://marc.theaimsgroup.com/?l=fop-user&m=112348678105709&w=2

On 26.04.2006 08:33:18 Raghavendra U wrote:
> 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.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org