Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium OpSys-All Toolkit-Piccolo2D.Java

New 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

Consider the attached screenshots which demonstrate JLabel, PText, and
JLabel via PSwing text rendering with different text antialiasing rendering
hints provided.  See
http://java.sun.com/javase/6/docs/api/java/awt/RenderingHints.html#KEY_TEXT_ANTIALIASING,
in particular those values available in jdk 1.6+.

Neither PText nor JLabel via PSwing renders text the same as JLabel.  PText
always antialiases, poorly at that, and JLabel via PSwing does not appear
to respect any of the LCD_* values.

An interesting observation is that when JLabel renders directly to a
BufferedImage instead of to the screen, it renders text similar to that of
JLabel via PSwing.  See attached tarball of a web page.

I still need to add JTextComponent, PStyledText, PSWTText, direct Java2D
text rendering and the new PHtml/PHtmlView node to the benchmark.

Attachments:
        text-rendering-winxp.png  44.2 KB
        text-rendering-linux-gtk.png  33.0 KB
        result-winxp.tar.gz  9.1 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to