leehaut opened a new pull request, #7980:
URL: https://github.com/apache/hop/pull/7980

   Fix https://github.com/apache/hop/issues/7966
   
   ## Summary
   - #7955 rendered SVG icons through `ImageDataProvider` so Windows 200% DPI 
re-rasterizes instead of SMOOTH-scaling a 100% bitmap. The RAP branch still 
used `new Image(device, ImageData)`, but `ImageDataProvider` stayed in the 
`createDpiAwareImage` method signature.
   - RAP/RWT does not ship `org.eclipse.swt.graphics.ImageDataProvider`. The 
JVM resolves that type when the method is linked, so Hop Web dies in 
`GuiResource.loadCommonImages` with `ClassNotFoundException` before the 
`SWT.getPlatform() != "rap"` check can run.
   - Keep a Hop-owned `ImageDataAtZoom` callback on the shared API. Hop Web 
continues to use the ImageData constructor. Desktop HiDPI (`new Image(device, 
ImageDataProvider)` and `Image.getImageData(int)`) moves to 
`SwtDesktopDpiImages`, which is only loaded when the platform is not RAP.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to