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

You Might Also Like
Full Control for Complex IT - Try PRTG Now Icon
Full Control for Complex IT - Try PRTG Now

Gain deeper insights and proactive alerts for your entire network. PRTG empowers you to optimize uptime and prevent costly outages.

As an IT monitoring expert, you need more than basic alerts - you need actionable data and full transparency. PRTG gives your team a single pane of glass for all systems, devices, and applications, with customizable dashboards and granular user management. Detect issues before they escalate, automate reporting, and ensure compliance with SLAs. PRTG’s scalable engine and advanced analytics help you optimize resources, reduce manual effort, and keep your organization running smoothly. Take control of your IT landscape and make smarter decisions with real-time, enterprise-grade monitoring.
Activate Your PRTG Trial Today
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