You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

createThemeIconsFont 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #!/usr/local/bin/fontforge
  2. # use export FONTFORGE_LANGUAGE=ff before running the script
  3. # to install fontforge on mac, use "brew install fontforge"
  4. # Generated from FontAwesome 4.1:
  5. # https://github.com/FortAwesome/Font-Awesome/raw/v4.1.0/fonts/FontAwesome.otf
  6. # Download the font to WebContent/VAADIN/themes/base/fonts/ and run
  7. # the script there
  8. Open("FontAwesome.otf")
  9. # Icons used in themes
  10. Select(0u0020)
  11. SelectMore(0uf00c)
  12. SelectMore(0uf013)
  13. SelectMore(0uf032)
  14. SelectMore(0uf033)
  15. SelectMore(0uf036)
  16. SelectMore(0uf037)
  17. SelectMore(0uf038)
  18. SelectMore(0uf03b)
  19. SelectMore(0uf03c)
  20. SelectMore(0uf03e)
  21. SelectMore(0uf053)
  22. SelectMore(0uf054)
  23. SelectMore(0uf05e)
  24. SelectMore(0uf073)
  25. SelectMore(0uf078)
  26. SelectMore(0uf0c1)
  27. SelectMore(0uf0c9)
  28. SelectMore(0uf0ca)
  29. SelectMore(0uf0cb)
  30. SelectMore(0uf0cc)
  31. SelectMore(0uf0cd)
  32. SelectMore(0uf0d7)
  33. SelectMore(0uf0d8)
  34. SelectMore(0uf0d9)
  35. SelectMore(0uf0da)
  36. SelectMore(0uf0dd)
  37. SelectMore(0uf0de)
  38. SelectMore(0uf100)
  39. SelectMore(0uf101)
  40. SelectMore(0uf104)
  41. SelectMore(0uf105)
  42. SelectMore(0uf127)
  43. SelectMore(0uf12b)
  44. SelectMore(0uf12c)
  45. SelectMore(0uf12d)
  46. SelectMore(0uf141)
  47. SelectInvert()
  48. DetachAndRemoveGlyphs()
  49. Generate("themeicons.otf")
  50. # themeicons.otf converted to webfonts using http://www.fontsquirrel.com/tools/webfont-generator and
  51. # themeicons-generator_config.txt