A typeface designed for source code
Go to file
2015-08-16 11:53:05 -04:00
build new hinted ttf build files 2015-08-15 17:10:31 -04:00
img added JS source mockup image 2015-08-15 21:24:44 -04:00
prebuild new hinted ttf build files 2015-08-15 17:10:31 -04:00
source modified the upper case upsilon tonos, increased space between the tonos and main glyph 2015-08-12 23:21:47 -04:00
CHANGELOG.md added contributors list 2015-08-16 11:53:05 -04:00
CONTRIBUTORS.md added contributors list 2015-08-16 11:53:05 -04:00
LICENSE.md updated license 2015-08-15 21:41:49 -04:00
README.md added contributors list 2015-08-16 11:53:05 -04:00

Hack

A typeface designed for source code

Hack-a monospaced sans-serif font for source code
C source code example
Python source code example
JavaScript source code example

About

No frills. No gimmicks. Hack is hand groomed and optically balanced to be a workhorse face for code.

It has deep roots in the libre, open source typeface community and expands upon the contributions of the Bitstream Vera & DejaVu projects. The face has been re-designed with a larger glyph set, modifications of the original glyph shapes (including distinct point styles and semi-bold punctuation weight in the regular set to make analphabetic characters less transparent), and meticulous attention to metrics (including numerous spacing adjustments to improve the rhythm of the face and the legibility of code at small text sizes). The large x-height + wide aperture + low contrast design combined with Type 1 hinting/hint replacement programs and a TrueType instruction set make it highly legible at commonly used source code text sizes with a sweet spot that runs in the 8px - 12px range on modern desktop and laptop monitors. Combine it with an HD monitor and you can comfortably work at 6 or 7px sizes.

The font binaries are released under a license that permits unlimited print, desktop, and web use for commercial and non-commercial applications. It may be embedded and distributed in documents and applications. The source is released in the widely supported UFO format and may be modified to derive new typeface branches. The full text of the license is available in LICENSE.md

Data

  • Typeface Name: Hack
  • Category: Monospaced
  • Character Set Support: Extended Latin, modern Greek, Cyrillic, Vietnamese, pan-African, Georgian, Armenian
  • Powerline Support: Yes
  • Glyph Number: 1534
  • Included Styles: Regular, Bold, Oblique, Bold Oblique

Specimen

Hack font specimen

Click the image for the full type specimen.

Changes

Font changes are in the Changelog.

Download and Install for Desktop Use

Desktop Use

The .ttf files are recommended for Windows and Linux users. OS X users can install the .ttf or .otf files.

Web Font Use

DESCRIPTION

Build Binaries

Desktop Fonts

TrueType
  • build/ttf/Hack-Regular.ttf
  • build/ttf/Hack-Bold.ttf
  • build/ttf/Hack-Oblique.ttf
  • build/ttf/Hack-BoldOblique.ttf
OpenType
  • build/otf/Hack-Regular.otf
  • build/otf/Hack-Bold.otf
  • build/otf/Hack-Oblique.otf
  • build/otf/Hack-BoldOblique.otf

Web Fonts

EOT
  • build/eot/hack-regular-webfont.eot
  • build/eot/hack-bold-webfont.eot
  • build/eot/hack-regularoblique-webfont.eot
  • build/eot/hack-boldoblique-webfont.eot
SVG
  • build/svg/hack-regular-webfont.svg
  • build/svg/hack-bold-webfont.svg
  • build/svg/hack-regularoblique-webfont.svg
  • build/svg/hack-boldoblique-webfont.svg
WOFF
  • build/woff/hack-regular-webfont.woff
  • build/woff/hack-bold-webfont.woff
  • build/woff/hack-regularoblique-webfont.woff
  • build/woff/hack-boldoblique-webfont.woff
WOFF2
  • build/woff2/hack-regular-webfont.woff2
  • build/woff2/hack-bold-webfont.woff2
  • build/woff2/hack-regularoblique-webfont.woff2
  • build/woff2/hack-boldoblique-webfont.woff2

License

Modified Version ("Hack") Copyright (c) 2015, Christopher Simpkins with Reserved Font Name Hack.
MODIFIED SIL OPEN FONT LICENSE & BITSTREAM VERA LICENSE

Original Version ("Bitstream Vera Sans Mono") Copyright (c) 2003 Bitstream, Inc. with Reserved Font Names Bitstream and Vera
BITSTREAM VERA LICENSE

The full text of these licenses is available in LICENSE.md