I am currently trying to render small fonts (Tahoma regular 8) using the SWT GC on Windows 7. My problem is, that the last two digits are alw开发者_开发技巧ays very close to each other:
(source: iachelini.de)I noticed the same effect when drawing beveled strings:
(source: iachelini.de)According to the javadoc the setAntialias method only relates to non-font drawings. I wonder what other things I could do. To turn Clear-Type off is -unfortunately- no option.
Thanks for your time.
Have you tried GC#setTextAntialias
?
I have also win7 and turning off the antialiasing by setAntialiasing(SWT.OFF)
is working for me in SWT examples..
精彩评论