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

Tor Lillqvist <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Font rendering problem      |With OpenGL rendering,
                   |Linux Biolinum G Italic     |glyphs from Graphite fonts
                   |with OpenGL                 |miss rightmost pixels

--- Comment #6 from Tor Lillqvist <[email protected]> ---
Chasing summary to be more generic.

The problem exists not only for that italic font, but it is visible (not quite
so obvious, though) also for instance with Gentium Basic and plain lower-case
characters.

I think the issue here is that the GraphiteWinLayout::DrawTextImpl() function
draws each glyph using a separate call to ExtTextOutW(), and that mishandles
anti-aliased glyphs (alpha), somewhat like described in the long comment in
WinLayout::DrawText().

The irony here is of course that in the case of Graphite fonts, and OpenGL, we
are exactly in that code block in WinLayout::DrawText(), that does some
acrobatics in order for anti-aliasing to end up looking correct. But from that
code block we then call DrawTextImpl(), which in the case of GraphiteWinLayout,
itself runs into the same (?) problem as the calling code wants to avoid on a
higher level, as it draws each glyph separately, and subsequent glyphs might
overwrite the rightmost pixels of the earlier one. Or something like that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to