This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
[docbook] The trouble with Verdana and FO
- From: "scott" <scott dot speights at o3sis dot com>
- To: <docbook at lists dot oasis-open dot org>
- Date: Tue, 1 Feb 2005 13:34:01 +0100
- Subject: [docbook] The trouble with Verdana and FO
Hello All,
I've just begun to use Docbook to create documentation and have
experienced some difficulty getting FOP to render bold and italic
versions of Verdana.
Based on the suggestions in Bob Stayton's book: I created .xml files
from the Windows font files, created a configuration file, set the font
name in the .xsl custom. layer and added the -c <ConfigFileName> in the
command line when performing the transformation.
PDF rendering works fine for Garamond, but when I run the FOP batch file
the document is rendered in normal Verdana without rendering the Italic
and Bold versions of this font.
Like I said, I'm using FOP and the following configuration file to try
and use Verdana in my documents:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<fonts>
<font metrics-file="file:///d:/lib/V.xml" kerning="yes"
embed-file="file://c:/WINDOWS/FONTS/verdana.TTF">
<font-triplet name="Verdana" style="normal" weight="normal"/>
</font>
<font metrics-file="file:///d:/lib/VB.xml" kerning="yes"
embed-file="file://c:/WINDOWS/FONTS/verdanab.TTF">
<font-triplet name="Verdana" style="normal" weight="bold"/>
</font>
<font metrics-file="file:///d:/lib/VI.xml" kerning="yes"
embed-file="file://c:/WINDOWS/FONTS/verdanai.TTF">
<font-triplet name="Verdana" style="italic" weight="normal"/>
</font>
</fonts>
</configuration>
It would be really appreciated if I could get some suggestions on how to
go about solving this problem
(e.g. if there any known issues with this particular font with Docbook
or with FOP?)
Thanks,
Scott Speights
Scott.speights@o3sis.com