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 < bernhard.kle...@gmx.net> 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 lenzkirchbernhard.kle...@gmx.netwww.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 lenzkirchbernhard.kle...@gmx.netwww.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 lenzkirchbernhard.kle...@gmx.netwww.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 > >
--------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org