RFR: 8329098: Support "@1x" image naming convention as fallback [v2]

Kevin Rushforth kcr at openjdk.org
Thu Oct 17 12:09:15 UTC 2024


On Thu, 17 Oct 2024 11:44:33 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> This technically translates to the for-loop higher up that tries to fetch other scaled versions of an image - if you want to explicitly load `foo at 1x.png` it will look for `foo at 1x@2x.png` etc.
>> 
>> Should we just assume that with `@Nx` provided in the name we will only load that one specific scale?
>
> I would say so, yes. If the user specifies any `@Nx`, then we only look for this particular version.

Probably, but this is out of scope for this PR / JBS bug. Please file a follow-up bug.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1598#discussion_r1804657800


More information about the openjfx-dev mailing list