Impress linespacing change

AlicVB dev at
Tue Oct 16 20:51:28 UTC 2018


I want to raise a discussion about the percent linespacing in impress.
The calculation has change starting from v5.4 and this commit :
(see also and

I don't think this patch is the good solution for the following reasons :

1- The new font ascent is arbitrary set to 80% of the new height, 
independently of the ascent/descent ratio of the font
2- changing maxascent and height values for the first line of a 
paragraph means that linespacing change will modify the space between 
the modified paragraph and the previous one.
3- there's a problem if you you use a font with "big" descent value (see 
bug 120525)
4- it mess up all my documents created with before v5.4 ;)

Here's my proposal :

- if we care about 2, we should revert the commit and go back with the 
previous calculation (but we'll still have the problem mentioned in bug 
114628, except if there's a solution to differentiate between first line 
of paragraph and first line of a textarea)
- else, we should decide if we want to keep 1 or respect the 
ascent-descent ratio
- in that case point 3 shouldn't be to difficult to solve

I'd like to have your opinion about this before going further.

Thanks in advance


(this is my first post here, so please apologize if this message is 
inappropriate or if there's better ways to expose the problem)

More information about the LibreOffice mailing list