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

--- Comment #8 from V Stuart Foote <vstuart.fo...@utsa.edu> ---
(In reply to Cor Nouws from comment #7)
> I refer to the style Text body.
> distance now is 120%, space below 0.25 cm
> My question is if 108% distance and 0.20 cm would be OK.

OK, I see now. Seems there is a distinction to be made between Default style,
which uses the font defined Single line metric, and Text Body style which
currently sets the proportional value--apparently incorrectly, i.e. too large.

I had wondered why we use Default so much more than Text Body--but if you think
of the amount of floating point calculations that have to be applied to render
fonts proportionally it is much better for performance if we use the font
metrics provided as Single line spacing. Nothing to be recalculated. I don't
know if that is intentional given an apparent preference for Default style.

But, what I'd think makes more sense would be to redefine Text Body style more
simply. And to use the Single line spacing--as the Default style does--and to
not set Text Body style to use Proportional spacing at all.  

As to space below, believe there is a .25cm <--> .10in conversion in play for
the space below setting when toggling between metric and inch based formats. 
But I believe those values are squishy. Either "spacing" gets recalculated in
twips, i.e. 1/20pt * 72pt/in  or nominal GUI units of 1/1,440 in. Values are
then converted to mm ( convertTwipToMM100 ) when working in metric in the
document shell. 

IIUC the Text Body spacing below of .10in is 144 twips, but for metric the
.25cm ~= 141.73, gets rounded to 142 twips--so can have weird impact on the
document canvas depending on location/page layout.

Believe that while modifying the Text Body style, the Spacing below paragraph
for the style would do well at .127cm / .05in / 72 twips, which in metric
rounds to 0.13 cm or ~= 74 twips. It looks good, and should have low impact on
performance if folks start using Text Body style.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to