Programming languages are limited to relatively few characters. As a result, combined character operators surfaced quite early, such as the widely used arrow (->), comprised of a hyphen and greater sign. It looks like an arrow if you know the analogy and squint a bit. Composite glyphs are problematic in languages such as Haskell which utilize these complicated operators (=> -< >>= etc.) extensively. The readability of such complex code improves with pretty printing. Academic articles featuring Haskell code often use lhs2tex to achieve an appealing rendering, but it is of no use when programming. Hasklig solves the problem the way typographers have always solved ill-fitting characters which co-occur often, ligatures. The underlying code stays the same, only the representation changes. Not only can multi-character glyphs be rendered more vividly, other problematic things in monospaced fonts, such as spacing can be corrected.

Features

  • Multi-character glyphs are rendered more vividly
  • Problematic things in monospaced fonts, such as spacing can be corrected
  • Several currently implemented symbols
  • Some SVG glyphs are inserted into the fonts using Python FontTools
  • To build the binary font files from source, you need to have installed the Adobe Font Development Kit for OpenType (AFDKO)
  • For convenience, a shell script named build is provided in the root directory to build all OTFs and TTFs

Project Samples

Project Activity

See All Activity >

Categories

Fonts

License

Open Font License 1.1 (OFL 1.1)

Follow Hasklig

Hasklig Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Hasklig!

Additional Project Details

Operating Systems

Windows

Programming Language

Python

Related Categories

Python Fonts

Registered

2021-10-27