[Libreoffice-bugs] [Bug 141168] New: [ENHANCEMENT] Allow raise/lower position by 0%

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 22 10:32:13 UTC 2021


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

            Bug ID: 141168
           Summary: [ENHANCEMENT] Allow raise/lower position by 0%
           Product: LibreOffice
           Version: 7.0.5.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: page74010-sf at yahoo.fr

Description:
Character styles are dependent on other character styles, i.e. modifications in
attributes are relative to the character style they inherit from.

Under various circumstances, it is necessary that the modification be applied
to the attribute definition in the current paragraph style.

As an example, consider a character style which changes the font face. Even
inside a consistent family, the x-height may be visually different among
variants of the same face leading to unpleasant results. The font size needs
adjustment, say 80%.

If 80% is entered as the font size, it will be computed ultimately against
Default Character Style (a fake style) which will take the value either from
Default Paragraph Style or from Tools>Options, LibreOffice Writer>Basic Fonts
(Western). The size is then fixed and does not depend on the paragraph style.

The font size may be tuned for Text Body but if the character style is used in
a Footnote, the word will be too big compared to the rest of the note.

As a workaround, I don't play with the font size, leaving it in its
"transparent" state so that the one from the paragraph style applies, but I
change the Position parameters, using Superscript and 80% Relative font size.
Ideally Raise/lower by would be set to 0%. Unfortunately, Writer doesn't accept
this no-op value and corrects to 1%.

Of course, the same applies to Subscript.

Even such as small offset is noticeable, though it mitigates at high
magnification (perhaps an effect of quantization of integer arithmetic in the
renderer).

To completely eliminate the non-alignment of the base line, I'd like to be able
to set Raise/lower by to 0%.

Steps to Reproduce:
1. Format a character as 1% superscript and size 100% (for better comparison)
in the middle of a word
2. Display at zoom level 100%

Actual Results:
On my screens (96 dpi), the superscript characters are offset one pixel. The
word looks jaggy.

The effect is less visible with other zoom factors.

Expected Results:
To avoid such jagginess, I'd like to set Raise/lower by to 0%


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Tested with 7.0.5.2 but floor to factor is present in any release

UI render: default
VCL: kf5

OS: Linux 5.11.7
Distro: Fedora 33 (x86_64)
KDE Plasma: 5.20.5
Qt: 5.15.2

-- 
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/20210322/29bfaff1/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list