docbook-apps

  • 1.  fo, chapter headings corrupted

    Posted 07-07-2023 09:08
    Using xep.
    <rx:meta-field name="creator" value="DocBook XSL Stylesheets V1.79.1"/>

    chapter in fo is
    <fo:block
    font-family="ariesSCB,Symbol,ZapfDingbats">
    <fo:block margin-left="0pt">
    <fo:block font-size="12pt" font-weight="normal">
    <fo:block keep-with-next.within-column="always"
    space-before.optimum="12pt"
    space-before.minimum="12pt * 0.8"
    space-before.maximum="12pt * 1.2"
    hyphenate="false"
    text-align="start"
    start-indent="0pt"
    hyphenation-character="-"
    hyphenation-push-character-count="2"
    hyphenation-remain-character-count="2">Chapter 9. All at
    sea!</fo:block>

    All that shows in the PDF is

    9. !


    I'm tending to look at a font missing problem, except for the two
    'present' characters.

    Any other ideas please?

    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    Docbook FAQ.



  • 2.  Re: [docbook-apps] fo, chapter headings corrupted

    Posted 07-07-2023 09:21
    > font-family="ariesSCB,Symbol,ZapfDingbats">
    […]
    > All that shows in the PDF is
    >
    > 9. !
    >
    > I'm tending to look at a font missing problem, except for the two
    > 'present' characters.

    Looks like a missing font problem at first glance. If you don’t have
    “ariesSCB” then you’re only getting characters from Symbol and Zapf
    Dingbats.

    Symbol contains “9”, “.”, and “!” in the expected places[1]. I guess
    modern systems “know” what Unicode characters are in a font and you
    don’t get ? or ? for “A” because neither of those is an “A” even though
    it’s ostensibly at code point 0x41 in Symbol and Zapf Dingbats,
    respectively.

    Be seeing you,
    norm

    [1] https://en.wikipedia.org/wiki/Symbol_%28typeface%29

    --
    Norm Tovey-Walsh <ndw@nwalsh.com>
    https://norm.tovey-walsh.com/

    > Life always comes to a bad end.--Marcel Aymé



  • 3.  Re: [docbook-apps] fo, chapter headings corrupted

    Posted 07-07-2023 09:51
    On Fri, 7 Jul 2023 at 10:28, Norm Tovey-Walsh <ndw@nwalsh.com> wrote:
    >
    > > font-family="ariesSCB,Symbol,ZapfDingbats">
    > […]
    > > All that shows in the PDF is
    > >
    > > 9. !
    > >
    > > I'm tending to look at a font missing problem, except for the two
    > > 'present' characters.
    >
    > Looks like a missing font problem at first glance. If you don’t have
    > “ariesSCB” then you’re only getting characters from Symbol and Zapf
    > Dingbats.

    Quite right Norm.
    Aries - correct
    aries - incorrect.

    Thanks.

    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    Docbook FAQ.