You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by em...@eurodb.be on 2001/11/26 18:05:05 UTC

TTFReader not working with some TTF fonts?

Hi,

I'd like to create the font xml file with the TTFReader. If I do it with a
standard windows font (like Verdana), it works. But when I try with some
freefont (TTF), I always have an EOFException... Is it supposed to work
with every TTF fonts?

Thanks

Cheers

Emmanuel Ponette
Euro DB
Place de l'Université, 16
B-1348 Louvain-La-Neuve

Phone: +32 10 47 67 44
Fax:      +32 10 47 67 67


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: TTFReader not working with some TTF fonts?

Posted by Hoang Nam <nn...@yahoo.fr>.
I have the same problem : an exception  when I try to add Windings font of
Word

Here is the error message :
----------------------------------------------------------------------------
-----------
Reading c:\winnt\fonts\wingding.ttf...

Number of glyphs in font: 226
Unicode cmap table not present
java.util.NoSuchElementException: Vector Enumeration
        at java.util.Vector$1.nextElement(Vector.java:294)
        at org.apache.fop.fonts.TTFFile.createCMaps(Compiled Code)
        at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:404)
        at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:181)
        at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:143)

----------------------------------------------------------------------------
-----------

Thanks for any idea !

Nam

----- Original Message -----
From: <em...@eurodb.be>
To: <fo...@xml.apache.org>
Sent: Monday, November 26, 2001 6:05 PM
Subject: TTFReader not working with some TTF fonts?



Hi,

I'd like to create the font xml file with the TTFReader. If I do it with a
standard windows font (like Verdana), it works. But when I try with some
freefont (TTF), I always have an EOFException... Is it supposed to work
with every TTF fonts?

Thanks

Cheers

Emmanuel Ponette
Euro DB
Place de l'Université, 16
B-1348 Louvain-La-Neuve

Phone: +32 10 47 67 44
Fax:      +32 10 47 67 67


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org