fontgen - nonlinear/canvas GitHub Wiki

Usage

  • move your *.ttf font to app/fontgen folder (check dafont for great ones)
  • rename your font file if you want
  • turn off gulp if running
  • run gulp fontgen
  • turn on gulp again

Configuration

  • edit app/sass/layout.sass (or any other .sass file in your pipeline)
  • type +font-face(FontFileName) to link font to CSS
  • to activate it on any CSS object, write font-family: FontFileName
  • to apply to all header objects:
    • edit app/sass/style.sass
    • on line 7, change variable to $font-title: FontFileName