docbook-apps

  • 1.  Font for the info part different than for the rest and the colophon

    Posted 01-29-2019 13:01
    Hi,

    I could nail down hopefully the last problem I have:

    in the Info part of my book there is

    <copyright>
                <year>2019</year>
                <holder>Bernhard Kleine</holder>
            </copyright>

    This gives in the final pdf

    In the colophon I have written

    <para>Copyright © 2019 Bernhard Kleine, Lenzkirch</para>

    which transforms to

    Note that the copyright symbols are from different fonts, the latter is
    from the Alegreya font used throughout the book. I want to have the
    first copyright symbol in the same font. How can that be achieved with
    docbook (and oxygen)?

    Kind regards

    Bernhard

    --
    spitzhalde9
    D-79853 lenzkirch
    bernhard.kleine@gmx.net
    www.b-kleine.com, www.urseetal.net
    -
    thunderbird mit enigmail
    GPG schlüssel: D5257409
    fingerprint:
    08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09




  • 2.  Re: Font for the info part different than for the rest and the colophon

    Posted 01-29-2019 13:46
    The culprit is in the fo visible:

    <fo:block font-size="10pt">Copyright <fo:inline></fo:inline>
    font-family="serif,Alegreya, Symbol,ZapfDingbats">© 2019
    Bernhard Kleine</fo:block>

    the serif in front of Alegreya.

    Am 29.01.2019 um 14:01 schrieb Bernhard Kleine:
    >
    > Hi,
    >
    > I could nail down hopefully the last problem I have:
    >
    > in the Info part of my book there is
    >
    > <copyright>
    >             <year>2019</year>
    >             <holder>Bernhard Kleine</holder>
    >         </copyright>
    >
    > This gives in the final pdf
    >
    > In the colophon I have written
    >
    > <para>Copyright © 2019 Bernhard Kleine, Lenzkirch</para>
    >
    > which transforms to
    >
    > Note that the copyright symbols are from different fonts, the latter
    > is from the Alegreya font used throughout the book. I want to have the
    > first copyright symbol in the same font. How can that be achieved with
    > docbook (and oxygen)?
    >
    > Kind regards
    >
    > Bernhard
    >
    > --
    > spitzhalde9
    > D-79853 lenzkirch
    > bernhard.kleine@gmx.net
    > www.b-kleine.com, www.urseetal.net
    > -
    > thunderbird mit enigmail
    > GPG schlüssel: D5257409
    > fingerprint:
    > 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

    --
    spitzhalde9
    D-79853 lenzkirch
    bernhard.kleine@gmx.net
    www.b-kleine.com, www.urseetal.net
    -
    thunderbird mit enigmail
    GPG schlüssel: D5257409
    fingerprint:
    08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09




  • 3.  Re: [docbook-apps] Re: Font for the info part different than for the rest and the colophon

    Posted 01-29-2019 16:23
    The generated copyright symbol uses a template named 'dingbat' in
    fo/fo.xsl.  It sets the font-family to the $dingbat.fontset which is
    defined in fo/pagesetup.xsl.  That fontset  starts with the font named
    in $dingbat.font.family which is defined in param.xsl.  Reset that param
    to blank to fix it.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net

    On 1/29/2019 5:46 AM, Bernhard Kleine wrote:
    >
    > The culprit is in the fo visible:
    >
    > <fo:block font-size="10pt">Copyright <fo:inline></fo:inline>
    > font-family="serif,Alegreya, Symbol,ZapfDingbats">© 2019
    > Bernhard Kleine</fo:block>
    >
    > the serif in front of Alegreya.
    >
    > Am 29.01.2019 um 14:01 schrieb Bernhard Kleine:
    >>
    >> Hi,
    >>
    >> I could nail down hopefully the last problem I have:
    >>
    >> in the Info part of my book there is
    >>
    >> <copyright>
    >>             <year>2019</year>
    >>             <holder>Bernhard Kleine</holder>
    >>         </copyright>
    >>
    >> This gives in the final pdf
    >>
    >> In the colophon I have written
    >>
    >> <para>Copyright © 2019 Bernhard Kleine, Lenzkirch</para>
    >>
    >> which transforms to
    >>
    >> Note that the copyright symbols are from different fonts, the latter
    >> is from the Alegreya font used throughout the book. I want to have
    >> the first copyright symbol in the same font. How can that be achieved
    >> with docbook (and oxygen)?
    >>
    >> Kind regards
    >>
    >> Bernhard
    >>
    >> --
    >> spitzhalde9
    >> D-79853 lenzkirch
    >> bernhard.kleine@gmx.net
    >> www.b-kleine.com,www.urseetal.net
    >> -
    >> thunderbird mit enigmail
    >> GPG schlüssel: D5257409
    >> fingerprint:
    >> 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
    > --
    > spitzhalde9
    > D-79853 lenzkirch
    > bernhard.kleine@gmx.net
    > www.b-kleine.com,www.urseetal.net
    > -
    > thunderbird mit enigmail
    > GPG schlüssel: D5257409
    > fingerprint:
    > 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09



  • 4.  Re: [docbook-apps] Re: Font for the info part different than for the rest and the colophon

    Posted 01-29-2019 22:49
    On Jan 29, 2019, at 9:23 AM, Bob Stayton <bobs@sagehill.net> wrote:
    >
    > The generated copyright symbol uses a template named 'dingbat' in fo/fo.xsl. It sets the font-family to the $dingbat.fontset which is defined in fo/pagesetup.xsl.

    I remember a time when such hacks were common and reasonable, but is it not now past time where we can safely assume reasonable code point coverage in fonts?

    I get that there are poor-quality fonts or those that were designed back in the 8-bit character days, but do you want to be using those in DocBook applications, anyway?

    And if it is not yet time to pull all those hacks out, then when?