xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jol...@netscape.net
Subject Fop 0.91beta and fonts
Date Wed, 15 Feb 2006 11:34:59 GMT
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>



__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

---------------------------------------------------------------------
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