Jpackage ignores @2x-files

Phil Race philip.race at oracle.com
Fri Nov 15 17:05:26 UTC 2019


Submit a bug for tools/jpackage.
Assuming this is just a missed copy it should be easy to fix.

-phil.

On 11/15/19 5:30 AM, Michael Paus wrote:
> Hi,
> I am trying to customize a DMG built with jpackage.
> I have therefore placed two images into the configured resource folder.
>
> myApp-background.png
> myApp-background at 2x.png
>
> The assumption is that when you open the DMG on a Mac with a retina 
> display,
> it should automatically use the @2x-version of the file in order to 
> get a clear
> and crisp rendering.
>
> But this does not work because jpackage only picks up the first file 
> from the
> resource folder but not the second one. So this file is never copied 
> into the
> DMG and thus the rendering of the image on a retina display does not 
> look nice.
>
> Michael
>



More information about the core-libs-dev mailing list