Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: new icons #2

Open
GoogleCodeExporter opened this issue Feb 19, 2016 · 1 comment
Open

feature request: new icons #2

GoogleCodeExporter opened this issue Feb 19, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What icons would I like to replace?
1. icon_forbidden / default icons:
<svg width="600" height="525" xmlns="http://www.w3.org/2000/svg">
 <g>
  <title>forbidden</title>
  <g id="svg_1">
   <path id="svg_2" d="m598.299988,499.600006l-283.799988,-491.600006c-2.899994,-5 -8.200012,-8 -13.899994,-8c-5.700012,0 -11,3.1 -13.899994,8l-283.800022,491.600006c-2.9,5 -2.9,11.100006 0,16.000031c2.9,5 8.2,8 13.9,8h567.599974c5.700012,0 11,-3.100037 13.900024,-8c2.900024,-5.000031 2.900024,-11.100037 0,-16.000031z"/>
   <polygon id="svg_3" fill="#ff0" points="44.599999248981476,491.5 300.5999878048897,48.20000076293945 556.5999878048897,491.5 "/>
   <path id="svg_4" d="m280.599976,378.299988l-46.799973,81.100006c42.599991,24.600006 91.099991,24.600006 133.699997,0l-46.800018,-81.100006c-0.299988,0.200012 -0.600006,0.400024 -0.899994,0.600006c-1.100006,0.600006 -2.299988,1.200012 -3.5,1.700012c-1.200012,0.5 -2.399994,1 -3.700012,1.399994c-1.299988,0.399994 -2.5,0.700012 -3.799988,1c-1.299988,0.299988 -2.600006,0.5 -4,0.600006c-1.299988,0.100006 -2.700012,0.199982 -4.100006,0.199982c-1.399994,0 -2.699982,-0.099976 -4.100006,-0.199982c-1.299988,-0.100006 -2.699982,-0.300018 -4,-0.600006c-1.299988,-0.299988 -2.599976,-0.600006 -3.799988,-1c-1.299988,-0.399994 -2.5,-0.799988 -3.700012,-1.399994c-1.199982,-0.5 -2.399994,-1.100006 -3.5,-1.700012c-0.399994,-0.199982 -0.699982,-0.399994 -1,-0.600006z"/>
   <path id="svg_5" d="m233.800003,227.800003c-42.600006,24.599991 -66.800003,66.599991 -66.800003,115.800003h93.599976c0,-1.399994 0.100006,-2.799988 0.200012,-4.100006c0.100006,-1.299988 0.399994,-2.699982 0.600006,-4c0.299988,-1.299988 0.600006,-2.599976 1,-3.799988c0.399994,-1.299988 0.799988,-2.5 1.399994,-3.700012c0.5,-1.199982 1.100006,-2.399994 1.700012,-3.5c0.599976,-1.099976 1.299988,-2.199982 2,-3.299988c0.699982,-1.100006 1.5,-2.100006 2.299988,-3.100006c0.799988,-1 1.700012,-1.899994 2.600006,-2.799988c0.899994,-0.899994 1.899994,-1.800018 2.899994,-2.600006c1,-0.799988 2,-1.600006 3.100006,-2.299988c0.799988,-0.5 1.600006,-1 2.399994,-1.5l-46.999985,-81.100021z"/>
   <path id="svg_6" d="m367.5,227.800003l-46.799988,81.099991c0.799988,0.5 1.599976,0.899994 2.399994,1.5c1.100006,0.700012 2.100006,1.5 3.100006,2.300018c1,0.799988 1.899994,1.699982 2.899994,2.599976c0.899994,0.900024 1.799988,1.900024 2.600006,2.800018c0.799988,1 1.599976,2 2.299988,3.100006c0.700012,1.099976 1.399994,2.199982 2,3.299988c0.600006,1.100006 1.200012,2.299988 1.700012,3.5c0.5,1.200012 1,2.399994 1.399994,3.700012c0.399994,1.299988 0.699982,2.5 1,3.799988s0.5,2.600006 0.600006,4c0.099976,1.299988 0.199982,2.700012 0.199982,4.100006h93.600006c-0.200012,-49.200012 -24.400024,-91.200012 -67,-115.800003z"/>
   <circle id="svg_7" cx="300.6" cy="343.6" r="26.699997"/>
  </g>
 </g>
</svg>
2. icon_forbidden_blocked
<svg width="600" height="525" xmlns="http://www.w3.org/2000/svg">
 <g>
  <title>forbidden blocked</title>
  <g id="svg_1">
   <path id="svg_2" d="m598.299988,499.600006l-283.799988,-491.600006c-2.899994,-5 -8.200012,-8 -13.899994,-8c-5.700012,0 -11,3.1 -13.899994,8l-283.800022,491.600006c-2.9,5 -2.9,11.100006 0,16.000031c2.9,5 8.2,8 13.9,8h567.599974c5.700012,0 11,-3.100037 13.900024,-8c2.900024,-5.000031 2.900024,-11.100037 0,-16.000031z"/>
   <polygon id="svg_3" fill="#ff0000" points="44.599999248981476,491.5 300.5999878048897,48.20000076293945 556.5999878048897,491.5 "/>
   <path id="svg_4" d="m280.599976,378.299988l-46.799973,81.100006c42.599991,24.600006 91.099991,24.600006 133.699997,0l-46.800018,-81.100006c-0.299988,0.200012 -0.600006,0.400024 -0.899994,0.600006c-1.100006,0.600006 -2.299988,1.200012 -3.5,1.700012c-1.200012,0.5 -2.399994,1 -3.700012,1.399994c-1.299988,0.399994 -2.5,0.700012 -3.799988,1c-1.299988,0.299988 -2.600006,0.5 -4,0.600006c-1.299988,0.100006 -2.700012,0.199982 -4.100006,0.199982c-1.399994,0 -2.699982,-0.099976 -4.100006,-0.199982c-1.299988,-0.100006 -2.699982,-0.300018 -4,-0.600006c-1.299988,-0.299988 -2.599976,-0.600006 -3.799988,-1c-1.299988,-0.399994 -2.5,-0.799988 -3.700012,-1.399994c-1.199982,-0.5 -2.399994,-1.100006 -3.5,-1.700012c-0.399994,-0.199982 -0.699982,-0.399994 -1,-0.600006z"/>
   <path id="svg_5" d="m233.800003,227.800003c-42.600006,24.599991 -66.800003,66.599991 -66.800003,115.800003h93.599976c0,-1.399994 0.100006,-2.799988 0.200012,-4.100006c0.100006,-1.299988 0.399994,-2.699982 0.600006,-4c0.299988,-1.299988 0.600006,-2.599976 1,-3.799988c0.399994,-1.299988 0.799988,-2.5 1.399994,-3.700012c0.5,-1.199982 1.100006,-2.399994 1.700012,-3.5c0.599976,-1.099976 1.299988,-2.199982 2,-3.299988c0.699982,-1.100006 1.5,-2.100006 2.299988,-3.100006c0.799988,-1 1.700012,-1.899994 2.600006,-2.799988c0.899994,-0.899994 1.899994,-1.800018 2.899994,-2.600006c1,-0.799988 2,-1.600006 3.100006,-2.299988c0.799988,-0.5 1.600006,-1 2.399994,-1.5l-46.999985,-81.100021z"/>
   <path id="svg_6" d="m367.5,227.800003l-46.799988,81.099991c0.799988,0.5 1.599976,0.899994 2.399994,1.5c1.100006,0.700012 2.100006,1.5 3.100006,2.300018c1,0.799988 1.899994,1.699982 2.899994,2.599976c0.899994,0.900024 1.799988,1.900024 2.600006,2.800018c0.799988,1 1.599976,2 2.299988,3.100006c0.700012,1.099976 1.399994,2.199982 2,3.299988c0.600006,1.100006 1.200012,2.299988 1.700012,3.5c0.5,1.200012 1,2.399994 1.399994,3.700012c0.399994,1.299988 0.699982,2.5 1,3.799988s0.5,2.600006 0.600006,4c0.099976,1.299988 0.199982,2.700012 0.199982,4.100006h93.600006c-0.200012,-49.200012 -24.400024,-91.200012 -67,-115.800003z"/>
   <circle id="svg_7" cx="300.6" cy="343.6" r="26.699997"/>
  </g>
 </g>
</svg>
3. icon_allowed
<svg width="600" height="525" xmlns="http://www.w3.org/2000/svg">
 <g>
  <title>allowed</title>
  <g id="svg_1">
   <path id="svg_2" d="m598.299988,499.600006l-283.799988,-491.600006c-2.899994,-5 -8.200012,-8 -13.899994,-8c-5.700012,0 -11,3.1 -13.899994,8l-283.800022,491.600006c-2.9,5 -2.9,11.100006 0,16.000031c2.9,5 8.2,8 13.9,8h567.599974c5.700012,0 11,-3.100037 13.900024,-8c2.900024,-5.000031 2.900024,-11.100037 0,-16.000031z"/>
   <polygon id="svg_3" fill="#00ff00" points="44.599999248981476,491.5 300.5999878048897,48.20000076293945 556.5999878048897,491.5 "/>
   <path id="svg_4" d="m280.599976,378.299988l-46.799973,81.100006c42.599991,24.600006 91.099991,24.600006 133.699997,0l-46.800018,-81.100006c-0.299988,0.200012 -0.600006,0.400024 -0.899994,0.600006c-1.100006,0.600006 -2.299988,1.200012 -3.5,1.700012c-1.200012,0.5 -2.399994,1 -3.700012,1.399994c-1.299988,0.399994 -2.5,0.700012 -3.799988,1c-1.299988,0.299988 -2.600006,0.5 -4,0.600006c-1.299988,0.100006 -2.700012,0.199982 -4.100006,0.199982c-1.399994,0 -2.699982,-0.099976 -4.100006,-0.199982c-1.299988,-0.100006 -2.699982,-0.300018 -4,-0.600006c-1.299988,-0.299988 -2.599976,-0.600006 -3.799988,-1c-1.299988,-0.399994 -2.5,-0.799988 -3.700012,-1.399994c-1.199982,-0.5 -2.399994,-1.100006 -3.5,-1.700012c-0.399994,-0.199982 -0.699982,-0.399994 -1,-0.600006z"/>
   <path id="svg_5" d="m233.800003,227.800003c-42.600006,24.599991 -66.800003,66.599991 -66.800003,115.800003h93.599976c0,-1.399994 0.100006,-2.799988 0.200012,-4.100006c0.100006,-1.299988 0.399994,-2.699982 0.600006,-4c0.299988,-1.299988 0.600006,-2.599976 1,-3.799988c0.399994,-1.299988 0.799988,-2.5 1.399994,-3.700012c0.5,-1.199982 1.100006,-2.399994 1.700012,-3.5c0.599976,-1.099976 1.299988,-2.199982 2,-3.299988c0.699982,-1.100006 1.5,-2.100006 2.299988,-3.100006c0.799988,-1 1.700012,-1.899994 2.600006,-2.799988c0.899994,-0.899994 1.899994,-1.800018 2.899994,-2.600006c1,-0.799988 2,-1.600006 3.100006,-2.299988c0.799988,-0.5 1.600006,-1 2.399994,-1.5l-46.999985,-81.100021z"/>
   <path id="svg_6" d="m367.5,227.800003l-46.799988,81.099991c0.799988,0.5 1.599976,0.899994 2.399994,1.5c1.100006,0.700012 2.100006,1.5 3.100006,2.300018c1,0.799988 1.899994,1.699982 2.899994,2.599976c0.899994,0.900024 1.799988,1.900024 2.600006,2.800018c0.799988,1 1.599976,2 2.299988,3.100006c0.700012,1.099976 1.399994,2.199982 2,3.299988c0.600006,1.100006 1.200012,2.299988 1.700012,3.5c0.5,1.200012 1,2.399994 1.399994,3.700012c0.399994,1.299988 0.699982,2.5 1,3.799988s0.5,2.600006 0.600006,4c0.099976,1.299988 0.199982,2.700012 0.199982,4.100006h93.600006c-0.200012,-49.200012 -24.400024,-91.200012 -67,-115.800003z"/>
   <circle id="svg_7" cx="300.6" cy="343.6" r="26.699997"/>
  </g>
 </g>
</svg>

What size are these SVGs? How can I resize them?
They are all 600x525. You can resize them by changing the first line's width 
and height, and adding the property transform="scale( [myScale] )". For 
example, to transform to a 128 pixel size, set the width to 128 and the height 
to 128/600 * 525 = 112, and add the transform with myScale = 128/600 = 0.213333.


How can I convert an SVG to PNG or some other format?
Any non-trivial iomage editor program aught to do.

Please provide any additional information below.

I hope you dont mind the playfulness of the response. I like this program and 
hope to see the icons soon. I might just gerry-rig my version on my machine if 
I can figure that out.. but I basically cant do any code or work with such a 
minimal computer as I have, so I was hoping the SVGs would suffice.  Please 
feel free to jot me a note.

Original issue reported on code.google.com by [email protected] on 30 Apr 2011 at 5:31

@GoogleCodeExporter
Copy link
Author

oh I forgot to mention, the transform should be added to the second <g> tag.

Original comment by [email protected] on 30 Apr 2011 at 5:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant