harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pons Rudy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6539) [classlib][awt] Default font should have only logical name set to "Default"
Date Wed, 16 Jun 2010 15:50:23 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879369#action_12879369
] 

Pons Rudy commented on HARMONY-6539:
------------------------------------

This name set in Font.java:139 is correct, it's the logical font name, that should be Default.
The Harmony difference you have seen is caused by Font.toString() :
This method use this.name. It should use this.getFontName() instead to have the same result
than on RI. I will provide a new patch with regression test and correction in toString method.

> [classlib][awt] Default font should have only logical name set to "Default"
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-6539
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6539
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pons Rudy
>            Priority: Minor
>         Attachments: HARMONY-6539.patch
>
>
> When creating a default font (like with new Font(null)), the logical, ps, family and
face name are all set to "default", but specs says only the logical name should set to "Default".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message