mirror of
https://github.com/i-tu/Hasklig.git
synced 2024-10-26 04:29:37 +03:00
58c9e0feb0
adding fedora install instructions
77 lines
2.7 KiB
Markdown
77 lines
2.7 KiB
Markdown
# 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)
|
|
|
|
* [Latest release](../../releases/latest)
|
|
* [All releases](../../releases)
|
|
|
|
## Font installation instructions
|
|
|
|
* [macOS](https://support.apple.com/en-us/HT201749)
|
|
* [Windows](https://www.microsoft.com/en-us/Typography/TrueTypeInstall.aspx)
|
|
* [Linux/Unix-based systems](https://github.com/adobe-fonts/source-code-pro/issues/17#issuecomment-8967116)
|
|
* Homebrew (macOS)<br/>
|
|
`brew tap homebrew/cask-fonts && brew cask install font-source-code-pro`
|
|
* Pacman (Arch Linux)<br/>
|
|
`pacman -S adobe-source-code-pro-fonts`
|
|
* dnf (Fedora)<br/>
|
|
`sudo dnf install adobe-source-code-pro-fonts`
|
|
* [pkg(8)](https://man.freebsd.org/pkg/8) (FreeBSD)<br/>
|
|
`pkg install sourcecodepro-ttf`
|
|
* Bower<br/>
|
|
`bower install git://github.com/adobe-fonts/source-code-pro.git#release`
|
|
* npm 2.x<br/>
|
|
`npm install --fetch-only git://github.com/adobe-fonts/source-code-pro.git#release`
|
|
* npm 3.x<br/>
|
|
`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](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.
|
|
|
|
### 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:
|
|
|
|
```sh
|
|
$ 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:
|
|
|
|
```sh
|
|
$ ./build.sh
|
|
```
|
|
|
|
or this on Windows:
|
|
|
|
```sh
|
|
> build.cmd
|
|
```
|
|
|
|
## Getting Involved
|
|
|
|
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.
|
|
|
|
## Further information
|
|
|
|
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).
|