Request for review: 8004866 [macosx] HiDPI support in Aqua L&F
Sergey.Bylokhov at oracle.com
Fri Apr 5 04:03:27 PDT 2013
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:
> 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!
> On Thu, Apr 4, 2013 at 8:02 PM, Sergey Bylokhov
> <Sergey.Bylokhov at oracle.com <mailto:Sergey.Bylokhov at oracle.com>> wrote:
> 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:
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8004866
> Webrev can be found at:
> Best regards, Sergey.
Best regards, Sergey.
More information about the macosx-port-dev