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:
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 prob
2006 5:25 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Error while creating metric file
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
You register the font as "PrecisionIDOCRB1DEMO" in the configuration but
refer to it as "PrecisionID OCR B1 DEMO" in XSL-FO. Notice the spaces!
On 05.04.2006 15:20:28 Archana Visveswaran, ASDC Chennai wrote:
> Hi,
>
> Thanks for the info. I have created the metric file for OCR B1 font.
> I have
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.
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.
ext:
http://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]
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 TT
e.java:439)
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 - User
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 Susan
10 matches
Mail list logo