Hi, I sent a solution for this problem in the list before. The Windings font has symbol encoding, and TTFReader requires ansi encoding. You have to convert the unicode cmap table in the font to ansi (Microsoft VOLT, FontLab, etc.), or just change the encoding attribute to ansi (with Softy for eg.) and read the font metrics. The only problem is, that the generated .pdf file will not be readable by Acrobat reader if the cmap table contains symbol encoding, but you can use GhostView to display the text in the .pdf file. The best way is to convert the cmap table and you can use Acrobat to read your .pdf file, too. I hope this helps.
Cheers, Attila --- Cyril Rognon <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to add a ttf font to fop, using the > TTFReader as mentionned in > the documentation. > > The ttf font is windings and I every time I do > > java org.apache.fop.fonts.apps.TTFReader > C:\WINDOWS\FONTS\wingding.ttf wingdings.xml > > I get an exception : > > .... > TTF Reader v1.1.1 > > Reading C:\WINDOWS\FONTS\wingding.ttf... > > Number of glyphs in font: 226 > Unicode cmap table not present > java.util.NoSuchElementException: Vector Enumeration > > What do I do to fix this ? > > Thanks > > Cyril > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, email: > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
