[xep-support] Still different line-heights

From: Kirch Fritz <Friedrich.Kirch_at_ADDRESS_REMOVED>
Date: Mon Dec 18 2017 - 00:55:48 PST

Hi Kevin,

following your instructions (from below) to avoid different line-heights, I still failed.
I still have different line-heights. See my example files (fo-file, xep-file, pdf-file)
My overall goal is to put special characters into my text-flow without influencing the line height.
Would you please be so kind and help me again.

Fritz Kirch
IT2media GmH & Co KG

Von: Kevin Brown [mailto:kevin@renderx.com]
Gesendet: Donnerstag, 27. Juli 2017 19:59
An: Kirch Fritz <Friedrich.Kirch@it2media.de>; support@renderx.com; 'RenderX Community Support List' <xep-support@renderx.com>
Betreff: RE: Different line-heights

I believe the specification says … setting line-height on a block containing other things sets the *minimal* line-height for all the contained blocks/inlines. *Minimal* does not mean that you are setting the *exact* line height. When you set it to a multiplier (number or likely percentage) then it is like not setting it and it is calculating the line height for all the blocks inside which gives you your expected (exact) result.

The spec also says setting line-height on inline level elements (like your fo:inline) sets the exact line-height for the item.
Moving your line-height="3.1mm" to all the included fo:inline’s from the parent block and the results show all the same line-height for each one.

If the line-height property is set on a block-level element, it specifies the minimal height of each generated inline box.
If the line-height property is set on an inline-level element, it specifies the exact height of each box generated by the element.

Kevin Brown

From: Kirch Fritz [mailto:Friedrich.Kirch@it2media.de]
Sent: Thursday, July 27, 2017 6:44 AM
To: support@renderx.com<mailto:support@renderx.com>; RenderX Community Support List <xep-support@renderx.com<mailto:xep-support@renderx.com>>
Cc: kevin@renderx.com<mailto:kevin@renderx.com>
Subject: Different line-heights

Hi RenderX Support,

In my fo-example file (see attachment) I expect all blocks to have identical line-height.
The second fo:block itself has only an additional <fo:inline>-element with a small font-size.

Can you please explain, why the second fo:block’s line-height is different in the resulting pdf?


a) If you remove the @line-height then all lines will have identical line-height

b) If you change @line-height=<length> to @line-height=<number>, then all lines will have identical line-height

c) If you set @line-height=<length>, then the second fo:block will have a different line-height.

Attached you can find my fo-file and the pdf-file

Kind regards
Fritz Kirch


Mit freundlichen Grüßen

Friedrich Kirch
PDP-CBM Content Base & Media

Tel. +49 911 30 730-0
Fax +49 911 30 730-111
IT2media GmbH & Co. KG, Pretzfelder Str. 13, 90425 Nürnberg ∙ Kommanditgesellschaft Sitz Nürnberg, HRA Nürnberg 12784 ∙ Persönlich haftende Gesellschafterin: IT2media Beteiligungsgesellschaft mbH, Sitz Nürnberg, HRB Nürnberg 19511 ∙ Geschäftsführer: Oliver Neuerbourg, Mathias Pauli

(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w

Received on Mon Dec 18 00:54:28 2017

This archive was generated by hypermail 2.1.8 : Mon Dec 18 2017 - 00:54:42 PST