You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Paul D. Hunt 992a20b872
Merge pull request #259 from adobe-fonts/SVGpatch
2 years ago
Italic Source Code Pro, version 2.038 (roman), version 1.058 (italic), version 1.018 (VAR) 2 years ago
Roman Source Code Pro, version 2.038 (roman), version 1.058 (italic), version 1.018 (VAR) 2 years ago
docs Replaces WOFF/2 fonts with updated versions. 2 years ago
emoji Preserving emoji work before branching and resetting this current branch. 7 years ago
.gitignore Update gitignore 5 years ago
FontMenuNameDB Change font names in masters 5 years ago
LICENSE.md Checks in WIP, Italic bit in VAR fonts seems to be properly set now. 2 years ago
README.md Removed `fonttools` and `fs` dependencies 2 years ago
build.cmd Checks in WIP, Italic bit in VAR fonts seems to be properly set now. 2 years ago
build.sh Source Code Pro, Roman 2.032, Italic 1.052 Variable 1.012 2 years ago
buildVFs.sh Source Code Pro, Roman 2.032, Italic 1.052 Variable 1.012 2 years ago
familyGPOS.fea Move features.fea files inside the UFOs 5 years ago
familyOS2.fea rrefactoring of feature files 6 years ago
familyTables.fea Fixes to include() paths 4 years ago
familyWidthsAdjust.fea rrefactoring of feature files 6 years ago
familynameIDs.fea Checks in WIP, Italic bit in VAR fonts seems to be properly set now. 2 years ago
familynameIDsVar.fea Checks in WIP, Italic bit in VAR fonts seems to be properly set now. 2 years ago
features.fea Refactor name table FEA 5 years ago
featuresVar.fea Checks in WIP, Italic bit in VAR fonts seems to be properly set now. 2 years ago
index_to_resources.txt Preserves changes previous to Miguel’s push. In the middle of adding triangular bullets. 8 years ago
relnotes.txt Source Code Pro, version 2038 (roman), version 1.058 (italic), version 1,018 (variable)— 2 years ago

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