All Projects → source-foundry → alt-hack

source-foundry / alt-hack

Licence: MIT license
A stylistic alternate glyph library for the Hack typeface

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to alt-hack

Hauora-Sans
Neo-grotesque sans-serif font originally designed for an open-sourced health research project
Stars: ✭ 83 (-2.35%)
Mutual labels:  font, typeface, glyphs
Urbanist
Urbanist is a low-contrast, geometric sans-serif inspired by Modernist design and typography.
Stars: ✭ 374 (+340%)
Mutual labels:  font, typeface, glyphs
Times New Bastard
It's Times New Roman but every seventh letter is jarringly sans serif
Stars: ✭ 130 (+52.94%)
Mutual labels:  font, typeface
Plusjakartasans
+Jakarta Sans is a open-source fonts. Designed for Jakarta "City of collaboration" program in 2020.
Stars: ✭ 136 (+60%)
Mutual labels:  font, typeface
Inter
The Inter font family
Stars: ✭ 13,303 (+15550.59%)
Mutual labels:  font, typeface
Typefacehelper
Helper object for injecting typeface into various text views of android.
Stars: ✭ 107 (+25.88%)
Mutual labels:  font, typeface
Font Line
OpenType vertical metrics reporting and font line spacing adjustment tool
Stars: ✭ 122 (+43.53%)
Mutual labels:  font, typeface
Iosevka
Versatile typeface for code, from code.
Stars: ✭ 13,137 (+15355.29%)
Mutual labels:  font, typeface
Sporting Grotesque
A grotesque typeface by @LucasLeBihan
Stars: ✭ 101 (+18.82%)
Mutual labels:  font, typeface
Operator Mono Lig
Add ligatures to Operator Mono similar to Fira Code
Stars: ✭ 2,683 (+3056.47%)
Mutual labels:  font, glyphs
Optician Sans
Typeface based on the historical eye charts and optotypes used by opticians world wide.
Stars: ✭ 203 (+138.82%)
Mutual labels:  font, typeface
Hack
A typeface designed for source code
Stars: ✭ 14,543 (+17009.41%)
Mutual labels:  font, typeface
Victor Mono
A free programming font with cursive italics and ligatures. Donations welcome ❤️
Stars: ✭ 1,854 (+2081.18%)
Mutual labels:  font, typeface
Karmilla
An expanded version of the amazing Karla webfont, adding support for various languages (French, German, Norse, Hungarian, Latvian, Icelandic...)
Stars: ✭ 130 (+52.94%)
Mutual labels:  font, typeface
Dot Matrix Typeface
A simple Dot Matrix style typeface
Stars: ✭ 105 (+23.53%)
Mutual labels:  font, typeface
San Francisco Family
All the fonts in San Francisco family font, developed by Apple. Including new SF Camera font from iOS 13!
Stars: ✭ 141 (+65.88%)
Mutual labels:  font, typeface
Playfair Display
Playfair Display is an Open Source typeface family for display and titling use.
Stars: ✭ 237 (+178.82%)
Mutual labels:  font, typeface
Work Sans
A grotesque sans.
Stars: ✭ 1,319 (+1451.76%)
Mutual labels:  font, typeface
Lab Mono
Grotesque-esque monospaced typeface
Stars: ✭ 99 (+16.47%)
Mutual labels:  font, typeface
Techna Sans
Sharp, geometric typeface
Stars: ✭ 189 (+122.35%)
Mutual labels:  font, typeface

alt-hack

Build Status

alt-hack is a stylistic alternate glyph library for the Hack typeface. It provides alternate glyph design source files (*.glif) to support drag + drop + overwrite existing source Unicode code point customization. Overwrite the existing glyph design files in the Hack source with any combination of alternate designs that are available here, rebuild the fonts, and use your custom version.

This repository is open to contributions of new glyph designs intended to be used with the Hack typeface.

Usage

View Alternate Glyph Styles

The *.glif source files are located in the glyphs directory of this repository and are organized by Unicode code point. A short string is added to the Unicode code point to describe the type of design modification that was performed to the Hack default style. Source files are supplied for regular, bold, italic, and bold italic font variants.

You may view images of the alternate designs in the README.md files at the top level of each alternate glyph directory.

How to Build a Custom Version of Hack

Quickstart Instructions

  • Download the Hack typeface source.
  • Download the *.glif source files from the alt-hack repository that you would like to use as replacements in the Hack source.
  • Overwrite the existing Hack *.glif files for your selected Unicode code points with the alt-hack *.glif files (replacements in alt-hack have the same file paths as those in default source). You can use the included patch-hack.sh script to automate this operation – see instructions within the script itself.
  • Modify existing manual hinting adjustments for any files that you replace (see detailed instructions below)
  • Build new Hack fonts using the simple make based build approach in the build documentation.

Detailed Instructions

Detailed instructions of the above quickstart steps follow.

Download the Hack source repository

Download the Hack repository as a zip archive and unpack the archive locally on your system. The default Hack UFO source is located in the source directory of the repository. There are separate UFO source directories for each of the four Hack variants:

  • Hack-Regular.ufo
  • Hack-Italic.ufo
  • Hack-Bold.ufo
  • Hack-BoldItalic.ufo

The glyph design source files live in the glyphs subdirectory within each of these top level *.ufo source directories.

Obtain replacement source files

Download the *.glif files in the regular, bold, italic, and bolditalic directories from the alt-hack repository for each replacement that you want to make in the Hack source. The alternate style source files have the same file path as we use in the Hack source. The *.glif design source files are intended to be used as direct replacements for the existing default source files.

Overwrite existing source files

You can use the included patch-hack.sh script to copy over your desired glyph modifications over into the Hack source repository. See instructions in the script itself.

Alternatively, you can do the copying manually. Copy the alternate glyph source files for the appropriate font variants (i.e. regular, bold, italic, bold italic) from this repository into the corresponding glyphs directory of the Hack UFO source for the respective variant. This should overwrite an existing file in that directory. Please note that the alternate files for each variant have the same file path. Please confirm that you are overwriting an existing file with a new file that is of the appropriate variant type.

Eliminate existing manual instruction sets for alternate glyphs (if present)

Some of the glyphs in the Hack sets include manual changes to the ttfautohint automated instruction sets ("hints"). These must be eliminated if you replace an existing glyph in the main Hack sets with a stylistic alternate from this repository or your build will fail (or create undesirable rendering changes that are not tuned for the alternate glyph).

The control instructions files that are used to manually modify the hints in the Hack builds are located in the tt-hinting directory of the Hack repository. There is one text file per Hack variant (i.e. for Regular, Italic, Bold, and Bold Italic sets). The manual hints are organized by Unicode code point.

Examine these control instructions files before you build your new fonts. If you identify a block of instructions under a heading for a Unicode code point that you intend to replace, either delete all lines associated with that glyph or comment out the block with # symbols at the beginning of each line.

For example, to build a set of fonts with new zero alternate glyphs (Unicode U+0030), you would need to modify an existing control instructions file that includes the following lines:

Hack-Regular-TA.txt
# U+0030 zero glyph ID 548
uni0030 touch 35,36,45,46,47,56  y -0.5   @8
uni0030 touch 35,36,56 y -1.0 @12,13,14

to the following:

# U+0030 zero glyph ID 548
# uni0030 touch 35,36,45,46,47,56  y -0.5   @8
# uni0030 touch 35,36,56 y -1.0 @12,13,14

or simply delete the heading line # U+0030 zero glyph ID 548 and the individual instruction lines below that level for the U+0030 glyph. Repeat this for any values that are included for your glyph changes in each of the four control instructions files before you attempt to build your new files.

Build new fonts

Use the build documentation in the Hack repository to compile new desktop *.ttf font files and/or web fonts with your custom version of Hack.

Post-Modification Licensing

These changes to the Hack typeface fall within acceptable modification practice under the Hack license.

  • It is not necessary to change the font name as a result of these modifications.
  • It is acceptable practice to change the name of the fonts if you would like (e.g. for release to others under a different font name).
  • Please maintain the Hack license with modified versions of the upstream source. 
See the Hack license for further details.

License

The work in the alt-Hack repository is licensed under the MIT license. See LICENSE.md for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].