Le 04/01/2019 à 19:23, Enrico Forestieri a écrit :
On Thu, Jan 03, 2019 at 05:05:54PM +0100, Jean-Marc Lasgouttes wrote:
This is a spin-off of ticket 11284
https://www.lyx.org/trac/ticket/11284
The patch below tries to compute inter row space in the right way.
The commit log describes the issue and possible solutions. I do not think
that the result is satisfying, but I am not sure what the right algorithm
is.
Please, don't make too close the text lines. A larger spacing allows to
accomodate insets without the need of adjusting the height between lines,
avoiding a nonuniform spacing that looks bad.
Don't worry, I will make it larger. My question right now is to
understand what the font designers want me to do and why they provide la
leading() value. Possibilities could be:
* ignore leading of font and add 15 or 02% of total height
* add leading and then 15 or 02% of total height
* use 15 or 20% of total height as leading when it is 0.
JMarc