You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SWT currently loads icons exclusively as raster graphics (e.g., PNGs)
without support for vector formats like SVG (except for Linux). A major
drawback of raster graphics is their inability to scale without
degrading image quality. Additionally, generating icons of different
sizes requires manually rasterization of SVGs as a preparatory step,
leading to unnecessary effort and many icon files.
This change introduces support for vector graphics in images, enabling
SVGs to be used for images. An SVG rasterizer can be provided via an SWT
fragment. This change adds an according fragment based on the JSVG
library. An according FileFormat implementation is added, which utilized
a present SVG rasterization fragment to rasterize images for the desired
zoom factor.
Fixeseclipse-platform#1438
0 commit comments