Bez popisu

Chris Simpkins 4748b6efac adds ASCII + Latin-1 + Latin Extended A glyph name list to lib.plist for subset builds před 7 roky
build 66e64f3eee modified web font directory path před 7 roky
docs 9f9c34f36d Merge branch 'mavit-make' into dev-build-scripts před 7 roky
img e244a52462 added link to Font Playground on readme před 9 roky
postbuild_processing feeb927fa6 added fontbakery fstype and DSIG table fixes to build před 7 roky
source 4748b6efac adds ASCII + Latin-1 + Latin Extended A glyph name list to lib.plist for subset builds před 7 roky
tools d488635791 adds ttfautohint-build.sh shell script updates from Werner Lemberg (https://github.com/source-foundry/Hack/issues/227#issuecomment-325187895) to address OS X builds před 7 roky
.gitignore d293841ce9 added gitignore file před 9 roky
.travis.yml c290a387ed remove pkg-config dependency update před 7 roky
CHANGELOG.md c30cce0ca9 updated changelog před 7 roky
LICENSE.md 6c2fcce1ce added updated Hack Open Font license to the source před 9 roky
Makefile 039c4669fc shellcheck fixes for ttfautohint-build.sh script, adds CI shellcheck testing for ttfautohint-build.sh script před 7 roky
README.md b72f531d15 update contributor badge před 7 roky
build-woff.sh 26f6daa266 decreases the number of zopfli iterations on woff builds from 15 to 3. Significant decrease in build time without change in compression ratio před 7 roky
build-woff2.sh f05ef7922d adds build-woff2.sh woff2 web font build script před 7 roky
build.sh bf468e59c1 changed shebang to sh from bash před 7 roky
package.json 2df8e42f7f updated package.json for v2.020 před 9 roky

README.md

Hack

Build Status 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.

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.

Chrome/ChromeOS

To use with Secure Shell, edit the following fields in Options:

  • font-family: "Hack"
  • user-css: https://cdn.jsdelivr.net/font-hack/2.020/css/hack-extended.min.css

Font release recommendations

For general screen use on the desktop, we recommend the TTF builds 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

We highly recommend the convenience of a community developed 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 were designed to tune and automate font installs and 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
  • OpenSUSE: hack-fonts
  • 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.

1. Add Hack to HTML

Include one of the following in the <head> section of your HTML file:

Basic Latin + Latin-1 Supplement Character Set Character Set

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

Full Character Set

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

2. Add Hack to CSS

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

Additional tools for Hack font customization

Line Spacing Adjustments

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

Resources

License

Hack © 2015-2017, 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.