Actually, that dingbat template is also used for copyright elsewhere, so
that needs to get fixed.
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net--------------------------------------------------
From: "Bob Stayton" <
bobs@sagehill.net>
Sent: Thursday, January 31, 2013 10:18 AM
To: "davep" <
davep@dpawson.co.uk>; <
docbook-apps@lists.oasis-open.org>
Subject: Re: [docbook-apps] copyright sign, 1-78 stylesheets, xsl-fo
> 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
>
bobs@sagehill.net>
> --------------------------------------------------
> From: "davep" <
davep@dpawson.co.uk>
> Sent: Wednesday, January 30, 2013 11:38 PM
> To: <
docbook-apps@lists.oasis-open.org>
> 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
>>>
bobs@sagehill.net>>
>> 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" <
davep@dpawson.co.uk>
>>> Sent: Wednesday, January 30, 2013 11:01 AM
>>> To: "Bob Stayton" <
bobs@sagehill.net>
>>> Cc: <
docbook-apps@lists.oasis-open.org>
>>> 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
>>>>>
bobs@sagehill.net>>>>
>>>> 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
>>>>
>>>>
>>>>
>>>> regards
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> --------------------------------------------------
>>>>> From: "davep" <
davep@dpawson.co.uk>
>>>>> Sent: Wednesday, January 30, 2013 2:30 AM
>>>>> To: <
docbook-apps@lists.oasis-open.org>
>>>>> 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:
docbook-apps-unsubscribe@lists.oasis-open.org>>>>>> For additional commands, e-mail:
>>>>>>
docbook-apps-help@lists.oasis-open.org>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org>>>> For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org>>> For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org>> For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org> For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org>
>
>