https://bugs.documentfoundation.org/show_bug.cgi?id=172113

--- Comment #5 from Justin L <[email protected]> ---
Not surprisingly, the ODT specification is rather silent on the specifics of
this - especially up to version 1.3. Version 1.4 did add the following in
relation to this topic of proportional line spacing:

-----
20.204 fo:line-height
a value of type percent: The font-size is multiplied with the percent value. In
case the line contains content of descendants of the paragraph, for which a
different font-size is specified, the maximum of the font-sizes is used. This
calculated value is a minimum line-height. If content would vertically overflow
the line area, e.g. an image with a larger specified height, the height of the
line is increased till the content does not overflow. The vertical position of
the baseline is implementation-dependent. In case a style:line- height-at-least
20.317 or a style:line-spacing 20.318 attribute occurs in addition in the same
element, the attribute fo:line-height 20.204 has precedence.
-----

So it really doesn't give any real guidance here - everything is left up to the
'implementation' and there is no 'right way' to do things.

DOCX specification is not even that clear.
example: <w:spacing w:line="276" w:lineRule="auto" />  #115% since 240 is 100%
-----
17.3.1.33 spacing (Spacing Between Lines and Above/Below Paragraph)
... and that the spacing in each line should be automatically calculated based
on a 1.15 times (276 divided by 240) the normal single spacing calculation.
-----

So DOCX only specifies how to read the proportional value, but gives no
guidance as to what it means for the document layout itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to