You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/04/05 17:15:27 UTC
[jira] Updated: (PIVOT-393) Certain UI components do not properly
respect system text anti-aliasing hints
[ https://issues.apache.org/jira/browse/PIVOT-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown updated PIVOT-393:
-----------------------------
Fix Version/s: (was: 2.0)
1.6
> Certain UI components do not properly respect system text anti-aliasing hints
> -----------------------------------------------------------------------------
>
> Key: PIVOT-393
> URL: https://issues.apache.org/jira/browse/PIVOT-393
> Project: Pivot
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Greg Brown
> Assignee: Greg Brown
> Fix For: 1.6
>
>
> Some components render text using the drawString() method of Graphics2D and properly set the text rendering hints using the getTextAntialiasingHint() method in the Platform class. However, other components use a glyph vector that does not currently respect the text rendering hints. These components should be updated to use a FontRenderContext containing the correct text rendering hints:
> http://java.sun.com/javase/6/docs/api/java/awt/font/FontRenderContext.html#FontRenderContext(java.awt.geom.AffineTransform,%20java.lang.Object,%20java.lang.Object)
> Also, there is a minor issue with the use of getTextAntialiasingHint(): the AWT "awt.font.desktophints" property may contain multiple hints (e.g. on my desktop it also defines KEY_TEXT_LCD_CONTRAST) and Pivot is only looking at KEY_TEXT_ANTIALIASING. Additional methods should be added to support the other values.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.