Community
Participate
Working Groups
It appears that when alpha blending is enabled, TextLayout is not honoring the clip rect that I set on the offscreen GC. But if I disable the alpha blending or diable the advanced rendering, it seems to work properly.
Created attachment 34570 [details] SWT snippet to demonstrate the bug
The reason for this is that TextLayout.draw uses some OS routines that are not part of GDI+ (e.g. PatBlt, ScriptTextOut) and which therefore ignore the GDI+ clipping region.
Thanks Florian! We have been working on some hacks to integrate Uniscribe and GDI+. Hang on. The problem is that GDI+ does not provide the same text layout support that Uniscribe does.
Fixed in HEAD > 20060117.