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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool 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