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@lists.freedesktop.org
          Reporter: page74010...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to