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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: [docbook] Converting an xml file with xsltproc/fop

On 09/22/2011 08:51 PM, Lars Bjørndal wrote:
I've now upgraded fop to version 1.0. I have the following source:


I use the following command to create the fo file:

'xsltproc --output t.fo --stringparam double.side 1\
  --stringparam fop1.extensions 1 --stringparam paper.type A4\

Then, I use fop to convert to pdf:

'fop t.fo t.pdf', and I get the following warning messages:

22.sep.2011 21:49:26 org.apache.fop.events.LoggingEventListener
WARNING: Font "Symbol,normal,700" not found. Substituting with
Wrong list!
  You need to ask on the fop list how to configure fonts.
Unlike Word, fop doesn't use system fonts?
  You need to tell it all about the fonts you have available.

    <renderer mime="application/pdf">
        <!-- provides compression using zlib flate (default is on) -->
        <font metrics-url="arial.xml" kerning="yes" embed-url="arial.ttf">
          <font-triplet name="Arial" style="normal" weight="normal"/>
          <font-triplet name="ArialMT" style="normal" weight="normal"/>
        <font metrics-url="arialb.xml" kerning="yes" embed-url="arialb.ttf">
          <font-triplet name="Arial" style="normal" weight="bold"/>
          <font-triplet name="ArialMT" style="normal" weight="bold"/>

    <renderer mime="application/postscript">
    <!-- etc. etc..... -->

see http://xmlgraphics.apache.org/fop/0.95/configuration.html#pdf-renderer


regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

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