Line height depending on characters in that line

Khaled Hosny khaledhosny at
Tue Nov 20 12:48:21 PST 2012

On Tue, Nov 20, 2012 at 05:57:12PM +0100, Lubos Lunak wrote:
>  Hello,
>  I'd need a little help from somebody who knows how exactly line height is 
> computed.
>  Specifically, create a new document, create a bullet list (2-3 items), and 
> change it from bullets to 1. style (RMB->Bullets and numbering...->Numbering 
> type -> any of those). Doing this (visible when repeatedly hitting Ctrl+Z and 
> Ctrl+Y) noticeably changes the height of all the lines. With MSWord there 
> isn't such a big difference, leading to different formatting on .docx import 
> in a specific bugreport I have.
>  I have checked that this change is triggered by the bullet character being or 
> not being present in the actual string representation of the line, so I 
> assume that the bullet character from the OpenSymbol font is somehow higher 
> than the rest, or that the font itself specifies this height. But I have no 
> idea how this stuff works. What would be the proper way of fixing this?

If you are on Linux, try setting env variable SAL_USE_NEW_LINEHEIGHT and
see if it makes any difference (probably not, either case pullets
shouldn't affect line height, but this is done in VCL which might be too
late to distinguish content from non-content text).


More information about the LibreOffice mailing list