Re: Strange error with the first word in figure and table titles

Bernhard Kleine <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <[email protected]>
Thanks Luca for the insight, changing the glyph in the customization
layer has done it.

Gratefully Bernhard

Am 21.11.2018 um 20:39 schrieb Luca Bellonda:
> Hello, between the words Tabelle and Spanner there is an unicode
> spacing (see attached screenshot). I guess that FOP looks for a font
> that contains the character, finding it in Times as second choice,
> using it for the whole word; the next word returns to the default font.
> If so, it is not a bug, but the expected behavior, I think.
> Loot at https://xmlgraphics.apache.org/fop/2.0/fonts.html  -> Font
> Selection Strategies
>
> Try using a regular space or a non breaking space.
>
> Best regards.
>
> Il giorno mer 21 nov 2018 alle ore 15:33 Bernhard Kleine
> <[email protected] <mailto:[email protected]>> ha scritto:
>
>     any idea?
>
>     Am 21.11.2018 um 13:12 schrieb Bernhard Kleine:
>>
>>     I hope this fragment shows enough. There seems to be no reason
>>     that "Tabelle Spanner im Visier des Fotografen" should not be in
>>     Alegreya, however as you see in the pdf "Spanner" is in Times
>>     Roman. If you need also the customization layer I could provide it.
>>
>>     Bernhard
>>
>>     <fo:block id="d0e9"><fo:block><fo:block><fo:block
>>     keep-together.within-column="always" margin-left="0pt"
>>     font-family="Alegreya, Tahoma, Batang,
>>     sans-serif,Symbol,ZapfDingbats"><fo:block
>>     keep-with-next.within-column="always"><fo:block
>>     font-family="Alegreya, Tahoma, Batang,
>>     sans-serif,Symbol,ZapfDingbats" font-weight="bold"
>>     keep-with-next.within-column="always"
>>     space-before.minimum="0.8em" space-before.optimum="1.0em"
>>     space-before.maximum="1.2em" text-align="start"
>>     start-indent="0pt"><fo:marker
>>     marker-class-name="section.head.marker">Allgemeine Bemerkungen
>>     </fo:marker><fo:block font-size="26.956799999999998pt">Allgemeine
>>     Bemerkungen
>>     </fo:block></fo:block></fo:block></fo:block></fo:block></fo:block><fo:block
>>     space-before.optimum="1em" space-before.minimum="0.8em"
>>     space-before.maximum="1.2em">Der deutsche Name dieser Falterfamilie
>>                 <fo:block space-before.minimum="0.5em"
>>     space-before.optimum="1em" space-before.maximum="2em"
>>     space-after.minimum="0.5em" space-after.optimum="1em"
>>     space-after.maximum="2em" keep-together.within-column="auto"
>>     id="d0e14"><fo:block space-before.optimum="1em"
>>     space-before.minimum="0.8em" space-before.maximum="1.2em"
>>     font-weight="bold" font-size="15.6pt" hyphenate="false"
>>     space-after.minimum="0.4em" space-after.optimum="0.6em"
>>     space-after.maximum="0.8em"
>>     keep-with-next.within-column="always">Tabelle Spanner im Visier
>>     des Fotografen.</fo:block><fo:table
>>     border-before-width.conditionality="retain"
>>     border-collapse="collapse" border-start-style="none"
>>     border-end-style="none" border-top-style="none"
>>     border-bottom-style="none" table-layout="fixed"
>>     width="100%"><fo:table-column column-number="1"
>>     column-width="proportional-column-width(1.00)"/><fo:table-column
>>     column-number="2"
>>     column-width="proportional-column-width(1.00)"/><fo:table-header
>>     start-indent="0pt" end-indent="0pt"><fo:table-row
>>     keep-with-next.within-column="always"><fo:table-cell
>>     padding-start="2pt" padding-end="2pt" padding-top="2pt"
>>     padding-bottom="2pt" text-align="center"><fo:block
>>     font-weight="bold">Unterfamilie</fo:block></fo:table-cell><fo:table-cell
>>     padding-start="2pt" padding-end="2pt" padding-top="2pt"
>>     padding-bottom="2pt" text-align="center"><fo:block
>>     font-weight="bold">in Baden-Württemberg
>>     </fo:block></fo:table-cell></fo:table-row></fo:table-header><fo:table-body
>>     start-indent="0pt" end-indent="0pt"><fo:table-row><fo:table-cell
>>     padding-start="2pt" padding-end="2pt" padding-top="2pt"
>>     padding-bottom="2pt"
>>     text-align="left"><fo:block>Archiearinae</fo:block></fo:table-cell><fo:table-cell
>>     padding-start="2pt" padding-end="2pt" padding-top="2pt"
>>     padding-bottom="2pt"
>>     text-align="right"><fo:block>2</fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></fo:block></fo:block>
>>
>>     Am 21.11.2018 um 12:23 schrieb Matthias Reischenbacher:
>>>
>>>     Hi Bernhard,
>>>
>>>     you'll have to provide a XSL-FO fragment, so that we can help
>>>     you. Probably you'll see what the problem is, as soon as you
>>>     examine it yourself. Unfortunately I don't know, how the XSL-FO
>>>     fragment can be dumped with Oxygen before it is converted to PDF.
>>>
>>>     Best regards,
>>>
>>>     Matthias
>>>
>>>
>>>     On 21.11.2018 05:07, Bernhard Kleine wrote:
>>>>
>>>>     Hi, (my first contribution)
>>>>
>>>>     using docbook 5.1 with oxygen 20.1  for a book I happened to
>>>>     meet a strange error. The font for the entire work is Alagreya,
>>>>     however, the first word of figure and table captions are in
>>>>     Times Roman. As Bob Stayton confirmed, there is not any
>>>>     mentioning of Times Roman in the xml I wrote, nor in the
>>>>     customization I adapted. It is only this first word. Bob thinks
>>>>     this is an error with FOP. Where do I report such errors?
>>>>
>>>>     Thanks for reading.
>>>>
>>>>     Greetings from the Black Forest
>>>>
>>>>     Bernhard
>>>>
>>>>     -- 
>>>>     spitzhalde9
>>>>     D-79853 lenzkirch
>>>>     [email protected] <mailto:[email protected]>
>>>>     www.b-kleine.com <http://www.b-kleine.com>, www.urseetal.net <http://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
>>     [email protected] <mailto:[email protected]>
>>     www.b-kleine.com <http://www.b-kleine.com>, www.urseetal.net <http://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
>     [email protected] <mailto:[email protected]>
>     www.b-kleine.com <http://www.b-kleine.com>, www.urseetal.net <http://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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

-- 
spitzhalde9
D-79853 lenzkirch
[email protected]
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEI0BAafaAN33JqgXb0KhbIOwMGQ8FAlv2eqEACgkQ0KhbIOwM
GQ9QPRAAn1BfJjUbCwcxWaQ5QCtDwhEroxxuohZM5rm+e/abkutPd17c/VdfZ/Zr
4/j+GD27aJdyIadcQ8oeD/kUvusR05fRh/0wVB5TZwdDe3lrpAmiSNpdhNdlspmu
Ek0zH8a/syOgvIaHNWl5ihzNoj//4xnd/Xca0AB2k12GUMcDM2GCaWiMywBOVf03
X3kI40BmfWzBHtJXqf4pp8nE+IcKTBwsLO0RNC3CMsv9G0Ydj0pQv7JN8kdvCIqr
GDBo/yeJKmIqoVyaAlGspXOwtOXF1gWD7mUa4+HqvJ0w0rtD2bB7rjo5EdHt18ED
fdOUJd3yWG0m/CdcU/tWPcBaiLbyR2dQD7ro15bxlXIssdcMmmn9AYhV9HWXmytm
Ftm2H4OroCaVM3CwtJ1kPjtSHGhdsS9CpAq8osHjhC1YGin6KcJBakywZTyw3HW2
gBR1rnCP686SavinxdeHdleqc3Ea9KbG+63orpHPyS+nU/AXHXJBbQGdtVeR/15h
83KnDpauCig5xcblovZ3DTkxRmSxWXRelDkJCOiY4bRzH1H2j4IRpzLksANKPH4h
gvIDzLYXfZLUZjEGflte+NHjq8nroU/w716eeiVeHKY+dJonaRYAaT4kVH5Kmuhi
vWMnGc03B+bDspMrT2Gij3KEGo7//UnwWqIEIinjDXU3+EIZqMk=
=Ol6B
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.