Tom
Have you configured FOP to handle the fonts that you want?
I try not to have FOP search for fonts - it takes too long and you really can't
control what it finds. Instead, I specify the fonts specifically.
Here is a snippet from my FOP config file:
<fonts>
<!-- register a particular font -->
<!-- SANS Font -->
<font embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans.ttf">
<font-triplet name="DejaVuSans" style="normal" weight="normal"/>
</font>
<font embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans.ttf">
<font-triplet name="Times New Roman" style="normal"
weight="normal"/>
</font>
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans-Bold.ttf">
<font-triplet name="DejaVuSans" style="normal" weight="bold"/>
</font>
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans-BoldOblique.ttf">
<font-triplet name="DejaVuSans" style="italic" weight="bold"/>
</font>
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans-Oblique.ttf">
<font-triplet name="DejaVuSans" style="italic" weight="normal"/>
</font>
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans-ExtraLight.ttf">
<font-triplet name="DejaVuSans" style="normal" weight="200"/>
</font>
<!-- MONO Spaced Font -->
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSansMono.ttf">
<font-triplet name="DejaVuSansMono" style="normal" weight="normal"/>
</font>
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSansMono-Oblique.ttf">
<font-triplet name="DejaVuSansMono" style="italic" weight="normal"/>
</font>
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSansMono-BoldOblique.ttf">
<font-triplet name="DejaVuSansMono" style="italic" weight="bold"/>
</font>
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSansMono-Bold.ttf">
<font-triplet name="DejaVuSansMono" style="normal" weight="bold"/>
</font>
<!-- SERIF Font -->
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSerif.ttf">
<font-triplet name="DejaVuSerif" style="normal" weight="normal"/>
</font>
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSerif-Bold.ttf">
<font-triplet name="DejaVuSerif" style="normal" weight="bold"/>
</font>
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSerif-BoldItalic.ttf">
<font-triplet name="DejaVuSerif" style="italic" weight="bold"/>
</font>
<font
embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSerif-Italic.ttf">
<font-triplet name="DejaVuSerif" style="italic" weight="normal"/>
</font>
<!-- register all the fonts found in a directory -->
<directory>../../doctools/dejavu-fonts-ttf/ttf</directory>
<!-- register all the fonts found in a directory
and all of its sub directories (use with care)
<directory recursive="true">C:\MyFonts2</directory>-->
<!-- automatically detect operating system installed fonts -->
<!-- <auto-detect/> -->
</fonts>
--------------------------------------
In addition, I have some XSL code that allows markup like <emphasis
role="bold"> when I what to specifically bold an item.
HTH
Dean Nelson
In a message dated 06/28/10 08:01:28 Pacific Daylight Time,
[email protected] writes:
On Mon, Jun 28, 2010 at 09:29, Bela Hausmann <[email protected]> wrote:
...
>> Isn't it a vector font so that any size can be produced?
...
> No. Bold versions of a font aren’t automatically produced out of the normal
Maybe my bug reference was misleading. The need for bold may be
happening behind the scenes in fop, but the warning doesn't say
anything about needing a bold font, so maybe this is an fop bug after
all?
Thanks, Bela.
-Tom
Thomas M. Browder, Jr.
Niceville, Florida
USA
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]