Re: Error while creating metric file

2006-05-01 Thread Susant
) at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:222) at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:184) -- View this message in context: http://www.nabble.com/Error-while-creating-metric-file-t1398534.html#a4172244 Sent from the FOP - Users forum

Re: Error while creating metric file

2006-05-01 Thread Jeremias Maerki
I guess it should be possible to add cmap tables with a font editor, but I've never done this. The other option is to improve FOP to handle TrueType fonts without a cmap table. I can't imagine that it's difficult, it's just that somebody has to sit down and take it on. On 01.05.2006 19:00:37

Re: Error while creating metric file

2006-04-29 Thread Jeremias Maerki
On 28.04.2006 23:12:34 Susant wrote: Archna, I would like to know how you generated the metrics file for that OCR font. He probably generated it like any other font. I've a font that generates a logo which says it's a TrueType font, but complains while generating metrics file using

RE: Error while creating metric file

2006-04-28 Thread Susant
://www.nabble.com/Error-while-creating-metric-file-t1398534.html#a4147728 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Error while creating metric file

2006-04-05 Thread Archana Visveswaran, ASDC Chennai
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

Re: Error while creating metric file

2006-04-05 Thread Jeremias Maerki
Indeed, Windows' Webdings and Symbol TrueType fonts cannot be processed by TTFReader and can therefore not be used with FOP at the moment. For the Symbol font this is not tragic because the Symbol font is one of the base14 fonts which are simply available in FOP. For the other fonts, this is a

Re: Error while creating metric file

2006-04-05 Thread Jeremias Maerki
Are you sure that FOP picks up your userconfig.xml (-c on the command-line)? If I use your triplet for the OCR font with one of my fonts, it works fine. On 05.04.2006 15:55:24 Archana Visveswaran, ASDC Chennai wrote: Oops! I have now changed the userconfig file. I still get the same error.

Re: Error while creating metric file

2006-04-05 Thread Jeremias Maerki
See here: http://xmlgraphics.apache.org/fop/0.20.5/embedding.html#config-external On 05.04.2006 16:57:51 Archana Visveswaran, ASDC Chennai wrote: Right! When I used fop -c option from my command line, the file gets converted well. But I have a Java application that does this conversion.