Skip to content

Commit

Permalink
add azure cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley A. Thornton committed Sep 25, 2016
1 parent 303226d commit 0715959
Show file tree
Hide file tree
Showing 551 changed files with 34,592 additions and 17,127 deletions.
45 changes: 30 additions & 15 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,36 @@ module.exports = function(grunt) {
}
}
},
webfont: {
icons: {
src: 'build/fonts/cisco/*.svg',
dest: 'build/fonts',
},
options: {
engine: 'fontforge',
font: 'cisco',
normalize: true,
syntax: 'bem',
templateOptions: {
classPrefix: ''
}
}
},
// webfont: {
// icons: {
// src: 'build/fonts/azure/cloud/*.svg',
// dest: 'build/fonts',
// },
// options: {
// engine: 'fontforge',
// font: 'azure-cloud',
// normalize: true,
// syntax: 'bem',
// templateOptions: {
// classPrefix: ''
// }
// }
// },
// webfont: {
// icons: {
// src: 'build/fonts/cisco/*.svg',
// dest: 'build/fonts',
// },
// options: {
// engine: 'fontforge',
// font: 'cisco',
// normalize: true,
// syntax: 'bem',
// templateOptions: {
// classPrefix: ''
// }
// }
// },
bowercopy: {
options: {
// Bower components folder will be removed afterwards
Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,34 @@ converting from eps to svg
sudo ln -s /Applications/Inkscape.app/Contents/Resources/bin/inkscape /usr/local/bin

```
for i in ~/Downloads/3015_eps/*.eps; do inkscape $i –export-plain-svg=”/tmp/$i.svg”; done
for i in `pwd`/*.eps; do inkscape $i –export-plain-svg=$i.svg”; done
for i in `pwd`/*.svg; do inkscape $i -E ${i%.svg}.eps; done
rm *.svg
for i in `pwd`/*.eps; do inkscape $i -l ${i%.eps}.svg; done
```


remove special characters
```
cp ~/Downloads/Microsoft_CloudnEnterprise_Symbols_v2.5_PUBLIC/Symbols/CnE_Cloud/SVG/*.svg .
rename 's/[^a-zA-Z0-9_.]//g' *.svg
rename 's/^Azure//g' *.svg
rm *COLOR*
for i in `pwd`/*.svg; do inkscape $i -E ${i%.svg}.eps; done
rm *.svg
for i in `pwd`/*.eps; do inkscape $i -l ${i%.eps}.svg; done
rm *.eps
cd ../..
iconfont azure-cloud.css
cp azure-cloud.js ../js/
```


https://github.com/fokkezb/iconfont
sudo npm install -g iconfont

--------------
bthornto:cloud bthornto$
for img in $(ls *.svg) ; do inkscape --verb=FitCanvasToDrawing --verb=FileSave --verb=FileClose --verb=FileQuit `pwd`/$img ; done
Binary file modified build/.DS_Store
Binary file not shown.
Binary file added build/fonts/.DS_Store
Binary file not shown.
Loading

0 comments on commit 0715959

Please sign in to comment.