Community
Participate
Working Groups
Build Identifier: Eclipse 3.5 and higher TextLayout ignores rise when drawing on a GC with antialias set to ON or OFF. It works with antialias set to SWT.DEFAULT. This happens only on Windows and from my tests it still works with Eclipse 3.4 but is broken from 3.5 and higher. I didn't test with Indigo but I am pretty sure it's broken there too. I am attaching the snippet and screenshots that show the difference in results. Reproducible: Always
Created attachment 199794 [details] Snippet to reproduce the problem
Created attachment 199795 [details] Results with antialias set to ON
Created attachment 199796 [details] Results with antialias set to DEFAULT
The problem even worse than that. I was hoping that I can work around it by temporarily setting antialias to SWT.DEFAULT but it does not work. Setting antialias to anything else than SWT.DEFAULT breaks rise handling for good.
Just wanted to confirm that Eclipse Indigo has this bug too.
fixed http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=68082ed64540f88d44b99ae23829e4cc7b04ff87
Thanks Felipe, this was fast! Any chance for this fix to be backported? Ideally I'd like to see it in Eclipse 3.6 since this is the version used by most Eclipse-based IDEs.
We are done with Eclipse 3.6.x (3.6.2 shipped back in Feb). The earliest I can make this fix available is 3.7.1. Would that help you ?
3.7.1 is not ideal but it would help too. However I'll have to wait for current generation of IDEs to upgrade from 3.6 before I can go on and implement subscripts in my plug-in.
backported to 3.7.x
Verified in Version: 3.7.1 Build id: M20110825-0847