[Libreoffice-bugs] [Bug 89849] Unify superscript and subscript behaviour between apps

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Feb 19 18:40:17 UTC 2020


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

--- Comment #21 from Justin L <jluth at mail.com> ---
Assuming that the relative fontsize remains at the default of 58%, raising by
33% should be mathematically perfect (slightly dependent on the font used). A
higher value will cut into the preceding line - creating a larger gap. 
(subscript example: attachment 101314)

After watching the screencast from comment 6, I expect there are layout or
other bugs happening here. I get inconsistent results when I test this (same as
comment 14)...

(In reply to Jonathan Underwood from comment #2)
> On unclicking Automatic, the value immediately jumps to 66%.
Comment 5 is correct. Format-character REMEMBERS the last settings that YOU
ENTERED into that field. That is why nobody could replicate your 66%. On a
clean user profile, Format-Character will use DFLT_ESC_SUPER which is 33%.

(In reply to Heiko Tietze from comment #10)
> Probably the default is not 33% since just this number leads to a larger
> line spacing.
Your 33% example was a subscript, not a superscript. "Automatic" calculates 8%
for a subscript - but it is 33% for a superscript. I changed DFLT_ESC_SUB back
to 8% for LO 7.0.  (see bug 80194)

"Automatic" had terrible calculations in editeng (Draw/Impress/Writer
textboxes), especially for subscripts. (again, see bug 80194).

(In reply to Yousuf Philips (jay) (retired) from comment #19)
> Simple solution is to have the superscript command (.uno:SuperScript) do
> what it does in Writer, set it to automatic, and once that is done, it looks
> fine. Bad news is that the subscript command (.uno:SubScript) with automatic
> enabled doesn't act similar to Writer.
Hopefully with bug 80194's fixes automatic now SHOULD look fine. For a patch to
set automatic with .uno::SupserScript, see
https://gerrit.libreoffice.org/c/core/+/88998/1

-- 
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/20200219/8cf6690d/attachment.htm>


More information about the Libreoffice-bugs mailing list