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

--- Comment #7 from Tor Lillqvist <[email protected]> ---
I came up with a fix that seems to help.

I changed the interface of the DrawTextImpl() virtual member function so that
instead of being called once to draw a run of text, it might draw just a part
of the run, and expect to be called repeatedly to draw the whole text.

The GraphiteWinLayout implementation then takes advantage of this, the end
result being that it draws one glyph at a time into the DC that corresponds to
the bitmap allocated in the caller (WinLayout::DrawText), and the caller draws
using that bitmap as an alpha mask into the actual destination each time.
Sounds complicated and silly (the same texture being drawn over and over again)
but it seems to work. But I need to work on it a bit more to see if I can do it
in a simpler way.

-- 
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