@@ -60,4 +60,35 @@ On a 200% monitor with the feature being **disabled**:
60
60
61
61
On a 200% monitor with the feature being ** enabled** :
62
62
63
- ![ Monitor-Specific UI Rescaling Enabled] ( images/rescaling-enabled.png )
63
+ ![ Monitor-Specific UI Rescaling Enabled] ( images/rescaling-enabled.png )
64
+
65
+ ### Support for Scalable SVG Icons in Eclipse
66
+
67
+ Until now, only raster graphics could be used for loading icons in Eclipse.
68
+ This limited the ability to scale icons without quality loss and required manual rasterization of SVG files outside
69
+ of Eclipse to generate icons in different sizes, leading to additional effort and many separate icon files.
70
+
71
+ Support for vector graphics (SVG) has now been added. Instead of providing multiple rasterized images for different
72
+ sizes and resolutions, a single SVG file can be referenced. The SVG is rasterized on-the-fly at the required size
73
+ when the icon is rendered at runtime. This ensures optimal image quality for arbitrary scaling factors
74
+ without manual preprocessing.
75
+
76
+ This approach reduces maintenance overhead, as only one source file per icon needs to be managed.
77
+ As part of this change, most icons across all bundles have been added as SVGs, and the corresponding paths
78
+ (e.g., in ` plugin.xml ` files) have been updated accordingly.
79
+
80
+ In a future release, bundle sizes will be further reduced by removing the existing redundant raster images.
81
+ Support for raster graphics remains available, as SVG handling has been seamlessly integrated into the existing
82
+ image loading infrastructure without requiring changes to existing code.
83
+
84
+ This improvement is especially beneficial for High-DPI displays, where crisp, scalable icons greatly enhance the
85
+ visual appearance and usability of the user interface. It also ensures better adaptation to different display
86
+ settings and dynamic scaling scenarios.
87
+
88
+ The following screenshots compare the use of raster graphics and vector graphics when loading icons with 125% monitor scaling:
89
+
90
+ ![ Icons rendered using raster graphics] ( images/icon_rendering_using_vector-graphics.png )
91
+ ` Icons rendered using raster graphics `
92
+
93
+ ![ Icons rendered using vector graphics] ( images/icon_rendering_using_raster-graphics.png )
94
+ ` Icons rendered using vector graphics `
0 commit comments