[Libreoffice-bugs] [Bug 95157] Some italicized letters are not completely displayed when followed by regular characters
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 4 10:34:08 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=95157
--- Comment #10 from Viktor Mileikovskyi <v_mil at ukr.net> ---
The same problem appears using italic character with subscript.
Very strong cut (up to half-letter) can be obtained using drawing fonts (like
ISOCPEUR).
I can confirm it in LO 6.2.4.2 during diaplaying, PDF export and printing, when
the text is highlighted, especially, in the color of the page background. When
I select the affected text and choose "No Fill" in the highlight button, the
font appears normally.
The problem is, possibly, caused by a mistake displaying characters.
Non-highlighted characters are displayed by setting foreground pixels only.
Background pixels are not changed. If the next character coincides with the
previous one, the collision will be resolved correctly like ligature.
Highlighted characters are displayed by setting both foreground and background
pixels. The next character will overwrite the previous one, causing a crop.
One of the possible solutions is using special overlapping algorithms:
1. Setting background pixels only if they are not in the boundary of the
previous character (priority by the previous character). It can cause partial
highlighting of the first highlighted character.
2. Setting background pixels only if they are not set by the previous character
(priority by the next character). It can cause partial highlighting of the
previous non-highlighted character. This solution is seen at other text
editors.
3. Setting background pixels only if they are not set by the previous
character, starting from the average line between characters (balanced). It can
cause some throttling of the program but the result appears better.
To avoid problems with old maschines, it is possible to add an option to
LibreOffice settings.
--
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/20190604/7900e2da/attachment.html>
More information about the Libreoffice-bugs
mailing list