xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Fop 0.91beta and fonts
Date Wed, 15 Feb 2006 12:23:23 GMT
Your font configuration is taken a little out of the context so it's
impossible to tell whether you did everything right in the config file.
Anyway, you're using TrueType fonts and these have to be embedded to
work. So, "embed-url" on the "font" elements is definitely missing.

On 15.02.2006 12:34:59 jologa wrote:
> Hi,
> 
> I have a small problem with fonts. My FO contains the following
> 
> <fo:block text-align="left" space-after.optimum="3pt" line-height="18pt" font-style="normal"
background-color="#FFFFFF" color="#000000" font-weight="normal" text-decoration="none" font-family="Arial"
font-size="14pt" id="N100A4">
>       1. My Paragraph 
> </fo:block>
> 
> 
> and when I render it to get a PDF outout I get
> 
> "Font 'Arial,normal,400' not found. Substituting with default font"
> 
> Here is what I have in fop.xconf for the fonts section. Has it something to do with the
URL of the fonts ? ( I do not want thte fonts embedded)
> 
> Thanks for any help.
> José
> 
> <fonts>
>  <font metrics-url="arial.xml" kerning="yes">
>     <font-triplet name="Arial" style="normal" weight="normal"/>
>     <font-triplet name="ArialMT" style="normal" weight="normal"/>
>  </font>
> 
>  <font metrics-url="arialb.xml" kerning="yes">
>     <font-triplet name="Arial" style="normal" weight="bold"/>
>     <font-triplet name="ArialMT" style="normal" weight="bold"/>
>  </font>
>  <font metrics-url="ariali.xml" kerning="yes">
>     <font-triplet name="Arial" style="italic" weight="normal"/>
>     <font-triplet name="ArialMT" style="italic" weight="normal"/>
>  </font>
>  <font metrics-url="arialbi.xml" kerning="yes">
>     <font-triplet name="Arial" style="italic" weight="bold"/>
>     <font-triplet name="ArialMT" style="italic" weight="bold"/>
>  </font>
>  
>  <font metrics-url="msgothic.xml" kerning="yes">
>     <font-triplet name="Gothic" style="normal" weight="normal"/>
>     <font-triplet name="Gothic" style="normal" weight="bold"/>
>     <font-triplet name="Gothic" style="italic" weight="normal"/>
>     <font-triplet name="Gothic" style="italic" weight="bold"/>
>  </font>
>  <font metrics-url="msmincho.xml" kerning="yes">
>     <font-triplet name="Mincho" style="normal" weight="normal"/>
>     <font-triplet name="Mincho" style="normal" weight="bold"/>
>     <font-triplet name="Mincho" style="italic" weight="normal"/>
>     <font-triplet name="Mincho" style="italic" weight="bold"/>
>    </font>
> 
>       </fonts>


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message