• slidebg1
    A TYPEFACE DESIGNED FOR SOURCE CODE
    Designed for the screen.
    Open source.
    Libre.
  • slidebg1
    HACK-ABLE
    Widely supported UFO format source code.
    Hack away with any modern font editing tool & customize it to your needs.

A Family of Four Faces

Hack includes monospaced regular, bold, oblique, and bold oblique sets to cover all of your syntax highlighting needs.

Multilingual

Over 1500 glyphs that include lovingly tuned expanded Latin, modern Greek, and Cyrillic character sets.

Powerline Support

Powerline glyphs are included in the regular set. Patching is not necessary. Install and go.

A Workhorse for Code

No frills. No gimmicks.
Hack is hand groomed and optically balanced to be your go-to code face.

1534

Glyphs

60

Contributors

Features

Metrics & Style

Type design features to improve legibility in the harsh conditions of the screen.

  • Minimal stroke contrast
  • Large x-height
  • Open counters
  • Wide apertures
  • Sturdy terminals

Type Traits

Functional
with a bit of personality

  • Oval fill in the zero counter
  • Curved tails on select glyphs
  • Rounded square alphabetic points
  • Round analphabetic points
  • Semi-bold punctuation weight
  • Angled vertical tails & extenders
  • Widely set punctuation

Free and Open Source

A libre typeface with generous licensing that permits modification & commercial use

  • Free to modify
  • Free for print, desktop, & web
  • Free for commercial use
  • Free to redistribute
  • Free of cost

A typeface in the Bitstream Vera lineage

Hack has deep roots in the libre, open source typeface community and includes the contributions of the Bitstream Vera & DejaVu projects.

The face has been re-designed with an expanded glyph set, modifications of the original glyph shapes, and meticulous attention to metrics.

The Cast of Characters

Letters, punctuation, and symbols are well-balanced and easily distinguished.

The regular weight is comfortable to read at the small text sizes used for source code development.

Click either image above for a full type specimen.

Source Examples

Distinct Glyph Shapes

A Handful of Serifs

Strategically placed serifs improve the rhythm of the monospaced text by eliminating large gaps on each side of narrow characters and help to distinguish glyphs like the lowercase l and number 1 at small text sizes.

Weight and Spacing

The punctuation characters were designed with a heavier semi-bold weight in the regular font and are set with wide sidebearings on the side adjacent to alphabetic characters. These design strategies emphasize these important analphabetic characters and make them more apparent (or less transparent) in your code.

Confused characters in source code

Grab the carousel images and drag to the left or right to view other commonly confused characters.

Try It

Want to give Hack a try?

Select a build format and have at it.

TrueType (.ttf) Web Fonts

Other build formats.

Web Font CDN

Basic Latin + Latin-1 Supplement Set

//cdn.jsdelivr.net/font-hack/2.013/css/hack.min.css

Full Set

//cdn.jsdelivr.net/font-hack/2.013/css/hack-extended.min.css

Learn more about desktop and web font usage.