1
1
mirror of https://github.com/i-tu/Hasklig.git synced 2024-07-14 13:50:33 +03:00
Hasklig - a code font with monospaced ligatures
Go to file
2020-11-17 12:16:44 +11:00
docs CSS: implement Variable Fonts where supported 2020-11-11 14:28:33 +01:00
emoji Preserving emoji work before branching and resetting this current branch. 2015-07-07 10:47:52 -07:00
Italic Updates copyright string to include year 2020. 2020-11-11 15:25:03 +11:00
Roman Updates copyright string to include year 2020. 2020-11-11 15:25:03 +11: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
addSVGtable.py Remove unused import 2019-10-04 10:33:51 -07:00
build.cmd Source Code Pro, Roman 2.032, Italic 1.052 Variable 1.012 2020-10-22 15:52:56 +11:00
build.sh Source Code Pro, Roman 2.032, Italic 1.052 Variable 1.012 2020-10-22 15:52:56 +11:00
buildVFs.sh Source Code Pro, Roman 2.032, Italic 1.052 Variable 1.012 2020-10-22 15:52:56 +11:00
familyGPOS.fea Move features.fea files inside the UFOs 2017-07-25 13:40:30 -07:00
familynameIDs.fea Refactor name table FEA 2017-07-25 08:56:00 -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
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
FontMenuNameDB Change font names in masters 2017-07-25 14:24:23 -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
LICENSE.md Update LICENSE 2019-09-05 16:49:32 -07:00
README.md Removed fonttools and fs dependencies 2020-11-12 01:27:00 +08: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

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