Hi,
Concerning my font problem (using jdk1.5 and fop trunk but I think it's the 
same problem using 0.91beta):

My error message : 
Font 'Arial,normal,400' not found. Substituting with default font.

Here is a part of what I have in fop.xconf for the fonts section :

<fonts>
        <!--ARIAL NORMAL NORMAL-->
        <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf">
                <font-triplet name="Arial" style="normal" weight="normal"/>
                <font-triplet name="ArialMT" style="normal" weight="normal"/>
        </font>

Here is a part of my fo file :

<fo:block font-weight="normal" font-family="Arial" font-size="22pt" 
text-align="center">Προεπιλεγμένη Διαμόρφωση Σταθμών</fo:block>

I don't know if that can help you.

Thanks in advance.

For information, what has changed from version 0.20.5 and 0.91beta on 
configuration format ?

ben


-----Message d'origine-----
De : Chris Bowditch [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 27 mars 2006 17:22
À : [email protected]
Objet : Re: Unicode or font problem using Fop Trunk

Benoit THIERRY wrote:

> Hi,
> I am trying to generate a pdf file from a 'fo file' which content is in
> Greek.
> 
> This file was working using version 0.20.5 but is not working anymore.

So I guess you are using 0.91beta then?

> 
> Indeed, the greek characters are replaced by a "#" character except for
> the bookmarks which are displayed correctly.
> 
> Any advice or tip will be welcome ...

In order to help you we really need to see some snippets of your XSL-FO, 
and your font configuration in the fop.xconf file.

How did you generate the font metrics from TTF file or PFM? Which 
renderer are using? I might be that you need to use -enc ansi option 
when you generate the font metrics.

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to