This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Using ZapfDingbats


You are running into a limitation of FOP.  The stylesheets actually specify
a list of fonts that includes the Symbol font and Zapf Dingbats.  But FOP
doesn't yet support a list of fonts for resolving characters.

One reason entities like ✓ don't work is that the DTD is not resolved
during processing.  Can you validate your document?

But that won't solve the problem of FOP not using the font list.  You could
use a kludge in the document and stylesheet:

In your file:

<symbol role="ZapfDingbats">&check;</symbol>

In your customization:

<xsl:template match="symbol[@role = 'ZapfDingbats']">
  <fo:inline font-family="ZapfDingbats">
    <xsl:apply-templates/>
  </fo:inline>
</xsl:template>

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Pool 475-1 FRD TE-N" <Pool475-1.FRDTE-N@zf.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, September 03, 2004 1:13 AM
Subject: [docbook-apps] Using ZapfDingbats


> Hi list,
>
> currently I'm using &#x2713; for a check mark (&check; isn't working).
After
> transforming to FO I replace it by <fo:inline
> font-family="ZapfDingbats">&#x2713;</fo:inline>.
>
> This is ok for me - I just wanted to ask if there is a better way of doing
> this.
>
> Best regards,
> Bjoern
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]