Comment #1 on issue 117 by heuermh: Text rendering in PText and JLabel via
PSwing appear not to respect antialiasing rendering hints
http://code.google.com/p/piccolo2d/issues/detail?id=117
I added JTextComponent and direct Java2D text rendering to the benchmark
and things
got even stranger on WinXP.
With System Properties -> Advanced -> Performance -> Settings -> [x] Smooth
edges of
screen fonts turned on, JLabel, JTextComponent, and JLabel via PSwing do not
antialias for any rendering hint values, whereas PText antialiases poorly
for all
hint values, and direct Java2D renders all the hint values appropriately.
Turn off that setting and JLabel, JTextComponent, and Java2D all render
correctly,
PText still antialiases poorly on all, and JLabel via PSwing renders OFF
and GASP
hints correctly with no antialiasing and renders the rest antialiased
poorly.
There's now too much to show on one screen shot, so I have attached the
benchmark
code as a runnable jar. JDK 1.6+ only. Don't look at this stuff too long,
for all
the fuzzy text will make your eyes hurt.
Attachments:
text-rendering-benchmark.jar 336 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---