A typeface designed for source code
Go to file
2016-05-23 19:11:24 -04:00
build new v2.020 archives 2016-04-25 20:05:52 -04:00
docs removed unnecessary repetitive data (already included in the readme) 2016-05-23 19:11:24 -04:00
img added link to Font Playground on readme 2015-10-06 20:26:40 -04:00
postbuild_processing updated archive prep script 2016-04-25 20:05:37 -04:00
source updated name table 2016-04-25 20:25:23 -04:00
tools clarified details of fonts that are modified in script header 2016-04-04 23:41:02 -04:00
.gitignore added gitignore file 2015-09-26 16:50:56 -04:00
CHANGELOG.md changelog updates v2.020 2016-04-26 15:22:01 -04:00
LICENSE.md added updated Hack Open Font license to the source 2015-09-27 17:34:23 -04:00
package.json updated package.json for v2.020 2016-04-25 20:23:39 -04:00
README.md updated package manager list, minor text updates, added preformatted text to CSS formatting recommendations 2016-05-23 19:06:15 -04:00

Hack Contributors

A typeface designed for source code

Hack is designed to be a workhorse typeface 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 project is in active development. We welcome your input and contributions.

Contents

The font binaries are released under a license that permits unlimited print, desktop, and web use for commercial and non-commercial applications. For additional details about licensing, please see LICENSE.md.

Hack — a typeface designed for source code

Quick installation

NOTE ON FONT UPDATES If you are updating your version of Hack, be sure to remove the previously installed version and clear your font cache first to avoid conflicts that can lead to platform-specific rendering errors. Many platforms/distros offer package managers that automate this process. We release a Windows installer to automate the install/update process on the Windows platform. See below for additional details.

Mac OS X and Linux

  1. Download the latest version of Hack.
  2. Extract the files from the archive (.zip) and click to open them.
  3. Follow the instructions from your operating system.
  4. Enjoy!

Windows

To simplify the installation process on Windows systems, we've created the Hack Windows Installer which will guide you through the installation process. This installer addresses a number of common rendering issues that occur with font installs/updates on the Windows platform and is the recommended approach for Windows users.

Font release recommendations

For general screen use on the desktop, we recommend the TrueType (.ttf) version of Hack for most users. OTF builds are available for those who prefer this font format. For detailed installation instructions, see INSTALLATION.md.

Package managers

Because Hack is under active development and updates are released frequently, we highly recommended the convenience of a package manager or other auto-updating utility if this is available on your platform. While the package manager releases may be a bit delayed relative to the repository releases, the package managers automate and simplify font updates on your system.

We are aware of Hack support in the following package managers (with associated package names):

  • Arch Linux: ttf-hack
  • Chocolatey (Windows): hackfont
  • Debian: fonts-hack-ttf
  • Fedora / CentOS: dnf-plugins-core :: heliocastro/hack-fonts :: hack-fonts
  • Gentoo Linux: media-fonts/hack
  • Homebrew Cask (OS X): caskroom/fonts/font-hack
  • Ubuntu: fonts-hack-ttf
  • Visual Studio Package Manager: hack.font

Details on package manager use and advanced manual desktop installation options can be found in INSTALLATION.md.

Web font usage

Hack is available in all commonly used web font formats. See WEBFONT_USAGE.md for more details, or use the snippets below to quickly include Hack via a CDN (thanks to the generous gang at jsDelivr). Bold and italic styles are included by default and work out-of-the-box via the <strong> and <em> tags.

<head> Section of HTML file

<link rel="stylesheet" href="//cdn.jsdelivr.net/font-hack/2.020/css/hack.min.css">

CSS file

pre, code { font-family: Hack, monospace; }

Additional tools for Hack font customization

font-line is a tool that lets you easily modify the default line spacing of Hack (20% UPM). See the font-line repository for more details, and be sure to check out the line-spacing directory of the repository for shell scripts that automate the entire process across several commonly used line spacing defaults.

Overview of features

  • Typeface Name: Hack
  • Category: Monospaced
  • Powerline Support: Yes
  • Number of Glyphs: 1561
  • Included Styles: Regular, Bold, Italic, Bold Italic
  • Latest Release: v2.020 (2016-04-29)

Resources

License

Hack © 2015-2016, Christopher Simpkins (with Reserved Font Name Hack).

Bitstream Vera Sans Mono © 2003 Bitstream, Inc. (with Reserved Font Names Bitstream and Vera).

See LICENSE.md for the full texts of the licenses.