xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas L. Delmelle" <a_l.delme...@pandora.be>
Subject RE: font weight & style
Date Fri, 12 Nov 2004 15:16:50 GMT
> -----Original Message-----
> From: Mark Williams [mailto:mark@skwirel.com]
>

Hi Mark,

>
> Where there are specific bold, italic and bold italic files does
> FOP need to have access to these or is it enough to convert
> the normal file and specify different font-triplets for the
> same xml file

It's the first. To get accurate results, you have to generate XML metrics
files for each of them, and the entries in the userconfig.xml should look
like (example for Verdana):

<font metrics-file="fonts\ttverdana.xml" kerning="yes"
      embed-file="verdana.ttf">
  <font-triplet name="Verdana" style="normal" weight="normal"/>
</font>
<font metrics-file="fonts\ttverdanai.xml" kerning="yes"
      embed-file="verdanai.ttf">
  <font-triplet name="Verdana" style="italic" weight="normal"/>
</font>
<font metrics-file="fonts\ttverdanab.xml" kerning="yes"
      embed-file="verdanab.ttf">
  <font-triplet name="Verdana" style="normal" weight="bold"/>
</font>
<font metrics-file="fonts\ttverdanabi.xml" kerning="yes"
      embed-file="verdanaz.ttf">
  <font-triplet name="Verdana" style="italic" weight="bold"/>
</font>

Greetz,

Andreas


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


Mime
View raw message