christmo / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

Add ability to change anti-aliasing hint of EmphasizedLabelUI #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add ability to change anti-aliasing hint of EmphasizedLabelUI.

Original issue reported on code.google.com by kenneth....@gmail.com on 13 Dec 2008 at 5:56

GoogleCodeExporter commented 8 years ago
Turns out this is nigh impossible due to the implementation of 
BasicGraphicUtils.drawStringUnderlineCharAt. 
This method (actually the private implementation methods) rely on a system 
property rather than the hint set in 
the actual Graphics object. To turn on anti-aliasing for the entire 
application, try using the following system 
property:

-Dawt.useSystemAAFontSettings=on

Original comment by kenneth....@gmail.com on 23 Dec 2008 at 8:01