Login  Register

Re: Icon sets

Posted by perepujal on Sep 26, 2012; 9:01pm
URL: https://forum.librecad.org/Icon-sets-tp5707060p5707073.html

El dt 25 de 09 de 2012 a les 11:21 -0700, en/na Wed [via LibreCAD] va
escriure:

> I am a long time user of QCad. But I am very excited to see LibreCAD
> offering a alternative. I offered my services touching up the icons
> though. Inkscape is one of my favourite tools and the existing icons
> had a few inconsistencies.
>
> Here I offer the svg source files.
>
> According to discussion on IRC, it would be preferable to generate the
> rasterized images automatically instead of manually in order to avoid
> human errors.
>
> This one holds all the buttons. The page size is adjusted to the image
> size
> librecad-icons_icons_wed.svg
>
Attached is a rough bash script that exports the layers from this file
to pngs.
it does this by creating a temporary svg for each layer, then calling
rsvg with the name of the file to be created(the layer name plus
the .png extension)
It depends highly on the specific syntax of this file, same number of
spaces at the key blocks, so I am pretty sure that will do wrong for
some other files, but is a start.
launch it as exportsvglayers.sh librecad-icons_icons_wed.svg

Hope this helps
Pere


>


exportsvglayers.sh (874 bytes) Download Attachment