[8] Request for review: 8004866 [macosx] HiDPI support in Aqua L&F

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Apr 5 04:03:27 PDT 2013


Hi, Robert.
If L&F uses vector graphics, it will look good automatically(like 
Nimbus). If it uses rasters(like Aqua), it should be tweaked.

On 4/5/13 12:17 PM, Robert Krüger wrote:
> Hi,
>
> this is great news! Thank you for your work!
>
> One question though: Will Synth and/or Nimbus Look and Feels benefit 
> from this work as well in the end or shall users of those L&Fs prepare 
> for switching to Aqua?

>
> Thanks a lot!
>
> Robert
>
>
>
> On Thu, Apr 4, 2013 at 8:02 PM, Sergey Bylokhov 
> <Sergey.Bylokhov at oracle.com <mailto:Sergey.Bylokhov at oracle.com>> wrote:
>
>     Hello,
>     Please review the fix for jdk 8. Change adds support of hidpi to
>     Aqua l&f.
>     Change description:
>     - AquaPainter takes into account scale, when creates image.
>     - ImageCache now use scale factor as a key.
>     - CGContext also scaled to a ratio of image/control width/height
>     - Cleanup
>
>     Note that this fix depends from the:
>     http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8000629
>
>     Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8004866
>     Webrev can be found at:
>     http://cr.openjdk.java.net/~serb/8004866/webrev.00
>     <http://cr.openjdk.java.net/%7Eserb/8004866/webrev.00>
>
>     -- 
>     Best regards, Sergey.
>
>


-- 
Best regards, Sergey.



More information about the macosx-port-dev mailing list