[Libreoffice-bugs] [Bug 135053] Some letters are cut off, but it is hard to notice
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 10 07:21:47 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=135053
--- Comment #14 from ajlittoz <page74010-sf at yahoo.fr> ---
>From experiments, it appears the clipping appears only when there is no
original font file (e.g. an italic variant is requested) and the font renderer
has to create one from the available ones.
To check my intuition, I played with a cursive font which has hooks protruding
outside the glyph bounding box so that adjacent characters look attached
together.
As long as the "regular" variant is unaltered by "effects", highlighting colour
will not clip the glyphs. I apply italic to the text and clipping shows up.
The font I used has only a "regular" file and none else (no italic, nor bold)
so that the font renderer is forced to generate one. It is likely that it
distorts the bounding rectangle into a slanted parallelogram so that the sides
are no longer "vertical".
Another necessary condition is a break into formatting variants. Clipping
occurs only at the boundary of italics, not in the middle of the sequence.
Tested with 7.0.4.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/20210310/b449c9e6/attachment.htm>
More information about the Libreoffice-bugs
mailing list