OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Re: fop: WARNING: Cannot Find a Base-14 Font (docbookbug?)

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:
        <!-- 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  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans.ttf">
            <font-triplet name="Times New Roman" style="normal" weight="normal"/>
     &n bsp;    </font>
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans-Bold.ttf">
            <font-triplet name="DejaVuSans" style="normal" weight="bold"/>
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans-BoldOblique.ttf">
            <font-triplet name="DejaVuSans" style="italic" weight="bold"/>
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans-Oblique.ttf">
            <font-triple t name="DejaVuSans" style="italic" weight="normal"/>
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSans-ExtraLight.ttf">
            <font-triplet name="DejaVuSans" style="normal" weight="200"/>
          <!-- MONO Spaced Font -->
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSansMono.ttf">
            <font-triplet name="DejaVuSansMono" style="normal" weight="normal"/>
          </font&g t;
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSansMono-Oblique.ttf">
            <font-triplet name="DejaVuSansMono" style="italic" weight="normal"/>
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSansMono-BoldOblique.ttf">
            <font-triplet name="DejaVuSansMono" style="italic" weight="bold"/>
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSansMono-Bold.ttf">
            <font-triplet name="Deja VuSansMono" style="normal" weight="bold"/>
          <!-- SERIF Font -->
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSerif.ttf">
            <font-triplet name="DejaVuSerif" style="normal" weight="normal"/>
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSerif-Bold.ttf">
            <font-triplet name="DejaVuSerif" style="normal" weight="bold"/>
           <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSerif-BoldItalic.ttf">
            <font-triplet name="DejaVuSerif" style="italic" weight="bold"/>
          <font  embed-url="../../doctools/dejavu-fonts-ttf/ttf/DejaVuSerif-Italic.ttf">
            <font-triplet name="DejaVuSerif" style="italic" weight="normal"/>
          <!-- register all the fonts found in a 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/> -->
In addition, I have some XSL code that allows markup like   <emphasis role="bold"> when I what to specifically bold an item.
Dean Nelson
In a message dated 06/28/10 08:01:28 Pacific Daylight Time, tom.browder@gmail.com writes:
On Mon, Jun 28, 2010 at 09:29, Bela Hausmann <post@belahausmann.name> 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

Thanks, Bela.


Thomas M. Browder, Jr.
Niceville, Florida

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]