AntennaHouse / pdf5-ml

Antenna House PDF5-ML DITA-OT Plug-in
23 stars 9 forks source link

font-size is not properly inherited in multiple language document #78

Closed ToshihikoMakita closed 5 years ago

ToshihikoMakita commented 5 years ago

If topic/@xml:lang differ from bookmap/@xml:lang and there is ph elements under the codeblock elements. The font-size become more smaller than expected.

In this case the generated XSL-FO is something like this:

<fo:block font-family="Courier New" font-size="0.9em">
    ...
    <fo:inline font-size="0.9em">...</fo:inline
    ...
</fo:block>

The corresponding inline of ph element should not change the font-size property.