[Libreoffice-bugs] [Bug 138919] Text will split differently after applying highlighting (or font color) independent of zoom-level
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 11 09:02:36 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=138919
Miklos Vajna <vmiklos at collabora.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|regression |implementationError
--- Comment #7 from Miklos Vajna <vmiklos at collabora.com> ---
I believe the above just uncovers an existing problem. That commit simply made
the behavior consistent across multiple platforms, nowadays we don't even have
multiple layouts, just the harfbuzz-based one.
But try this on master:
1) Type "AV", set font size to 40pt (leave font at Liberation Serif, kerning
enabled).
2) Highlight "A" with e.g. yellow.
The V will obviously shift to the right a bit, because "A" and "V" now have
different char props, so they are laid out separately, because "A" has a yellow
background and "V" does not.
I think the request to avoid this "shift to the right" is fair, but this never
worked, so I think this is rather an implementation error. (E.g. an
implementation of text highlighting in a pdf viewer never does this.)
Adjusting keywords accordingly.
--
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/20210111/e9736eeb/attachment.htm>
More information about the Libreoffice-bugs
mailing list