Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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).

Regards,
 Khaled

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.