<AWT Dev> [9] Review request for JDK-8151787 Unify the HiDPI splash screen image naming convention

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Tue Apr 26 08:52:23 UTC 2016


On 4/26/2016 11:13 AM, Rajeev Chamyal wrote:
>
> Hello All,
>
> Could you please review the following fix.
>
> Bug : https://bugs.openjdk.java.net/browse/JDK-8151787
>
> Webrev : http://cr.openjdk.java.net/~rchamyal/8151787/webrev.00/ 
> <http://cr.openjdk.java.net/%7Erchamyal/8151787/webrev.00/>
>
> This is a small enhancement to support similar HiDPI splash screen 
> image name convention on all platforms.
>
> Currently we have different naming convention for scaled images on 
> different platforms.
>
> Image name : image.ext
>
> Scaled image names:
>
> Windows : image.scale-dpiValue.ext
> Linux : image.java-scale2x.ext
> MAC image at 2x.ext
>
> After the fix naming convention on Mac and Linux would be :
>
> Image name : image.ext
>
> Scaled image name : image.java-scale2x./ext/
>
     Both name conventions @2x and java-scale2x should be supported on 
Mac OS X.
     The more specific one @2x should be checked in the first place and 
the java-scale2x in the second.

    Thanks,
    Alexandr./

/
>
> Naming convention on windows :
>
> Image name : image.ext
>
> Scaled image name : image.java-scale<dpi value>./ext/
>
> Regards,
>
> Rajeev Chamyal
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160426/dc170649/attachment.html>


More information about the awt-dev mailing list