2013-04-29 22:49:25 +04:00
# Source Code Pro
2012-08-10 03:14:03 +04:00
2012-09-21 04:06:26 +04:00
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.
2015-07-15 01:59:08 +03:00
## Download the fonts (OTF, TTF, WOFF, WOFF2, EOT)
2012-09-25 02:35:10 +04:00
2014-08-27 22:30:48 +04:00
* [Latest release ](../../releases/latest )
* [All releases ](../../releases )
2013-04-29 10:41:56 +04:00
2014-08-27 22:30:48 +04:00
## Font installation instructions
2012-09-25 02:35:10 +04:00
2017-03-23 09:26:40 +03:00
* [macOS ](https://support.apple.com/en-us/HT201749 )
2015-08-21 17:01:03 +03:00
* [Windows ](https://www.microsoft.com/en-us/Typography/TrueTypeInstall.aspx )
2014-08-27 22:30:48 +04:00
* [Linux/Unix-based systems ](https://github.com/adobe-fonts/source-code-pro/issues/17#issuecomment-8967116 )
2017-12-08 21:08:12 +03:00
* Homebrew (macOS)< br />
2018-12-06 05:44:10 +03:00
`brew tap homebrew/cask-fonts && brew cask install font-source-code-pro`
2018-09-21 18:29:20 +03:00
* Pacman (Arch Linux)< br />
`pacman -S adobe-source-code-pro-fonts`
2019-03-17 22:16:17 +03:00
* dnf (Fedora)< br />
`sudo dnf install adobe-source-code-pro-fonts`
2019-02-17 23:58:05 +03:00
* [pkg(8) ](https://man.freebsd.org/pkg/8 ) (FreeBSD)< br />
`pkg install sourcecodepro-ttf`
2015-09-18 13:51:19 +03:00
* Bower< br />
2015-09-18 11:15:18 +03:00
`bower install git://github.com/adobe-fonts/source-code-pro.git#release`
2015-12-03 09:25:18 +03:00
* npm 2.x< br />
2015-09-18 13:51:19 +03:00
`npm install --fetch-only git://github.com/adobe-fonts/source-code-pro.git#release`
2015-12-03 09:25:18 +03:00
* npm 3.x< br />
`npm install git://github.com/adobe-fonts/source-code-pro.git#release`
2012-09-25 02:35:10 +04:00
2014-08-27 22:30:48 +04:00
## Building the fonts from source
2012-09-25 02:35:10 +04:00
2013-04-29 22:49:25 +04:00
### Requirements
2012-09-25 02:35:10 +04:00
2013-04-29 22:49:25 +04:00
To build the binary font files from source, you need to have installed the
[Adobe Font Development Kit for OpenType ](http://www.adobe.com/devnet/opentype/afdko.html ) (AFDKO). The AFDKO
tools are widely used for font development today, and are part of most font
editor applications.
2012-09-25 02:35:10 +04:00
2013-04-29 22:49:25 +04:00
### Building one font
2012-09-25 02:35:10 +04:00
2015-07-15 01:59:08 +03:00
The key to building OTF or TTF fonts is `makeotf` , which is part of the AFDKO toolset.
2012-09-25 02:35:10 +04:00
Information and usage instructions can be found by executing `makeotf -h` .
2015-07-15 01:59:08 +03:00
In this repository, all necessary files are in place for building the OTF and TTF fonts.
2012-09-25 02:35:10 +04:00
For example, build a binary OTF font for the Regular style like this:
2013-05-01 05:32:57 +04:00
```sh
2017-11-12 19:43:55 +03:00
$ cd Roman/Instances/Regular/
2013-05-01 05:32:57 +04:00
$ makeotf -r
```
2012-09-25 02:35:10 +04:00
2013-04-29 22:49:25 +04:00
### Building all fonts
2012-09-25 02:35:10 +04:00
2015-08-31 21:16:10 +03:00
For convenience, a shell script named **build** is provided in the root directory.
2012-09-25 02:35:10 +04:00
It builds all OTFs and TTFs, and can be executed by typing:
2013-05-01 05:32:57 +04:00
```sh
$ ./build.sh
```
2012-09-25 02:35:10 +04:00
2015-08-31 21:16:10 +03:00
or this on Windows:
```sh
> build.cmd
```
2013-04-29 22:49:25 +04:00
## Getting Involved
2012-09-25 02:35:10 +04:00
2017-03-23 03:20:16 +03:00
Send suggestions for changes to the Source Code OpenType font project maintainer, [Paul D. Hunt ](mailto:opensourcefonts@adobe.com?subject=[GitHub]%20Source%20Code%20Pro ), for consideration.
2012-12-07 08:09:16 +04:00
2014-08-27 22:30:48 +04:00
## Further information
2012-09-27 22:27:42 +04:00
2016-09-06 22:50:33 +03:00
For information about the design and background of Source Code, please refer to the [official font readme file ](https://www.adobe.com/products/type/font-information/source-code-pro-readme-file.html ).