[Libreoffice-bugs] [Bug 142317] FORMATTING: Handling of Indices

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 17 08:34:06 UTC 2021


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

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jluth at mail.com
     Ever confirmed|0                           |1
           Keywords|                            |bibisected, bisected,
                   |                            |regression
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Justin L <jluth at mail.com> ---
Used bibisect-linux-64-7.0 to confirm this started in 7.0 with
author  Justin Luth  on 2020-03-03 16:20:03 +0100
commit  2940d1905b921d9909b08b1e32014d3c44474ef0
    tdf#80194 editeng: fix auto subscript calculations

(In reply to Gizze from comment #0)
> My index relative font size is 80% and I manually lowered indices by 20%. 
As soon as you turn on automatic, the 20% that you see in "raise/lower by"
means nothing. So with automatic you are actually lowering by 4% in 7.0.  In
earlier versions the automatic setting actually lowering by 20% (the same as
what you thought). So in your case it just happened to work out nicely (100-80
= 20%) where the completely default situation was terrible. (100-58 = 42%).

If you used letters with a descender (like a g, p or q) then your 80%/20% ratio
would look bad and intrude on the line below. So I don't think there are any
problems with my patches or formulas - you just happened to be using a
combination of characters and sizes that previously worked identically when
using automatic or not automatic.

Using Word 2016 Powerpoint, there is no choice for relative font size, so it
only allows 58%. The suggested raise/lower is 25% (while Impress suggests 8%).
This is quite different from Word, where you have no choice at all, but just a
check-box for subscript (or something which offsets by points, not a
percentage).

Compared to Writer, automatic-at-80% in Impress is acting very similarly to
automatic-at-80% in Writer.

So in conclusion, I don't think there is anything particularly wrong with
automatic in this case. By definition, automatic means leaving it up to the
computer to do the formatting. (A minor reduction of fontsize doesn't leave
much extra space for lowering. Using all defaults of 58%/8% looks pretty good
IMHO.) Automatic also needs to deal with characters that have descenders, and
the current code handles them properly.

OP can still set 80%/20% and get the results that he wants when automatic is
turned off - and default SHOULD be turned off in this case because the
intention is to lower the character below what is "safe" (but in this case is
safe since the characters don't have any descenders).

As noted in bug 80194 comment 32, it might be desirable to NOT automatically
turn on "automatic", but allow the previously used state to be remembered -
just like it remembers the last used relative font size, and raise/lower by.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210517/4e58f060/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list