Skip to content

font-face generator for creating browser usable fonts from otf

Notifications You must be signed in to change notification settings

fontstore/fontfacemaker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Fontface Maker

Based on fontfacegen without using Node.

Take an otf then generate the required ttf, woff, woff2 and css for web usage.

Getting started

Prerequisites

  • Fontforge
  • woff2_compress

Installing on OS X

On OS X, install with Homebrew:

brew tap bramstein/webfonttools
brew update
brew install fontforge woff2

Installing on Ubuntu

Clone, build and add to your $PATH woff2_compress. Then with apt:

apt install fontforge

Usage

Generate webfonts

make fonts FONT_PATH=/path/to/a_font.otf

Generate webfonts and CSS file

make css FONT_PATH=/path/to/a_font.otf

Generate webfonts and SASS file

make sass FONT_PATH=/path/to/a_font.otf

Change output directory

make fonts FONT_PATH=/path/to/a_font.otf DEST=/my/dir/to-output-generated-fonts

About

font-face generator for creating browser usable fonts from otf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%