Go to file
Paul D. Hunt 726dd19117 Replaces WOFF/2 fonts with updated versions. 2021-01-15 14:00:47 +11:00
Italic Source Code Pro, version 2.038 (roman), version 1.058 (italic), version 1.018 (VAR) 2021-01-07 19:07:22 +11:00
Roman Source Code Pro, version 2.038 (roman), version 1.058 (italic), version 1.018 (VAR) 2021-01-07 19:07:22 +11:00
docs Replaces WOFF/2 fonts with updated versions. 2021-01-15 14:00:47 +11:00
emoji Preserving emoji work before branching and resetting this current branch. 2015-07-07 10:47:52 -07:00
.gitignore Update gitignore 2018-02-11 02:26:09 -08:00
FontMenuNameDB Change font names in masters 2017-07-25 14:24:23 -07:00
LICENSE.md Checks in WIP, Italic bit in VAR fonts seems to be properly set now. 2020-12-16 13:28:44 +11:00
README.md Removed `fonttools` and `fs` dependencies 2020-11-12 01:27:00 +08:00
build.cmd Checks in WIP, Italic bit in VAR fonts seems to be properly set now. 2020-12-16 13:28:44 +11:00
build.sh Source Code Pro, Roman 2.032, Italic 1.052 Variable 1.012 2020-10-22 15:52:56 +11:00
buildVFs.sh Source Code Pro, Roman 2.032, Italic 1.052 Variable 1.012 2020-10-22 15:52:56 +11:00
familyGPOS.fea Move features.fea files inside the UFOs 2017-07-25 13:40:30 -07:00
familyOS2.fea rrefactoring of feature files 2017-01-21 10:39:26 -08:00
familyTables.fea Fixes to include() paths 2019-06-07 01:34:25 -07:00
familyWidthsAdjust.fea rrefactoring of feature files 2017-01-21 10:39:26 -08:00
familynameIDs.fea Checks in WIP, Italic bit in VAR fonts seems to be properly set now. 2020-12-16 13:28:44 +11:00
familynameIDsVar.fea Checks in WIP, Italic bit in VAR fonts seems to be properly set now. 2020-12-16 13:28:44 +11:00
features.fea Refactor name table FEA 2017-07-25 08:56:00 -07:00
featuresVar.fea Checks in WIP, Italic bit in VAR fonts seems to be properly set now. 2020-12-16 13:28:44 +11:00
index_to_resources.txt Preserves changes previous to Miguel’s push. In the middle of adding triangular bullets. 2015-06-04 18:27:09 -07:00
relnotes.txt Updates release notes file (relnotes.txt). 2021-01-06 22:51:30 +11:00

README.md

Source Code Pro

Source Code Pro is a set of OpenType fonts that have been designed to work well in user interface (UI) environments.

Getting involved

Open an issue or send a suggestion to Source Code's designer Paul D. Hunt, for consideration.

Releases

Building the fonts from source

Requirements

To build the binary font files from source, you need Python 3 along with the Adobe Font Development Kit for OpenType (AFDKO) and FontTools packages, which you can install with

pip3 install afdko

Building one font

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

Commands to build the Regular style OTF font:

cd Roman/Instances/Regular/
makeotf -r -gs -omitMacNames

Commands to generate the Regular style TTF font:

otf2ttf SourceCodePro-Regular.otf
ttfcomponentizer SourceCodePro-Regular.ttf

Building all non-variable fonts

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

./build.sh

or this on Windows:

build.cmd

Building the variable fonts

To build the variable TTFs you must install fontmake using this command:

pip3 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:

./buildVFs.sh