OK, I tried with other fonts and it works fine.

Actually I'm just starting to experiment on the following process :
I receive data from an application which generates an XML file from Excel
and Word data.
XML nodes which are created to represent Word data have an attribute wich
refers to a CSS stylesheet, and childs (representing paragraphs with
html-like tags) may have "style" attributes that contains info on fonts or
other style stuff.
This is fine to generate html that "looks like" the original Word data with
an xsl stylesheet that link to the CSS.
But with fop I don't know how to refer either to the CSS stylesheet nor to
take into account the other style attributes ... which, in the real world,
will sometimes contain wingding font !

Any hint is welcome, in case you feel this has to deal with the fop issues
...

Thanks anyway
Florence

----- Original Message -----
From: "Oleg Tkachenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 12:19 PM
Subject: Re: error while generating a font metric file


> Florence Deforge wrote:
>
> > I'm trying to add wingding font to fop and face a problem. I'm afraid I
> > have not fully understood how it is supposed to work, anyway maybe
> > someone will help.
> > So I read the doc on xml.apache.org/fop/fonts.html and wrote the
> > following command line to generate the font metrics :
> >
> > java -cp
> >
build\fop.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\xalan-2.3.1.jar;
lib\batik.jar
> >
> > org.apache.fop.fonts.apps.TTFReader c:\winnt\fonts\wingding.ttf
> > ttfwingding.xml
> >
> > The response is :
> > TTF Reader v1.1.1
> >
> > Reading c:\winnt\fonts\wingding.ttf...
> >
> > Number of glyphs in font: 226
> > Unicode cmap table not present
>
> wingding is not really unicode font, see archive for more
> info:http://marc.theaimsgroup.com/?l=fop-dev&m=100653574622185&w=2.
> Look for unicode version of the font or try another one (what about
webdongs?).
>
> --
> Oleg Tkachenko
> eXperanto team
> Multiconn Technologies, Israel
>
>

Reply via email to