Skip to content

Latest commit

 

History

History
63 lines (37 loc) · 1.61 KB

README.md

File metadata and controls

63 lines (37 loc) · 1.61 KB

Source Serif

Source Serif is an open-source typeface to complement the Source Sans family.

Getting Involved

Please open an issue to start the discussion.

Releases

Building the fonts from source

Requirements

To build the binary font files from source, you need to have the Adobe Font Development Kit for OpenType (AFDKO) installed.

Building one font

The key to building OTF fonts is makeotf, which is part of the AFDKO toolkit. Information and usage instructions can be found by executing makeotf -h. TTFs are generated with the otf2ttf and ttfcomponentizer tools.

Commands to build the Regular style OTF font:

$ cd /Roman/Instances/Text/Regular
$ makeotf -r

Commands to generate the Regular style TTF font:

$ otf2ttf SourceSerifPro-Regular.otf
$ ttfcomponentizer SourceSerifPro-Regular.ttf

Building all static fonts

For convenience, a shell script named build.sh is provided in the root directory. It builds all OTFs and TTFs, and can be executed by typing:

$ ./build.sh

Building variable fonts

To build the variable TTFs you must install fontmake:

$ pip install fontmake

A shell script named buildVFs.sh is provided in the root directory. It generates four variable fonts (two CFF2-OTFs and two TTFs), and can be executed by typing:

$ ./buildVF.sh