Hasklig - Hasklig - a code font with monospaced ligatures

  •        526

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.

https://github.com/i-tu/Hasklig

Tags
Implementation
License
Platform

   




Related Projects

fixedsys - Fixedsys Excelsior font with programming ligatures

  •    Makefile

I was always jealous for folks using Fira Code, Hasklig or Monoid fonts, but my problem is that I have a hard time reading (not even mentioning writing) a computer program in anything but 8x16 font. I probably spent too much time with older computers. So after fighting and losing an uphill battle with Glyph2, Fontlab and Fontforge I discovered TTX and was able to finally stop being jealous. This current release has almost everything I use regularly. Feel free to request in the issues. PRs are of course more than welcome. I hope I'm not the only crazy guy on the internet using 8x16 font for consoles and text editing.

source-code-pro - Monospaced font family for user interface and coding environments

  •    Python

Source Code Pro is a set of OpenType fonts that have been designed to work well in user interface (UI) environments. In addition to a functional OpenType font, this open source project provides all of the source files that were used to build this OpenType font by using the AFDKO makeotf tool. To build the binary font files from source, you need to have installed the Adobe Font Development Kit for OpenType (AFDKO). The AFDKO tools are widely used for font development today, and are part of most font editor applications.

source-sans-pro - Sans serif font family for user interface environments

  •    Shell

Source Sans Pro is a set of OpenType fonts that have been designed to work well in user interface (UI) environments. In addition to a functional OpenType font, this open source project provides all of the source files that were used to build this OpenType font by using the AFDKO makeotf tool. To build the binary font files from source, you need to have installed the Adobe Font Development Kit for OpenType (AFDKO). The AFDKO tools are widely used for font development today, and are part of most font editor applications.

source-serif-pro - Serif typeface for setting text. Designed to complement Source Sans Pro

  •    Shell

Source Serif Pro is a set of OpenType fonts to complement the Source Sans Pro family. In addition to functional OpenType fonts, this open source repository provides all of the source files that were used to build them using the Adobe Font Development Kit for OpenType (AFDKO). To build the binary font files from source, you need to have the Adobe Font Development Kit for OpenType (AFDKO) installed. The AFDKO tools are widely used for font development today, and are part of most font editor applications.

source-han-sans - Source Han Sans | 思源黑体 | 思源黑體 | 源ノ角ゴシック | 본고딕

  •    Objective-J

Source Han Sans is a set of OpenType/CFF Pan-CJK fonts. In addition to functional OpenType fonts, this open source project provides all of the source files that were used to build these OpenType fonts by using the AFDKO makeotf and otf2otc tools. To help decide which fonts to download, please refer to the Configurations section of the official font readme file. Those who are unfamiliar with GitHub are encouraged to reference the official Source Han download guide, which is provided in English, Japanese, Korean, Simplified Chinese, and Traditional Chinese.


source-han-serif - Source Han Serif | 思源宋体 | 思源宋體 | 源ノ明朝 | 본명조

  •    Objective-J

Source Han Serif is a set of OpenType/CFF Pan-CJK fonts. In addition to functional OpenType fonts, this open source project provides all of the source files that were used to build these OpenType fonts by using the AFDKO makeotf and otf2otc tools. To help decide which fonts to download, please refer to the Configurations section of the official font readme file. Those who are unfamiliar with GitHub are encouraged to reference the official Source Han download guide, which is provided in English, Japanese, Korean, Simplified Chinese, and Traditional Chinese.

FiraCode - Monospaced font with programming ligatures

  •    Clojure

Programmers use a lot of symbols, often encoded with several characters. For the human brain, sequences like ->, <= or := are single logical tokens, even if they take two or three characters on the screen. Your eye spends a non-zero amount of energy to scan, parse and join multiple characters into a single logical one. Ideally, all programming languages should be designed with full-fledged Unicode symbols for operators, but that’s not the case yet. Fira Code is an extension of the Fira Mono font containing a set of ligatures for common programming multi-character combinations. This is just a font rendering feature: underlying code remains ASCII-compatible. This helps to read and understand code faster. For some frequent sequences like .. or //, ligatures allow us to correct spacing.

afdko - Adobe Font Development Kit for OpenType

  •    C

The AFDKO is a set of tools for building OpenType font files from PostScript and TrueType font data. This repository contains the data files, Python scripts, and sources for the command line programs that comprise the AFDKO. The project uses the Apache 2.0 OpenSource license.

operator-mono-lig - Add ligatures to Operator Mono similar to Fira Code

  •    Javascript

This project will generate new OpenType fonts for Operator Mono that includes ligatures similar to those found in the popular Fira Code font. These ligatures were custom created using Glyphs. There are even italic versions of the ligatures.

3270font - A 3270 font in a modern format

  •    Makefile

This font is derived from the x3270 font, which, in turn, was translated from the one in Georgia Tech's 3270tool, which was itself hand-copied from a 3270 series terminal. I built it because I felt terminals deserve to be pretty. The .sfd font file contains a x3270 bitmap font that was used for guidance. If you are running Debian or Ubuntu and you don't want to mess with building your font files, you can simply apt-get install fonts-3270 (It's available from the Debian (https://packages.debian.org/sid/fonts/fonts-3270) and Ubuntu (http://packages.ubuntu.com/zesty/fonts-3270) package repos at https://packages.debian.org/sid/fonts/fonts-3270 and http://packages.ubuntu.com/xenial/fonts/fonts-3270, although the packaged version may not be the latest version, but it's good enough for most purposes. For those who don't have the luxury of a proper system-managed package, Adobe Type 1, TTF, OTF and WOFF versions are available for download on http://s3.amazonaws.com/3270font/3270_fonts_b3b4b7d.zip (although this URL may not always reflect the latest version).

codeface - Typefaces for source code beautification

  •    Python

Each typeface directory in the repository now includes a vertical metrics table (vertical_metrics.txt). Combine the data in these reference tables with the new font-line tool to modify any font to the line spacing that suits your needs. Tighten up or keep it loose.

woff2otf - Converts woff files to otf files

  •    Python

This is a small utility to convert WOFF files to the OTF font format. It uses Python 3, so you need to have it installed in order to run it. The first parameter is the source file (the WOFF) font, and the second parameter is the output file (in OTF format).

source-han-code-jp - Source Han Code JP | 源ノ角ゴシック Code

  •    PostScript

Source Han Code JP Version 2.010 is released. This version supports style-linking in apps that include 'B' (Bold) and 'I' (Italic) buttons in their font menu. The sorting of the font names in some apps is also improved. U+2423 '␣' OPEN BOX now has a monospaced horizontal advance of 667 units (the previous version used 1000 units). See Issue #12.

cascadia-code - This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal

  •    

This repository contains the source code of Cascadia Code. Clicking on the Cascadia.ttf file will download it to your machine. From there, open the file. This will open a new window displaying the characters included in the font along with the font displayed at different sizes. This window should have an "Install" button that will install the font on your machine when clicked.

Iosevka - Slender typeface for code, from code.

  •    Javascript

Coders’ typeface, built from code. Quit your editor/program. Unzip and open the folder.

Font Name Retrieval

  •    C++

This library helps developer to retrieve the font family name from the TTF, OTF and TTC font files, so that developer can display the font without installing the font on the user computer.

fontprep - 🔣 The missing font generator for Mac OSX.

  •    Javascript

The missing font generator for Mac OSX. Download here. FontPrep takes your TTF and OTF font files and generates all of the respective font-formats for the web: WOFF, EOT, and SVG.

svg2ttf - SVG -> TTF font convertor

  •    Javascript

Converts SVG fonts to TTF format. It was initially written for Fontello, but you can find it useful for your projects. Internal API is similar to FontForge's one. Since primary goal is generating iconic fonts, sources can lack some specific TTF/OTF features, like kerning and so on. Anyway, current code is a good base for development, because it will save you tons of hours to implement correct writing & optimizing TTF tables.

otfcc - Optimized OpenType builder and inspector.

  •    C

The otfcc is a C library and utility used for parsing and writing OpenType font files. You can download the prebuilt binaries here.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.