diff options
Diffstat (limited to 'scripts/createThemeIconsFont')
-rwxr-xr-x | scripts/createThemeIconsFont | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/scripts/createThemeIconsFont b/scripts/createThemeIconsFont new file mode 100755 index 0000000000..d95018ef62 --- /dev/null +++ b/scripts/createThemeIconsFont @@ -0,0 +1,61 @@ +#!/usr/local/bin/fontforge + +# use export FONTFORGE_LANGUAGE=ff before running the script + +# to install fontforge on mac, use "brew install fontforge" + +# Generated from FontAwesome 4.1: +# https://github.com/FortAwesome/Font-Awesome/raw/v4.1.0/fonts/FontAwesome.otf + +# Download the font to WebContent/VAADIN/themes/base/fonts/ and run +# the script there + +Open("FontAwesome.otf") + +# Icons used in themes +Select(0u0020) +SelectMore(0uf00c) +SelectMore(0uf013) +SelectMore(0uf032) +SelectMore(0uf033) +SelectMore(0uf036) +SelectMore(0uf037) +SelectMore(0uf038) +SelectMore(0uf03b) +SelectMore(0uf03c) +SelectMore(0uf03e) +SelectMore(0uf053) +SelectMore(0uf054) +SelectMore(0uf05e) +SelectMore(0uf073) +SelectMore(0uf078) +SelectMore(0uf0c1) +SelectMore(0uf0c9) +SelectMore(0uf0ca) +SelectMore(0uf0cb) +SelectMore(0uf0cc) +SelectMore(0uf0cd) +SelectMore(0uf0d7) +SelectMore(0uf0d8) +SelectMore(0uf0d9) +SelectMore(0uf0da) +SelectMore(0uf0dd) +SelectMore(0uf0de) +SelectMore(0uf100) +SelectMore(0uf101) +SelectMore(0uf104) +SelectMore(0uf105) +SelectMore(0uf127) +SelectMore(0uf12b) +SelectMore(0uf12c) +SelectMore(0uf12d) +SelectMore(0uf141) + +SelectInvert() +DetachAndRemoveGlyphs() + +Generate("themeicons.otf") + +# themeicons.otf converted to webfonts using http://www.fontsquirrel.com/tools/webfont-generator and +# themeicons-generator_config.txt + |