From 166afa13f703e61678fe5d5f6627dba1f4a0ddb8 Mon Sep 17 00:00:00 2001 From: burodepeper Date: Sun, 1 May 2016 18:06:11 +0200 Subject: [PATCH 1/6] Move obvious 'bloat' to separate documents --- README.md | 275 +---------------------------------------- docs/BUILD_BINARIES.md | 57 +++++++++ docs/INSTALLATION.md | 62 ++++++++++ docs/WEBFONT_USAGE.md | 145 ++++++++++++++++++++++ 4 files changed, 267 insertions(+), 272 deletions(-) create mode 100644 docs/BUILD_BINARIES.md create mode 100644 docs/INSTALLATION.md create mode 100644 docs/WEBFONT_USAGE.md diff --git a/README.md b/README.md index f4b84ffe2..4ee5bcb27 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,6 @@ https://github.com/source-foundry/font-line or [use one of our handy shell scripts](https://github.com/chrissimpkins/Hack/tree/master/tools/line-spacing) that automates the `font-line` install and line spacing modification process for a range of line spacing % UPM values between 10 - 30%. Select the script that fits your needs and execute it in the download directory that contains your .ttf and/or .otf font files **before you install them**. - ### About No frills. No gimmicks. Hack is hand groomed and optically balanced to be a workhorse face for code. @@ -51,289 +50,22 @@ The font binaries are released under a license that permits unlimited print, des - **Glyph Number**: 1561 - **Included Styles**: Regular, Bold, Italic, Bold Italic - ### Specimen Hack font specimen Click the image for the full type specimen. + -### Desktop Installation - -Hack is available for download in either [OTF][otf_latest] or [TTF][ttf_latest] formats. The best format and install approach depends on your operating system. If you do not know which format is optimal for your system, the TTF files should be used as your default. - -Because Hack is under active development and updates are released frequently we highly recommended using a package manager or other auto-updating utility. 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. Please note that the Hack packages in these package managers are not maintained by the Hack project developers. If you come across a problem with the release schedule in your package manager, please report it directly to the respective package maintainer on your platform. - -#### OS X - -The easiest way to install and update Hack on OS X is to use the [Homebrew](http://brew.sh/) package manager. To install the fonts on OS X use the command: - - $ brew cask install caskroom/fonts/font-hack - - -**OS X Users Please Note**: There has been a change in the Homebrew-Cask system that requires an update of `brew-cask`. If you encounter an error during your Hack install attempt, please execute the following command and then install with the above command again: - -``` -$ brew uninstall --force brew-cask && brew update -``` - -Please see [issue report #169](https://github.com/chrissimpkins/Hack/issues/169) for additional details. - -To install the fonts manually you may use either the [OTF][otf_latest] or [TTF][ttf_latest] formats. Download the zip file and extract it. Double clicking each of the font files will open a preview in [Font Book](https://support.apple.com/en-us/HT201749) and the "Install Font" button will copy the font to the correct system location. - -#### Linux / BSD - -Most Linux and BSD systems can handle either [TTF][ttf_latest] or [OTF][otf_latest] format fonts. We are aware of package manager support on the following distros: - -* *Arch Linux*: install the [ttf-hack](https://www.archlinux.org/packages/community/any/ttf-hack/) package from the community repository ([otf-hack](https://aur.archlinux.org/packages/otf-hack/) is available in the AUR): - - $ pacman -S ttf-hack - -* *Fedora / CentOS*: install from [copr](https://copr.fedoraproject.org/coprs/heliocastro/hack-fonts/). For Fedora >= 23: - - $ dnf install dnf-plugins-core - $ dnf copr enable heliocastro/hack-fonts - $ dnf install hack-fonts - - For Fedora <= 22 and CentOS <= 7: - - $ yum install yum-plugin-copr - $ yum copr enable heliocastro/hack-fonts - -* *Gentoo Linux*: install the [media-fonts/hack](https://packages.gentoo.org/packages/media-fonts/hack) package from the main Portage tree: - - $ emerge -av media-fonts/hack - -* *Ubuntu / Debian*: install either [fonts-hack-ttf](http://packages.ubuntu.com/xenial/fonts-hack-ttf) or [fonts-hack-otf](http://packages.ubuntu.com/xenial/fonts-hack-otf). Packages are currently available for Ubuntu Xenial or later and the Debian unstable branch: - - $ apt-get install fonts-hack-ttf - - For older systems either manually download and install one of the deb packages or see the [manual install instructions](https://wiki.ubuntu.com/Fonts) and [issue report #189](https://github.com/chrissimpkins/Hack/issues/189). - -For other systems, check for packages using your distro's package manager search function. If no packages exist download your preferred format and copy the font files to either your system font folder (often `/usr/share/fonts/`) or user font folder (often `~/.local/share/fonts/`). On systems using Fontconfig you may need to regenerate the font caches and indexes after copying the files (e.g. `fc-cache -s; mkfontscale ; mkfontdir `). - - -#### Windows - -As of v2.020, we recommend that users of Windows 7 through Windows 10 use the [Hack Windows installer](https://github.com/source-foundry/Hack-windows-installer/releases/latest) to install the Hack fonts. This tool addresses a number of common Windows font installation issues that have led to a wide range of rendering problems for our users. To view more information about the installer, rationale for its use, the source code, and the VirusTotal report, please see the [Hack Windows Installer repository](https://github.com/source-foundry/Hack-windows-installer). - -If you would prefer to install the files manually, we recommend that you use the [TTF][ttf_latest] fonts. Download the zip archive, extract the files, and double click on the fonts to view them in the font previewer. Click the *Install* button to install them on your system. If you have previously installed the Hack fonts on your system and are having issues with the installation of a newer version, please remove the old Hack fonts before you attempt the new font install. Open `Control Panel`, navigate to `Appearance and Personalization`, then `Fonts`, right click on each of the Hack fonts and delete them. Restart your computer and install the fonts as described above. See [issue report #152](https://github.com/chrissimpkins/Hack/issues/152) and [issue report #177](https://github.com/chrissimpkins/Hack/issues/177) for additional information. - -More information about font installation and upgrade issues on the Windows platform is available on the [Font Installation Issues](https://github.com/source-foundry/Hack-windows-installer/blob/master/FontInstallationIssues.md) document in the Hack Windows Installer repository. - - -### Webfont Usage - -Hack webfonts are released in eot, ttf, woff, and woff2 formats. They include a complete Hack character set build and a smaller [basic Latin](http://www.unicode.org/charts/PDF/U0000.pdf) + [Latin-1 supplement](http://www.unicode.org/charts/PDF/U0080.pdf) Unicode character block build. The latter build set is smaller in size and is intended to improve page loading times when you do not need the entire Hack character set. - -You can view the rendering of the webfonts at a range of sizes on the [Hack type specimen](http://chrissimpkins.github.io/Hack/font-specimen.html). - -#### Hack by CDN - -Thanks to the generous gang at [jsDelivr](https://github.com/jsdelivr/jsdelivr), you can use a CDN to include Hack on your site with a single stylesheet link in the head of your HTML files. There is no need to download font files from the repository or serve them from your web server. - -Average latency, average uptime, and total downtime data for jsDelivr vs. other popular CDN are available for [http](http://www.cdnperf.com/#jsdelivr,cdnjs,google,yandex,microsoft,jquery,bootstrapcdn/http/30) and [https](http://www.cdnperf.com/#jsdelivr,cdnjs,google,yandex,microsoft,jquery,bootstrapcdn/https/30) protocols. - -Include **one** of the following lines in the `` section of your site's HTML: - -##### Basic Latin + Latin-1 Supplement Character Set - -```html - -``` - -##### Full Character Set - -```html - -``` - -Then style your text by including `Hack` in the appropriate `font-family` property of your CSS. For example: - -```css -code { - font-family: Hack, monospace; -} -``` - -The **bold**, *italic*, and bold italic text styles are formatted with HTML using `text block`, `text block`, and `text block` HTML tags, respectively. - - -#### Host Hack Font Files on Your Server - -Download the entire web font archive at this link: - -- [Download Web Font Archive (all)](https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-webfonts.zip) - -Or select the fonts that you need in subdirectories of the build directory: - -- [Download .eot fonts](https://github.com/chrissimpkins/Hack/tree/master/build/webfonts/fonts/eot) -- [Download .ttf fonts](https://github.com/chrissimpkins/Hack/tree/master/build/webfonts/fonts/web-ttf) - **Note**: these differ from the desktop versions and are intended for web use -- [Download .woff fonts](https://github.com/chrissimpkins/Hack/tree/master/build/webfonts/fonts/woff) -- [Download .woff2 fonts](https://github.com/chrissimpkins/Hack/tree/master/build/webfonts/fonts/woff2) - -The web font archive download is structured like this: - -``` -. -├── css -│   ├── hack-extended.css -│   ├── hack-extended.min.css -│   ├── hack.css -│   └── hack.min.css -└── fonts - ├── eot - │   ├── hack-bold-webfont.eot - │   ├── hack-bolditalic-webfont.eot - │   ├── hack-regular-webfont.eot - │   ├── hack-italic-webfont.eot - │   └── latin - │   ├── hack-bold-latin-webfont.eot - │   ├── hack-bolditalic-latin-webfont.eot - │   ├── hack-regular-latin-webfont.eot - │   └── hack-italic-latin-webfont.eot - ├── ttf - │   ├── hack-bold-webfont.ttf - │   ├── hack-bolditalic-webfont.ttf - │   ├── hack-regular-webfont.ttf - │   ├── hack-italic-webfont.ttf - │   └── latin - │   ├── hack-bold-latin-webfont.ttf - │   ├── hack-bolditalic-latin-webfont.ttf - │   ├── hack-regular-latin-webfont.ttf - │   └── hack-italic-latin-webfont.ttf - ├── woff - │   ├── hack-bold-webfont.woff - │   ├── hack-bolditalic-webfont.woff - │   ├── hack-regular-webfont.woff - │   ├── hack-italic-webfont.woff - │   └── latin - │   ├── hack-bold-latin-webfont.woff - │   ├── hack-bolditalic-latin-webfont.woff - │   ├── hack-regular-latin-webfont.woff - │   └── hack-italic-latin-webfont.woff - └── woff2 - ├── hack-bold-webfont.woff2 - ├── hack-bolditalic-webfont.woff2 - ├── hack-regular-webfont.woff2 - ├── hack-italic-webfont.woff2 - └── latin - ├── hack-bold-latin-webfont.woff2 - ├── hack-bolditalic-latin-webfont.woff2 - ├── hack-regular-latin-webfont.woff2 - └── hack-italic-latin-webfont.woff2 -``` - -Push the `css` and `fonts` directories to your web server, then import **one** of the included CSS files in the `head` section of the HTML where you would like to use it. - -Replace `path/to/` with the actual path to your css directory. - -##### Basic Latin + Latin-1 Supplement Character Set - -```html - -``` - - -##### Full Character Set - -```html - -``` - -You can alter the path to the Hack files (e.g. place the files in a `hack` resource subdirectory); however, please make sure that you preserve the relative file paths included in the release archive (*or be prepared to modify the paths to the font files*). - -Then style your text by including `Hack` in the appropriate `font-family` property of your CSS. For example: - -```css -code { - font-family: Hack, monospace; -} -``` - -The **bold**, *oblique*, and bold oblique text styles are formatted with HTML using `text block`, `text block`, and `text block` HTML tags, respectively. - - -##### Webfont Caching and gzip Compression with Cloudflare - -*The following information applies to both paid and free accounts* - -If you use [Cloudflare](https://cloudflare.com), woff files are cached by default. To cache the remaining webfont files, add a new page rule for the path to your fonts directory: - -``` -yoursite.com/path/to/fonts/ -``` - - and set the rule to `Cache Everything`. - - Cloudflare automates gzip compression of ttf, eot, woff, and svg font files. The service does not gzip compress woff2 files. - - -### Build Binaries - -#### Desktop Fonts - -##### TTF Builds -- `build/ttf/Hack-Regular.ttf` -- `build/ttf/Hack-Bold.ttf` -- `build/ttf/Hack-Italic.ttf` -- `build/ttf/Hack-BoldItalic.ttf` - -##### OTF Builds -- `build/otf/Hack-Regular.otf` -- `build/otf/Hack-Bold.otf` -- `build/otf/Hack-Italic.otf` -- `build/otf/Hack-BoldItalic.otf` - -#### Web Fonts - -##### EOT -- `build/webfonts/fonts/eot/hack-regular-webfont.eot` -- `build/webfonts/fonts/eot/hack-bold-webfont.eot` -- `build/webfonts/fonts/eot/hack-italic-webfont.eot` -- `build/webfonts/fonts/eot/hack-bolditalic-webfont.eot` -- `build/webfonts/fonts/eot/latin/hack-regular-latin-webfont.eot` -- `build/webfonts/fonts/eot/latin/hack-bold-latin-webfont.eot` -- `build/webfonts/fonts/eot/latin/hack-italic-latin-webfont.eot` -- `build/webfonts/fonts/eot/latin/hack-bolditalic-latin-webfont.eot` - -##### Web TTF -- `build/webfonts/fonts/web-ttf/hack-regular-webfont.ttf` -- `build/webfonts/fonts/web-ttf/hack-bold-webfont.ttf` -- `build/webfonts/fonts/web-ttf/hack-italic-webfont.ttf` -- `build/webfonts/fonts/web-ttf/hack-bolditalic-webfont.ttf` -- `build/webfonts/fonts/web-ttf/latin/hack-regular-latin-webfont.ttf` -- `build/webfonts/fonts/web-ttf/latin/hack-bold-latin-webfont.ttf` -- `build/webfonts/fonts/web-ttf/latin/hack-italic-latin-webfont.ttf` -- `build/webfonts/fonts/web-ttf/latin/hack-bolditalic-latin-webfont.ttf` - -##### WOFF -- `build/webfonts/fonts/woff/hack-regular-webfont.woff` -- `build/webfonts/fonts/woff/hack-bold-webfont.woff` -- `build/webfonts/fonts/woff/hack-italic-webfont.woff` -- `build/webfonts/fonts/woff/hack-bolditalic-webfont.woff` -- `build/webfonts/fonts/woff/latin/hack-regular-latin-webfont.woff` -- `build/webfonts/fonts/woff/latin/hack-bold-latin-webfont.woff` -- `build/webfonts/fonts/woff/latin/hack-italic-latin-webfont.woff` -- `build/webfonts/fonts/woff/latin/hack-bolditalic-latin-webfont.woff` - -##### WOFF2 -- `build/webfonts/fonts/woff2/hack-regular-webfont.woff2` -- `build/webfonts/fonts/woff2/hack-bold-webfont.woff2` -- `build/webfonts/fonts/woff2/hack-italic-webfont.woff2` -- `build/webfonts/fonts/woff2/hack-bolditalic-webfont.woff2` -- `build/webfonts/fonts/woff2/latin/hack-regular-latin-webfont.woff2` -- `build/webfonts/fonts/woff2/latin/hack-bold-latin-webfont.woff2` -- `build/webfonts/fonts/woff2/latin/hack-italic-latin-webfont.woff2` -- `build/webfonts/fonts/woff2/latin/hack-bolditalic-latin-webfont.woff2` + + ### Changes Changes are in the [Changelog](https://github.com/chrissimpkins/Hack/blob/master/CHANGELOG.md). - ### License Hack Copyright 2015-2016, Christopher Simpkins with Reserved Font Name Hack.
@@ -346,4 +78,3 @@ The full texts of these licenses are available in [LICENSE.md](https://github.co [otf_latest]:https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-otf.zip [ttf_latest]: https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-ttf.zip - diff --git a/docs/BUILD_BINARIES.md b/docs/BUILD_BINARIES.md new file mode 100644 index 000000000..a09926cb2 --- /dev/null +++ b/docs/BUILD_BINARIES.md @@ -0,0 +1,57 @@ +### Build Binaries + +#### Desktop Fonts + +##### TTF Builds +- `build/ttf/Hack-Regular.ttf` +- `build/ttf/Hack-Bold.ttf` +- `build/ttf/Hack-Italic.ttf` +- `build/ttf/Hack-BoldItalic.ttf` + +##### OTF Builds +- `build/otf/Hack-Regular.otf` +- `build/otf/Hack-Bold.otf` +- `build/otf/Hack-Italic.otf` +- `build/otf/Hack-BoldItalic.otf` + +#### Web Fonts + +##### EOT +- `build/webfonts/fonts/eot/hack-regular-webfont.eot` +- `build/webfonts/fonts/eot/hack-bold-webfont.eot` +- `build/webfonts/fonts/eot/hack-italic-webfont.eot` +- `build/webfonts/fonts/eot/hack-bolditalic-webfont.eot` +- `build/webfonts/fonts/eot/latin/hack-regular-latin-webfont.eot` +- `build/webfonts/fonts/eot/latin/hack-bold-latin-webfont.eot` +- `build/webfonts/fonts/eot/latin/hack-italic-latin-webfont.eot` +- `build/webfonts/fonts/eot/latin/hack-bolditalic-latin-webfont.eot` + +##### Web TTF +- `build/webfonts/fonts/web-ttf/hack-regular-webfont.ttf` +- `build/webfonts/fonts/web-ttf/hack-bold-webfont.ttf` +- `build/webfonts/fonts/web-ttf/hack-italic-webfont.ttf` +- `build/webfonts/fonts/web-ttf/hack-bolditalic-webfont.ttf` +- `build/webfonts/fonts/web-ttf/latin/hack-regular-latin-webfont.ttf` +- `build/webfonts/fonts/web-ttf/latin/hack-bold-latin-webfont.ttf` +- `build/webfonts/fonts/web-ttf/latin/hack-italic-latin-webfont.ttf` +- `build/webfonts/fonts/web-ttf/latin/hack-bolditalic-latin-webfont.ttf` + +##### WOFF +- `build/webfonts/fonts/woff/hack-regular-webfont.woff` +- `build/webfonts/fonts/woff/hack-bold-webfont.woff` +- `build/webfonts/fonts/woff/hack-italic-webfont.woff` +- `build/webfonts/fonts/woff/hack-bolditalic-webfont.woff` +- `build/webfonts/fonts/woff/latin/hack-regular-latin-webfont.woff` +- `build/webfonts/fonts/woff/latin/hack-bold-latin-webfont.woff` +- `build/webfonts/fonts/woff/latin/hack-italic-latin-webfont.woff` +- `build/webfonts/fonts/woff/latin/hack-bolditalic-latin-webfont.woff` + +##### WOFF2 +- `build/webfonts/fonts/woff2/hack-regular-webfont.woff2` +- `build/webfonts/fonts/woff2/hack-bold-webfont.woff2` +- `build/webfonts/fonts/woff2/hack-italic-webfont.woff2` +- `build/webfonts/fonts/woff2/hack-bolditalic-webfont.woff2` +- `build/webfonts/fonts/woff2/latin/hack-regular-latin-webfont.woff2` +- `build/webfonts/fonts/woff2/latin/hack-bold-latin-webfont.woff2` +- `build/webfonts/fonts/woff2/latin/hack-italic-latin-webfont.woff2` +- `build/webfonts/fonts/woff2/latin/hack-bolditalic-latin-webfont.woff2` diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md new file mode 100644 index 000000000..d122cd035 --- /dev/null +++ b/docs/INSTALLATION.md @@ -0,0 +1,62 @@ +# Desktop Installation + +Hack is available for download in either [OTF][otf_latest] or [TTF][ttf_latest] formats. The best format and install approach depends on your operating system. If you do not know which format is optimal for your system, the TTF files should be used as your default. + +Because Hack is under active development and updates are released frequently we highly recommended using a package manager or other auto-updating utility. 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. Please note that the Hack packages in these package managers are not maintained by the Hack project developers. If you come across a problem with the release schedule in your package manager, please report it directly to the respective package maintainer on your platform. + +## OS X + +The easiest way to install and update Hack on OS X is to use the [Homebrew](http://brew.sh/) package manager. To install the fonts on OS X use the command: + + $ brew cask install caskroom/fonts/font-hack + + +**OS X Users Please Note**: There has been a change in the Homebrew-Cask system that requires an update of `brew-cask`. If you encounter an error during your Hack install attempt, please execute the following command and then install with the above command again: + +``` +$ brew uninstall --force brew-cask && brew update +``` + +Please see [issue report #169](https://github.com/chrissimpkins/Hack/issues/169) for additional details. + +To install the fonts manually you may use either the [OTF][otf_latest] or [TTF][ttf_latest] formats. Download the zip file and extract it. Double clicking each of the font files will open a preview in [Font Book](https://support.apple.com/en-us/HT201749) and the "Install Font" button will copy the font to the correct system location. + +## Linux / BSD + +Most Linux and BSD systems can handle either [TTF][ttf_latest] or [OTF][otf_latest] format fonts. We are aware of package manager support on the following distros: + +* *Arch Linux*: install the [ttf-hack](https://www.archlinux.org/packages/community/any/ttf-hack/) package from the community repository ([otf-hack](https://aur.archlinux.org/packages/otf-hack/) is available in the AUR): + + $ pacman -S ttf-hack + +* *Fedora / CentOS*: install from [copr](https://copr.fedoraproject.org/coprs/heliocastro/hack-fonts/). For Fedora >= 23: + + $ dnf install dnf-plugins-core + $ dnf copr enable heliocastro/hack-fonts + $ dnf install hack-fonts + + For Fedora <= 22 and CentOS <= 7: + + $ yum install yum-plugin-copr + $ yum copr enable heliocastro/hack-fonts + +* *Gentoo Linux*: install the [media-fonts/hack](https://packages.gentoo.org/packages/media-fonts/hack) package from the main Portage tree: + + $ emerge -av media-fonts/hack + +* *Ubuntu / Debian*: install either [fonts-hack-ttf](http://packages.ubuntu.com/xenial/fonts-hack-ttf) or [fonts-hack-otf](http://packages.ubuntu.com/xenial/fonts-hack-otf). Packages are currently available for Ubuntu Xenial or later and the Debian unstable branch: + + $ apt-get install fonts-hack-ttf + + For older systems either manually download and install one of the deb packages or see the [manual install instructions](https://wiki.ubuntu.com/Fonts) and [issue report #189](https://github.com/chrissimpkins/Hack/issues/189). + +For other systems, check for packages using your distro's package manager search function. If no packages exist download your preferred format and copy the font files to either your system font folder (often `/usr/share/fonts/`) or user font folder (often `~/.local/share/fonts/`). On systems using Fontconfig you may need to regenerate the font caches and indexes after copying the files (e.g. `fc-cache -s; mkfontscale ; mkfontdir `). + + +## Windows + +As of v2.020, we recommend that users of Windows 7 through Windows 10 use the [Hack Windows installer](https://github.com/source-foundry/Hack-windows-installer/releases/latest) to install the Hack fonts. This tool addresses a number of common Windows font installation issues that have led to a wide range of rendering problems for our users. To view more information about the installer, rationale for its use, the source code, and the VirusTotal report, please see the [Hack Windows Installer repository](https://github.com/source-foundry/Hack-windows-installer). + +If you would prefer to install the files manually, we recommend that you use the [TTF][ttf_latest] fonts. Download the zip archive, extract the files, and double click on the fonts to view them in the font previewer. Click the *Install* button to install them on your system. If you have previously installed the Hack fonts on your system and are having issues with the installation of a newer version, please remove the old Hack fonts before you attempt the new font install. Open `Control Panel`, navigate to `Appearance and Personalization`, then `Fonts`, right click on each of the Hack fonts and delete them. Restart your computer and install the fonts as described above. See [issue report #152](https://github.com/chrissimpkins/Hack/issues/152) and [issue report #177](https://github.com/chrissimpkins/Hack/issues/177) for additional information. + +More information about font installation and upgrade issues on the Windows platform is available on the [Font Installation Issues](https://github.com/source-foundry/Hack-windows-installer/blob/master/FontInstallationIssues.md) document in the Hack Windows Installer repository. diff --git a/docs/WEBFONT_USAGE.md b/docs/WEBFONT_USAGE.md new file mode 100644 index 000000000..16bfd1d9c --- /dev/null +++ b/docs/WEBFONT_USAGE.md @@ -0,0 +1,145 @@ +### Webfont Usage + +Hack webfonts are released in eot, ttf, woff, and woff2 formats. They include a complete Hack character set build and a smaller [basic Latin](http://www.unicode.org/charts/PDF/U0000.pdf) + [Latin-1 supplement](http://www.unicode.org/charts/PDF/U0080.pdf) Unicode character block build. The latter build set is smaller in size and is intended to improve page loading times when you do not need the entire Hack character set. + +You can view the rendering of the webfonts at a range of sizes on the [Hack type specimen](http://chrissimpkins.github.io/Hack/font-specimen.html). + +#### Hack by CDN + +Thanks to the generous gang at [jsDelivr](https://github.com/jsdelivr/jsdelivr), you can use a CDN to include Hack on your site with a single stylesheet link in the head of your HTML files. There is no need to download font files from the repository or serve them from your web server. + +Average latency, average uptime, and total downtime data for jsDelivr vs. other popular CDN are available for [http](http://www.cdnperf.com/#jsdelivr,cdnjs,google,yandex,microsoft,jquery,bootstrapcdn/http/30) and [https](http://www.cdnperf.com/#jsdelivr,cdnjs,google,yandex,microsoft,jquery,bootstrapcdn/https/30) protocols. + +Include **one** of the following lines in the `` section of your site's HTML: + +##### Basic Latin + Latin-1 Supplement Character Set + +```html + +``` + +##### Full Character Set + +```html + +``` + +Then style your text by including `Hack` in the appropriate `font-family` property of your CSS. For example: + +```css +code { + font-family: Hack, monospace; +} +``` + +The **bold**, *italic*, and bold italic text styles are formatted with HTML using `text block`, `text block`, and `text block` HTML tags, respectively. + + +#### Host Hack Font Files on Your Server + +Download the entire web font archive at this link: + +- [Download Web Font Archive (all)](https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-webfonts.zip) + +Or select the fonts that you need in subdirectories of the build directory: + +- [Download .eot fonts](https://github.com/chrissimpkins/Hack/tree/master/build/webfonts/fonts/eot) +- [Download .ttf fonts](https://github.com/chrissimpkins/Hack/tree/master/build/webfonts/fonts/web-ttf) - **Note**: these differ from the desktop versions and are intended for web use +- [Download .woff fonts](https://github.com/chrissimpkins/Hack/tree/master/build/webfonts/fonts/woff) +- [Download .woff2 fonts](https://github.com/chrissimpkins/Hack/tree/master/build/webfonts/fonts/woff2) + +The web font archive download is structured like this: + +``` +. +├── css +│   ├── hack-extended.css +│   ├── hack-extended.min.css +│   ├── hack.css +│   └── hack.min.css +└── fonts + ├── eot + │   ├── hack-bold-webfont.eot + │   ├── hack-bolditalic-webfont.eot + │   ├── hack-regular-webfont.eot + │   ├── hack-italic-webfont.eot + │   └── latin + │   ├── hack-bold-latin-webfont.eot + │   ├── hack-bolditalic-latin-webfont.eot + │   ├── hack-regular-latin-webfont.eot + │   └── hack-italic-latin-webfont.eot + ├── ttf + │   ├── hack-bold-webfont.ttf + │   ├── hack-bolditalic-webfont.ttf + │   ├── hack-regular-webfont.ttf + │   ├── hack-italic-webfont.ttf + │   └── latin + │   ├── hack-bold-latin-webfont.ttf + │   ├── hack-bolditalic-latin-webfont.ttf + │   ├── hack-regular-latin-webfont.ttf + │   └── hack-italic-latin-webfont.ttf + ├── woff + │   ├── hack-bold-webfont.woff + │   ├── hack-bolditalic-webfont.woff + │   ├── hack-regular-webfont.woff + │   ├── hack-italic-webfont.woff + │   └── latin + │   ├── hack-bold-latin-webfont.woff + │   ├── hack-bolditalic-latin-webfont.woff + │   ├── hack-regular-latin-webfont.woff + │   └── hack-italic-latin-webfont.woff + └── woff2 + ├── hack-bold-webfont.woff2 + ├── hack-bolditalic-webfont.woff2 + ├── hack-regular-webfont.woff2 + ├── hack-italic-webfont.woff2 + └── latin + ├── hack-bold-latin-webfont.woff2 + ├── hack-bolditalic-latin-webfont.woff2 + ├── hack-regular-latin-webfont.woff2 + └── hack-italic-latin-webfont.woff2 +``` + +Push the `css` and `fonts` directories to your web server, then import **one** of the included CSS files in the `head` section of the HTML where you would like to use it. + +Replace `path/to/` with the actual path to your css directory. + +##### Basic Latin + Latin-1 Supplement Character Set + +```html + +``` + + +##### Full Character Set + +```html + +``` + +You can alter the path to the Hack files (e.g. place the files in a `hack` resource subdirectory); however, please make sure that you preserve the relative file paths included in the release archive (*or be prepared to modify the paths to the font files*). + +Then style your text by including `Hack` in the appropriate `font-family` property of your CSS. For example: + +```css +code { + font-family: Hack, monospace; +} +``` + +The **bold**, *oblique*, and bold oblique text styles are formatted with HTML using `text block`, `text block`, and `text block` HTML tags, respectively. + + +##### Webfont Caching and gzip Compression with Cloudflare + +*The following information applies to both paid and free accounts* + +If you use [Cloudflare](https://cloudflare.com), woff files are cached by default. To cache the remaining webfont files, add a new page rule for the path to your fonts directory: + +``` +yoursite.com/path/to/fonts/ +``` + + and set the rule to `Cache Everything`. + + Cloudflare automates gzip compression of ttf, eot, woff, and svg font files. The service does not gzip compress woff2 files. From 81d3a77dfb712941e9b5df57dd13f357f8bcdc1b Mon Sep 17 00:00:00 2001 From: burodepeper Date: Sun, 1 May 2016 18:32:38 +0200 Subject: [PATCH 2/6] Move elements around for an initial new structure, and trimmed off some extra fat --- README.md | 86 ++++++++++++++++++++------------------------------- docs/ABOUT.md | 21 +++++++++++++ 2 files changed, 55 insertions(+), 52 deletions(-) create mode 100644 docs/ABOUT.md diff --git a/README.md b/README.md index 4ee5bcb27..efaa0af17 100644 --- a/README.md +++ b/README.md @@ -1,80 +1,62 @@ # Hack [![Contributors](https://img.shields.io/badge/contributors-104-orange.svg?style=flat)](https://github.com/chrissimpkins/Hack/blob/master/CONTRIBUTORS.md) -### 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 -
-Click to Try Hack in the Font Playground - -## Contents - -- [About](https://github.com/chrissimpkins/Hack#about) -- [Typeface Data](https://github.com/chrissimpkins/Hack#data) -- [Type Specimen](http://chrissimpkins.github.io/Hack/font-specimen.html) -- [Desktop Installation](https://github.com/chrissimpkins/Hack#desktop-installation) -- [Web Font Usage](https://github.com/chrissimpkins/Hack#webfont-usage) - - [Hack by CDN](https://github.com/chrissimpkins/Hack#hack-by-cdn) - - [Self-Hosted Font Files](https://github.com/chrissimpkins/Hack#host-hack-font-files-on-your-server) -- [Build Binary List](https://github.com/chrissimpkins/Hack#build-binaries) -- [Changelog](https://github.com/chrissimpkins/Hack/blob/master/CHANGELOG.md) -- [Contributors](https://github.com/chrissimpkins/Hack/blob/master/CONTRIBUTORS.md) -- [License](https://github.com/chrissimpkins/Hack/blob/master/LICENSE.md) -### New! +### a typeface designed for source code -You can now modify the default line spacing in Hack fonts with our new `font-line` tool. Hack uses a default value of 20% UPM for line spacing. Decrease the value to tighten the spacing, increase it to widen your spacing. Modification details are available on the `font-line` repository: +Hack — a typeface designed for source code -https://github.com/source-foundry/font-line + -or [use one of our handy shell scripts](https://github.com/chrissimpkins/Hack/tree/master/tools/line-spacing) that automates the `font-line` install and line spacing modification process for a range of line spacing % UPM values between 10 - 30%. Select the script that fits your needs and execute it in the download directory that contains your .ttf and/or .otf font files **before you install them**. +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. [Read more](docs/ABOUT.md), visit the [project website](http://sourcefoundry.org/hack/) or take a look at a complete [type specimen](http://chrissimpkins.github.io/Hack/font-specimen.html). -### About +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](LICENSE.md) -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 PostScript 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 full set of changes are available in the [changelog](https://github.com/chrissimpkins/Hack/blob/master/CHANGELOG.md). +## Quick installation -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](https://github.com/chrissimpkins/Hack/blob/master/LICENSE.md) + -### Data +### Advanced options (web font usage, package managers, etc.) -- **Typeface Name**: Hack -- **Category**: Monospaced -- **Powerline Support**: Yes -- **Glyph Number**: 1561 -- **Included Styles**: Regular, Bold, Italic, Bold Italic + + + -### Specimen +A full list of all changes can be found in the [CHANGELOG](docs/CHANGELOG.md). -Hack font specimen + +https://github.com/source-foundry/font-line - +or [use one of our handy shell scripts](https://github.com/chrissimpkins/Hack/tree/master/tools/line-spacing) that automates the `font-line` install and line spacing modification process for a range of line spacing % UPM values between 10 - 30%. Select the script that fits your needs and execute it in the download directory that contains your .ttf and/or .otf font files **before you install them**. +--> - +--- + +### Data -### Changes +| **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) | -Changes are in the [Changelog](https://github.com/chrissimpkins/Hack/blob/master/CHANGELOG.md). +--- ### License -Hack Copyright 2015-2016, Christopher Simpkins with Reserved Font Name Hack.
-Hack Open Font License & Bitstream Vera License +Hack © 2015-2016, Christopher Simpkins with Reserved Font Name Hack.
+Hack Open Font License & Bitstream Vera License -Bitstream Vera Sans Mono Copyright 2003 Bitstream, Inc. with Reserved Font Names Bitstream and Vera
+Bitstream Vera Sans Mono © 2003 Bitstream, Inc. with Reserved Font Names Bitstream and Vera
Bitstream Vera License The full texts of these licenses are available in [LICENSE.md](https://github.com/chrissimpkins/Hack/blob/master/LICENSE.md) - [otf_latest]:https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-otf.zip - [ttf_latest]: https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-ttf.zip +[otf_latest]: https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-otf.zip +[ttf_latest]: https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-ttf.zip diff --git a/docs/ABOUT.md b/docs/ABOUT.md new file mode 100644 index 000000000..bc8cc9e5c --- /dev/null +++ b/docs/ABOUT.md @@ -0,0 +1,21 @@ +### 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 PostScript 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 full set of changes are available in the [changelog](https://github.com/chrissimpkins/Hack/blob/master/CHANGELOG.md). + +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](https://github.com/chrissimpkins/Hack/blob/master/LICENSE.md) + +### Data + +- **Typeface Name**: Hack +- **Category**: Monospaced +- **Powerline Support**: Yes +- **Glyph Number**: 1561 +- **Included Styles**: Regular, Bold, Italic, Bold Italic + +### Specimen + +Hack font specimen + +Click the image for the full type specimen. From 994c01764c82aef51ddb8efed2bff59cda661f2a Mon Sep 17 00:00:00 2001 From: burodepeper Date: Sun, 1 May 2016 18:41:47 +0200 Subject: [PATCH 3/6] Improve readability --- README.md | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index efaa0af17..bdca61e81 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,15 @@ # Hack [![Contributors](https://img.shields.io/badge/contributors-104-orange.svg?style=flat)](https://github.com/chrissimpkins/Hack/blob/master/CONTRIBUTORS.md) -### a typeface designed for source code - Hack — a typeface designed for source code +### a typeface designed for source code + -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. [Read more](docs/ABOUT.md), visit the [project website](http://sourcefoundry.org/hack/) or take a look at a complete [type specimen](http://chrissimpkins.github.io/Hack/font-specimen.html). +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. + +[Read more](docs/ABOUT.md) about Hack, visit the [project website](http://sourcefoundry.org/hack/) or take a look at a complete [type specimen](http://chrissimpkins.github.io/Hack/font-specimen.html). 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](LICENSE.md) @@ -37,26 +39,27 @@ or [use one of our handy shell scripts](https://github.com/chrissimpkins/Hack/tr --- -### Data +### Overview -| **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) | +- **Typeface Name**: Hack +- **Category**: Monospaced +- **Powerline Support**: Yes +- **Number of glyphs**: 1561 +- **Included glyph sets**: TODO +- **Included Styles**: Regular, Bold, Italic, Bold Italic +- **Latest release**: v2.020 (2016-04-29) --- ### License -Hack © 2015-2016, Christopher Simpkins with Reserved Font Name Hack.
+**Hack** © 2015-2016, Christopher Simpkins with Reserved Font Name Hack.
Hack Open Font License & Bitstream Vera License -Bitstream Vera Sans Mono © 2003 Bitstream, Inc. with Reserved Font Names Bitstream and Vera
+**Bitstream Vera Sans Mono** © 2003 Bitstream, Inc. with Reserved Font Names Bitstream and Vera
Bitstream Vera License -The full texts of these licenses are available in [LICENSE.md](https://github.com/chrissimpkins/Hack/blob/master/LICENSE.md) +See [LICENSE.md](https://github.com/chrissimpkins/Hack/blob/master/LICENSE.md) for the full texts of these licences. [otf_latest]: https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-otf.zip [ttf_latest]: https://github.com/chrissimpkins/Hack/releases/download/v2.020/Hack-v2_020-ttf.zip From cbc96ea95bd07eba58fed30fc1a568748bfa4a9c Mon Sep 17 00:00:00 2001 From: burodepeper Date: Sun, 1 May 2016 19:12:38 +0200 Subject: [PATCH 4/6] Add "quick installation" guide --- README.md | 55 +++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 43 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index bdca61e81..6826b78d3 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@ # Hack [![Contributors](https://img.shields.io/badge/contributors-104-orange.svg?style=flat)](https://github.com/chrissimpkins/Hack/blob/master/CONTRIBUTORS.md) -Hack — a typeface designed for source code - ### a typeface designed for source code - +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](https://www.gnome.org/fonts/) & [DejaVu](http://dejavu-fonts.org/wiki/Main_Page) projects. -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. +Hack — a typeface designed for source code [Read more](docs/ABOUT.md) about Hack, visit the [project website](http://sourcefoundry.org/hack/) or take a look at a complete [type specimen](http://chrissimpkins.github.io/Hack/font-specimen.html). @@ -17,16 +15,42 @@ The font binaries are released under a license that permits unlimited print, des ## Quick installation - +We recommended using the **TrueType** (`.ttf`) version of Hack. An OpenType (`.otf`) build is also available. + +#### Mac OS X and Linux + +1. Download the [latest version of Hack](ttf_latest). +2. Extract the files from the archive (`.zip`) and open them. +3. Follow the instructions from your operating system. +4. Enjoy! + +**NOTE**: If you are updating your version of Hack, be sure to remove the previously installed version first to avoid conflicts. For more information, see [INSTALLATION.md](docs/INSTALLATION.md). -### Advanced options (web font usage, package managers, etc.) +#### Windows + +To simplify the installation process on Windows systems, we recommend using the [Hack Windows Installer](https://github.com/source-foundry/Hack-windows-installer/releases/tag/v1.1.2) (`.exe`) which will guide you through the installation process. + +--- + +## Advanced options - - A full list of all changes can be found in the [CHANGELOG](docs/CHANGELOG.md). +### Advanced installation options + + + +### Web font usage + + + +### Additional tools for customization + + + + + +**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](https://github.com/chrissimpkins/Hack/blob/master/LICENSE.md) for the full texts of these licences. From 889de5e979cb63e0564e935b394d86c85df64cac Mon Sep 17 00:00:00 2001 From: burodepeper Date: Sun, 1 May 2016 19:41:38 +0200 Subject: [PATCH 5/6] Add the "advanced options" section --- README.md | 48 ++++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 6826b78d3..bbe296b0e 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ 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](https://www.gnome.org/fonts/) & [DejaVu](http://dejavu-fonts.org/wiki/Main_Page) projects. -Hack — a typeface designed for source code +[Read more](docs/ABOUT.md) about Hack, visit the [project website](http://sourcefoundry.org/hack/), take a look at a complete [type specimen](http://chrissimpkins.github.io/Hack/font-specimen.html) or marvel at the [CHANGELOG](CHANGELOG.md). -[Read more](docs/ABOUT.md) about Hack, visit the [project website](http://sourcefoundry.org/hack/) or take a look at a complete [type specimen](http://chrissimpkins.github.io/Hack/font-specimen.html). +Hack — a typeface designed for source code 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](LICENSE.md) @@ -15,7 +15,7 @@ The font binaries are released under a license that permits unlimited print, des ## Quick installation -We recommended using the **TrueType** (`.ttf`) version of Hack. An OpenType (`.otf`) build is also available. +We recommended using the **TrueType** (`.ttf`) version of Hack. An OpenType (`.otf`) build is available for experienced users. #### Mac OS X and Linux @@ -24,42 +24,50 @@ We recommended using the **TrueType** (`.ttf`) version of Hack. An OpenType (`.o 3. Follow the instructions from your operating system. 4. Enjoy! -**NOTE**: If you are updating your version of Hack, be sure to remove the previously installed version first to avoid conflicts. For more information, see [INSTALLATION.md](docs/INSTALLATION.md). +**NOTE ON UPDATING**
+If you are updating your version of Hack, be sure to remove the previously installed version first to avoid conflicts. For more information, see [INSTALLATION.md](docs/INSTALLATION.md). #### Windows -To simplify the installation process on Windows systems, we recommend using the [Hack Windows Installer](https://github.com/source-foundry/Hack-windows-installer/releases/tag/v1.1.2) (`.exe`) which will guide you through the installation process. +To simplify the installation process on Windows systems, we've created the [Hack Windows Installer](https://github.com/source-foundry/Hack-windows-installer/releases/tag/v1.1.2) (`.exe`) which will guide you through the installation process. The installer will also clean up any previous installation of Hack. --- ## Advanced options - +Because Hack is under active development and updates are released frequently, we highly recommended using a package manager or other auto-updating utility. 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. -A full list of all changes can be found in the [CHANGELOG](docs/CHANGELOG.md). +### Package managers and desktop installation -### Advanced installation options +Details on using package managers and/or advanced manual desktop installation options can be found in [INSTALLATION.md](docs/INSTALLATION.md). - +Hack can be installed and updated via various package managers. We are aware of package manager support on the following systems/distros: -### Web font usage +- **Mac OS X**: `homebrew` +- **Arch Linux**: `pacman` +- **Fedora / CentOS**: `copr`, `dnf` or `yum` +- **Gentoo Linux**: `emerge` +- **Ubuntu / Debian**: `apt-get` - - -### Additional tools for customization + - +### Web font usage +Hack is available in all the regular webfont formats. See [WEBFONT_USAGE.md](docs/WEBFONT_USAGE.md) for more details, or use the snippets below to quickly include Hack via a CDN by the generous gang at [jsDelivr](https://github.com/jsdelivr/jsdelivr). **Bold** and _italic_ styles are included by default and work out-of-the-box via the `` and `` tags. - +**font-line** is a tool that lets you easily modify the default line spacing of Hack. See the [font-line repository](https://github.com/source-foundry/font-line) for more details, and be sure to check out the [line-spacing repository](https://github.com/chrissimpkins/Hack/tree/master/tools/line-spacing) for some font-line automation. --- From 57128669cc23b57a7ed5291a0c435472dec3ed1a Mon Sep 17 00:00:00 2001 From: burodepeper Date: Sun, 1 May 2016 19:46:34 +0200 Subject: [PATCH 6/6] Minor details --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index bbe296b0e..6d4cf74aa 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,10 @@ No frills. No gimmicks. Hack is hand groomed and optically balanced to be a work [Read more](docs/ABOUT.md) about Hack, visit the [project website](http://sourcefoundry.org/hack/), take a look at a complete [type specimen](http://chrissimpkins.github.io/Hack/font-specimen.html) or marvel at the [CHANGELOG](CHANGELOG.md). -Hack — a typeface designed for source code - 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](LICENSE.md) +Hack — a typeface designed for source code + --- ## Quick installation @@ -53,16 +53,14 @@ Hack can be installed and updated via various package managers. We are aware of ### Web font usage -Hack is available in all the regular webfont formats. See [WEBFONT_USAGE.md](docs/WEBFONT_USAGE.md) for more details, or use the snippets below to quickly include Hack via a CDN by the generous gang at [jsDelivr](https://github.com/jsdelivr/jsdelivr). **Bold** and _italic_ styles are included by default and work out-of-the-box via the `` and `` tags. +Hack is available in all the regular webfont formats. See [WEBFONT_USAGE.md](docs/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](https://github.com/jsdelivr/jsdelivr)). **Bold** and _italic_ styles are included by default and work out-of-the-box via the `` and `` tags. ```html ``` ```css -code { - font-family: Hack, monospace; -} +code { font-family: Hack, monospace; } ``` ### Additional tools for customization @@ -71,13 +69,13 @@ code { --- -### Overview of features +## Overview of features - **Typeface Name**: Hack - **Category**: Monospaced - **Powerline Support**: Yes - **Number of Glyphs**: 1561 -- **Included Glyph Sets**: TODO +- **Included Glyph Sets**: ASCII, etc. **TODO** - **Included Styles**: Regular, Bold, Italic, Bold Italic - **Latest Release**: v2.020 (2016-04-29)