pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: [jira] Commented: (PIVOT-393) Certain UI components do not properly respect system text anti-aliasing hints
Date Thu, 15 Apr 2010 14:51:07 GMT
No, but you can see what the previous rendering looked like by running the 1.4 version here:

http://pivot.apache.org/demos/kitchen-sink.html


On Apr 15, 2010, at 10:47 AM, Mike Smorul wrote:

> It looks correct as far as I can tell. Do you have a reference
> screenshot that I could compare against?
> 
> On Thu, Apr 15, 2010 at 10:44 AM, Greg Brown (JIRA) <jira@apache.org> wrote:
>> 
>>    [ https://issues.apache.org/jira/browse/PIVOT-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857339#action_12857339
]
>> 
>> Greg Brown commented on PIVOT-393:
>> ----------------------------------
>> 
>> Hi Mike,
>> That text looks good to me but I'm not a RH user. Can you confirm that the text looks
correct for your system?
>> Thanks,
>> Greg
>> 
>> 
>>> 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.5
>>> 
>>>         Attachments: pivot-393.patch, pivot-393_test_winXp.zip, pivot_aa_test_windows7@64.zip,
rhel5-1.6.0_16.png, text-test-winxp-java1.6.0.16-cleartype.jpg, winxp_cleartype.zip
>>> 
>>> 
>>> 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.
>> -
>> If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
>> -
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>> 
>> 
>> 


Mime
View raw message