[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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">✓</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 ✓ for a check mark (✓ isn't working). After > transforming to FO I replace it by <fo:inline > font-family="ZapfDingbats">✓</fo:inline>. > > This is ok for me - I just wanted to ask if there is a better way of doing > this. > > Best regards, > Bjoern > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]