summaryrefslogtreecommitdiffstats
path: root/scripts/createThemeIconsFont
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-10-01 22:37:21 +0300
committerVaadin Code Review <review@vaadin.com>2015-10-07 09:23:54 +0000
commit869b795e6478c34e6593b5f6ace2fe265973ebbd (patch)
tree7c9b59cf447de79494ddd6977d3551622591ad3d /scripts/createThemeIconsFont
parentbe3cc216f2826a50a66c4473c638a7137ee823de (diff)
downloadvaadin-framework-869b795e6478c34e6593b5f6ace2fe265973ebbd.tar.gz
vaadin-framework-869b795e6478c34e6593b5f6ace2fe265973ebbd.zip
Change ValoIcons to ThemeIcons and moved to base (#18472)
Change-Id: I7122252e9b238fdca0383d0698623fe5a9e3f262
Diffstat (limited to 'scripts/createThemeIconsFont')
-rwxr-xr-xscripts/createThemeIconsFont61
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
+