Go to file
Miguel Sousa 01b97528a2 Remove unused import 2019-10-04 10:33:51 -07:00
Italic Remove uniFE0E (text) and uniFE0F (emoji) glyphs from font.ttf files 2019-07-18 10:59:20 -07:00
Roman Remove uniFE0E (text) and uniFE0F (emoji) glyphs from font.ttf files 2019-07-18 10:59:20 -07:00
docs Use 'docs' folder instead of 'gh-pages' branch to hold web page assets 2019-09-05 16:46:11 -07:00
emoji Preserving emoji work before branching and resetting this current branch. 2015-07-07 10:47:52 -07:00
svg Source Code Pro, version 2.025 (romans) & version 1.045 (italics) – Adds provisional anchors for Athabaskan goners (not implemented). Regenerates instance UFOs. Fixes names of a couple SVG files to match final glyph names in fonts. Recompiles fonts with UVSes. 2016-05-25 17:59:20 +10: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 Update LICENSE 2019-09-05 16:49:32 -07:00
README.md updated README 2019-09-10 15:26:20 -07:00
addSVGtable.py Remove unused import 2019-10-04 10:33:51 -07:00
build.cmd Update build scripts 2017-07-26 00:25:55 -07:00
build.sh mark build scripts as bash 2019-09-10 15:26:20 -07:00
buildVFs.sh mark build scripts as bash 2019-09-10 15:26:20 -07: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 Refactor name table FEA 2017-07-25 08:56:00 -07:00
features.fea Refactor name table FEA 2017-07-25 08:56:00 -07:00
featuresVar.fea Fixes to include() paths 2019-06-07 01:34:25 -07: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 formatting of <relnotes.txt> file. 2016-06-09 07:57:01 +10:00
uvs.txt Add text representation Emoji Variation Sequences (EVSes) 2019-07-15 22:34:15 -07: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 fonttools

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