Skip to content
Monospaced font family for user interface and coding environments
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Italic Sparse master cannot be the default Apr 23, 2019
Roman Sparse master cannot be the default Apr 23, 2019
emoji Preserving emoji work before branching and resetting this current bra… Jul 7, 2015
svg Source Code Pro, version 2.025 (romans) & version 1.045 (italics) – A… May 25, 2016
.gitignore Update gitignore Feb 11, 2018
FontMenuNameDB Change font names in masters Jul 25, 2017
LICENSE.md File extension change Jul 25, 2017
README.md Update Readme.md Mar 17, 2019
addSVGtable.py [addSVGtable.py] Remove fontTools workaround Jan 19, 2018
build.cmd Update build scripts Jul 26, 2017
build.sh Revert "Change fontWeigts variable in `build.sh` to compatible with zsh" Oct 13, 2017
buildVFs.sh Make tool names lowercase so the commands don't fail on Linux Feb 24, 2018
familyGPOS.fea Move features.fea files inside the UFOs Jul 25, 2017
familyOS2.fea rrefactoring of feature files Jan 21, 2017
familyTables.fea Move features.fea files inside the UFOs Jul 25, 2017
familyWidthsAdjust.fea rrefactoring of feature files Jan 21, 2017
familynameIDs.fea Refactor name table FEA Jul 25, 2017
features.fea Refactor name table FEA Jul 25, 2017
featuresVar.fea Implement nameID 25 Jul 26, 2017
index_to_resources.txt Preserves changes previous to Miguel’s push. In the middle of adding … Jun 5, 2015
relnotes.txt Updates formatting of <relnotes.txt> file. Jun 8, 2016
uvs.txt Updates UVS file to remove inline comments. May 25, 2016

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. In addition to a functional OpenType font, this open source project provides all of the source files that were used to build this OpenType font by using the AFDKO makeotf tool.

Download the fonts (OTF, TTF, WOFF, WOFF2, EOT)

Font installation instructions

  • macOS
  • Windows
  • Linux/Unix-based systems
  • Homebrew (macOS)
    brew tap homebrew/cask-fonts && brew cask install font-source-code-pro
  • Pacman (Arch Linux)
    pacman -S adobe-source-code-pro-fonts
  • dnf (Fedora)
    sudo dnf install adobe-source-code-pro-fonts
  • pkg(8) (FreeBSD)
    pkg install sourcecodepro-ttf
  • Bower
    bower install git://github.com/adobe-fonts/source-code-pro.git#release
  • npm 2.x
    npm install --fetch-only git://github.com/adobe-fonts/source-code-pro.git#release
  • npm 3.x
    npm install git://github.com/adobe-fonts/source-code-pro.git#release

Building the fonts from source

Requirements

To build the binary font files from source, you need to have installed the Adobe Font Development Kit for OpenType (AFDKO). The AFDKO tools are widely used for font development today, and are part of most font editor applications.

Building one font

The key to building OTF or TTF fonts is makeotf, which is part of the AFDKO toolset. Information and usage instructions can be found by executing makeotf -h.

In this repository, all necessary files are in place for building the OTF and TTF fonts. For example, build a binary OTF font for the Regular style like this:

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

Building all fonts

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

$ ./build.sh

or this on Windows:

> build.cmd

Getting Involved

Send suggestions for changes to the Source Code OpenType font project maintainer, Paul D. Hunt, for consideration.

Further information

For information about the design and background of Source Code, please refer to the official font readme file.

You can’t perform that action at this time.