Consolig is a version of Consolas that supports ligatures. Unlike other efforts, all ligatures in Consolig were made by hand from the original Consolas glyphs (they are not just copied from another ligature font).
Because Consolas cannot be redistributed, this project provides the tools to append the ligature glyphs and features to your personal copy of Consolas, generating a copy of Consolig.
NOTE: Currently, all font styles use the same ligature glyphs. Making style-specific glyphs is on the roadmap.
/input
directory. On Windows, your Consolas files are located in /Windows/Fonts
on your OS drive. The valid filenames are:
consola.ttf
- Regularconsolab.ttf
- Boldconsolai.ttf
- Italicconsolaz.ttf
- Bold Italicpip install fontTools
python build.py
/build
directory.Check out the information about enabling ligatures provided by FiraCode here: https://github.com/tonsky/FiraCode/wiki#how-to-enable-ligatures I'll update this documentation soon with similar instructions, but for now, FiraCode's documentation will get you where you need to go (regarding the stylistic alternatives).
This version of Consolig is comparable to version 5.2 of FiraCode. Consolig now does everything FiraCode can do (including Powerline support), with the exception of their Console UI and Math features. However, that does mean that Consolig now has alternative glyph styles.
ss01
adds a bottom serif to lowercase R and lowercase Fss02
gives <=
and >=
an angled bottom bar (default is horizontal)ss03
swaps the traditional Consolas ampersand for a programming alternatess04
removes the middle bar from the traditional Consolas dollar signss05
swaps the traditional Consolas "at symbol" for a version with a partial loopss06
enables a thin backslash for escape charactersss07
enables regexp matchingss08
enables alternate double/triple equals with gaps (versus the triple bar)zero
enables a dotted zeroonum
enables old-style numeric glyphs