pharo icon indicating copy to clipboard operation
pharo copied to clipboard

ZeroDivide when selecting idea11 icons

Open astares opened this issue 1 year ago • 4 comments

in Pharo 12 download and select idea11 icon set

image

image

astares avatar Dec 23 '23 22:12 astares

This is because the svgPack uses a directory structure different from the ones in other icon sets (eclipse, idea11, famfam) to match different icon scales.

If you know from where to obtain the SVG files from these sets I would be happy to fix this issue.

hernanmd avatar Jan 22 '24 12:01 hernanmd

BTW Carolina told me that icons were generated by hand, so the best chance for the already present icons is to generate the SVGs from the PNGs using an existing tool. Feel free to suggest a FOSS one :)

hernanmd avatar Feb 14 '24 19:02 hernanmd

@hernanmd Inkscape (which is free and open source) can generate an SVG from PNG and is als able to vectorize. But depending on quality you get different results.

https://www.youtube.com/watch?v=4bZ-emmFb4E

YouTube
With Inkscape's user-friendly interface, converting PNG to SVG has never been easier. Simply import your PNG file into the software and let Inkscape work its...

astares avatar Feb 14 '24 19:02 astares

Maybe the thing could be more robust when the Icons are "broken"? In this case probably we are trying to interpret an svg as a bitmap/png and boom! Now, this could also happen is there was a network error and the downloaded files are broken, or even if people make mistakes.

Maybe we need to show a "broken icon" icon? Like when the browser shows broken images.

imagen

guillep avatar Feb 15 '24 08:02 guillep