开发者

SWT Rendering small Fonts

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:

SWT Rendering small Fonts

(source: iachelini.de)

I noticed the same effect when drawing beveled strings:

SWT Rendering small Fonts

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

SWT Rendering small Fonts

SWT Rendering small Fonts

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜