Skip to content
This repository has been archived by the owner. It is now read-only.
A version of Inconsolata with Ligatures for JavaScript
Branch: master
Clone or download
Silverwolf90 and Cyril Silverman Add unmentioned ligatures to readme (+3 squashed commit)
Squashed commit:

[7fa0f57] Update README.md

[2d83f14] Update README.md

[dcfbe06] Update README.md
Latest commit ec7d803 Jan 31, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Inconsolata.otf Initial commit Jan 31, 2016
Inconsolata.sfd Initial commit Jan 31, 2016
README.md Add unmentioned ligatures to readme (+3 squashed commit) Feb 1, 2016

README.md

Inconsolata + JavaScript Ligatures

This is the font Inconsolata with some ligatures mostly useful for people writing JavaScript. There are a few other modifications in addition to the ligatures. All the ligatures were originally taken from Fira Code although I made some slight modifications.

I've never used FontForge before and I kind of stumbled through the program, so it's more than likely I didn't do stuff according to best practices but it seems to work (on Windows 7 in Atom, untested anywhere else).

Ligatures

  • === Strict equal
  • !== Strict not equal
  • => Arrow Functions
  • <= Less than or equal to
  • >= Greater than or equal to
  • || Or
  • && And
  • // Comment
  • -> Thin Arrow
  • :: function bind operator proposal

Before

After

This is a bit opinionated, as I never use == and != so I have the strict versions only take up 2 characters instead of 3.

Other Modifications

  • Single and Double quotes are now straight - used the glyphs in Inconsolata-dz
  • The bottom of square braces [] are extended to match parentheses () and curly braces {}

Usage in Atom

The editor Atom supports ligatures through the following:

atom-text-editor {
  font-family: 'Inconsolata', 'Courier New', Courier;
  text-rendering: optimizeLegibility;
}
You can’t perform that action at this time.