This copyright is in a bibliography, right? The template for processing
copyright in mode="bibliography.mode" calls the template named "dingbat" in
fo/fo.xsl to generate the copyright symbol. That template uses the param
'dingbat.font.family', which by default is set to 'serif'. If you changed
that to 'ZapfDingbats', which is a perfectly logical thing to do, it won't
work for copyright. You could change $dingbat.font.family to 'ZapfDingbats,
serif', and then it would fall back to the serif font.
I'll fix that template so it falls back to Symbol like the other font.family
properties do.
Bob Stayton
Sagehill Enterprises
[email protected]
--------------------------------------------------
From: "davep" <[email protected]>
Sent: Wednesday, January 30, 2013 11:38 PM
To: <[email protected]>
Subject: Re: [docbook-apps] copyright sign, 1-78 stylesheets, xsl-fo
On 30/01/13 19:51, Bob Stayton wrote:
Hi Dave,
I'm bothered that © isn't available in the default zapf in
Antennahouse,
I'm not sure I understand this comment. The Zapf Dingbats font contains
only dingbat symbols, and not any normal characters. Why would you
expect it to have copyright? That's why lists of fonts are permitted in
font-family, so it can fall back to Symbol.
Bob Stayton
Sagehill Enterprises
[email protected]
The reason I went looking for this, in the copyright markup
it seems that the default output is
<fo:inline font-family="ZapfDingbats">©</
fo.xsl template name='dingbat'
regards DaveP
--------------------------------------------------
From: "davep" <[email protected]>
Sent: Wednesday, January 30, 2013 11:01 AM
To: "Bob Stayton" <[email protected]>
Cc: <[email protected]>
Subject: Re: [docbook-apps] copyright sign, 1-78 stylesheets, xsl-fo
On 30/01/13 17:39, Bob Stayton wrote:
Hi Dave,
The copyright symbol is in the Symbol font, which is included in the
$symbol.font.family stylesheet parameter:
<xsl:param name="symbol.font.family">Symbol,ZapfDingbats</xsl:param>
which is then included in all instances of the font-family attribute in
the output through the internal param $body.fontset:
<xsl:param name="body.fontset">
<xsl:value-of select="$body.font.family"/>
<xsl:if test="$body.font.family != ''
and $symbol.font.family != ''">,</xsl:if>
<xsl:value-of select="$symbol.font.family"/>
</xsl:param>
Did you customize the $symbol.font.family parameter? If not, does your
font-family attribute on the fo:root element in your fo file include
the Symbol font?
Bob Stayton
Sagehill Enterprises
[email protected]
Eventually found
<xsl:param name="dingbat.font.family">golden</xsl:param> which resolves
the issue...
<fo:root ...
font-family="golden,Symbol,ZapfDingbats"
so something is retaining ZapfDingbats ...
Although that if statement is false, since I have set body.font.family
to 'golden'
;I'm bothered that © isn't available in the default zapf in Antenna
house,
which is called up? Not sure how the mapping of ZapfDingbats get to the
font file
<font-folder path="/usr/AHFormatterV6_64/fonts">
<font-entry file="ZapfDingbats.afm"
glyph-list="ZapfDingbats-glyphname.txt"/>
</font-folder>
regards
--------------------------------------------------
From: "davep" <[email protected]>
Sent: Wednesday, January 30, 2013 2:30 AM
To: <[email protected]>
Subject: [docbook-apps] copyright sign, 1-78 stylesheets, xsl-fo
I'm getting a character glyph missing exception with AH processor.
<xsl:template match="d:copyright" mode="titlepage.mode">
I think this is the source? The AH font file ZapfDingbats.afm would
appear
not to contain the copyright sign, uA9.
I have fonts with it in.
Other than modifying this template, is there anyway of changing this
(seemingly singular)
use of the font selected please?
TIA DaveP
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]