Mozilla's Zilla Slab Type Family
Перейти к файлу
Alex Gibson 6dcec520f9
Merge pull request #39 from shoorick/typo
Fix typos
2021-01-04 09:12:31 +00:00
sources Fix typos 2021-01-02 22:45:27 +05:00
.gitignore Inherit repo from https://bitbucket.org/m4rc1e/zillaslab 2017-05-22 11:10:03 +01:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-30 00:09:43 -07:00
LICENSE Reverted license filename 2017-07-05 09:52:35 +01:00
README.md update ttfautohint dependency information 2017-10-23 00:34:44 +05:30
requirements.txt requirements added 2017-05-24 09:27:18 +01:00

README.md

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