Skip to content

mozilla/zilla-slab

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
January 2, 2021 22:45
July 5, 2017 09:52

Zilla Slab

A custom family for Mozilla by Typotheque

Download

To quickly grab the generated fonts you can download the latest release. You can also find Zilla Slab hosted on Google Fonts and Mozilla's own CDN to reference in your projects directly. If you would like to generate the fonts from their original source, read on.

Installation

virtualenv env
source env/bin/activate

pip install -r requirements.txt

Dependencies to generate webfonts

  • ttfautohint
  • sfnt2woff
  • woff2

Install on MacOS

brew tap bramstein/webfonttools
brew update
brew install ttfautohint
brew install bramstein/webfonttools/sfnt2woff
brew install bramstein/webfonttools/woff2

Install on Linux

Install the dependencies with the respective package manager for your distribution (eg. apt - Debian-based systems, dnf - Red Hat-based systems, etc)

Note : Compiling woff2 from source is fairly easy with no additional dependencies (other than the included submodules - brotli, terryfy, esaxx).

Debian-based systems (aptitude | apt)

apt install ttfautohint woff-tools

Generating fonts

build whilst env virtualenv is active

cd sources
sh build.sh