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
As part of my analysis for introducing vector graphics in Eclipse, I discovered several SVGs that either contain issues or do not align with their corresponding PNGs. Fortunately, all these issues can be resolved by adjusting the SVG files themselves, eliminating the need for a pull request outside the eclipse.platform.images repository.
The following SVGs are problematic:
pinned_ovr.svg in org.eclipse.e4.ui.workbench.renderers.swt:
The PNG version is a different icon from the SVG. Upon opening the SVG in Inkscape, three distinct icons are displayed—one matches the PNG, while another is the one shown in the SVG. The current image area is set to display the SVG icon. The SVG needs to be changed so that the correct icon is in the image area and the others are deleted.
PNG:
SVG:
SVG opened in Inkscape:
build_exec.svg in org.eclipse.pde.ui\icons\etool16 and its duplicate in org.eclipse.ui.ide\icons\full\etool16:
When opening either of these SVGs in Inkscape, you’ll notice that the text isn't converted to a path. As a result, different rasterizers will render the text using default fonts, leading to inconsistencies. This can be fixed by converting the text to a path with a single click. I dont know if there are other duplicates with a different name that have the same issue because these two Icons differ slightly so the duplicates can't be found by automatically comparing pixel values. However, the duplicate in org.eclipse.pde.ui\icons\obj16 with the same name does not have this issue.
Icon displayed in Chrome (or rasterized with Batik):
SVG opened in Inkscape:
participant_rem.svg in org.eclipse.team.ui\icons\full\elcl16:
When viewed in Inkscape, Chrome, or rasterized with most other rasterizers, the image appears compressed in height compared to the PNG. The PNG fits other SVGs like rem_co.svg in org.eclipse.debug.ui\icons\full\elcl16 and it's duplicate in org.eclipse.ui.console\icons\full\elcl16. An easy solution would be to replace participant_rem.svg with one of these versions of rem_co.svg.
PNG:
SVG of participant_rem:
SVG of rem_co:
The issues with pinned_ovr, build_exec (including its duplicate), and participant_rem are fixed in: #102
The text was updated successfully, but these errors were encountered:
As part of my analysis for introducing vector graphics in Eclipse, I discovered several SVGs that either contain issues or do not align with their corresponding PNGs. Fortunately, all these issues can be resolved by adjusting the SVG files themselves, eliminating the need for a pull request outside the
eclipse.platform.images
repository.The following SVGs are problematic:
pinned_ovr.svg in
org.eclipse.e4.ui.workbench.renderers.swt
:PNG:
SVG:
SVG opened in Inkscape:
build_exec.svg in
org.eclipse.pde.ui\icons\etool16
and its duplicate inorg.eclipse.ui.ide\icons\full\etool16
:org.eclipse.pde.ui\icons\obj16
with the same name does not have this issue.Icon displayed in Chrome (or rasterized with Batik):
SVG opened in Inkscape:
participant_rem.svg in
org.eclipse.team.ui\icons\full\elcl16
:rem_co.svg
inorg.eclipse.debug.ui\icons\full\elcl16
and it's duplicate inorg.eclipse.ui.console\icons\full\elcl16
. An easy solution would be to replaceparticipant_rem.svg
with one of these versions ofrem_co.svg
.PNG:
SVG of participant_rem:
SVG of rem_co:
The issues with
pinned_ovr
,build_exec
(including its duplicate), andparticipant_rem
are fixed in: #102The text was updated successfully, but these errors were encountered: