Tidak Ada Deskripsi

Chris Simpkins 358db9648f Merge pull request #207 from texhex/readme 9 tahun lalu
build 51c19bdfeb new v2.020 archives 9 tahun lalu
docs 38e65e5927 Reworked readme.md, about.md, and installation.md 9 tahun lalu
img e244a52462 added link to Font Playground on readme 9 tahun lalu
postbuild_processing abd4082b9c updated archive prep script 9 tahun lalu
source 4375e7fa91 updated name table 9 tahun lalu
tools 24219effce clarified details of fonts that are modified in script header 9 tahun lalu
.gitignore d293841ce9 added gitignore file 9 tahun lalu
CHANGELOG.md ef5599a77a changelog updates v2.020 9 tahun lalu
LICENSE.md 6c2fcce1ce added updated Hack Open Font license to the source 9 tahun lalu
README.md b8ce9ebb64 Changed readme.md as discuessed in the comments for PR#207 9 tahun lalu
package.json 2df8e42f7f updated package.json for v2.020 9 tahun lalu

README.md

Hack Contributors

a typeface designed for source code

No frills. No gimmicks. Hack is 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 font binaries are released under a license that permits unlimited print, desktop, and web use for commercial and non-commercial applications. More details in LICENSE.md

Quick installation

Mac OS X and Linux

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

NOTE ON UPDATING If you are updating your version of Hack, be sure to remove the previously installed version first to avoid conflicts.

Windows

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

Manual installation

We recommend use of the TrueType (.ttf) version of Hack for most users. OpenType (.otf) is available for those who prefer this 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.

  • Mac OS X: brew cask install caskroom/fonts/font-hack
  • Arch Linux: pacman -S ttf-hack
  • Fedora / CentOS: copr, dnf or yum
  • Gentoo Linux: emerge -av media-fonts/hack
  • Ubuntu / Debian: apt-get install fonts-hack-ttf
  • Visual Studio (Package Manager): install-package hack.font
  • Chocolatey: choco install hackfont

Details on using package managers and/or 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

code { font-family: Hack, monospace; }

Additional tools for 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 Glyph Sets: ASCII, etc. TODO
  • 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.