Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DM Mono Ligaturized

DM Mono patched with Fira Code ligatures via Ligaturizer.

Liga DM Mono in Ghostty. Theme: Dracula+

Setup

Install with Homebrew:

brew install --cask nanxstats/tap/font-dm-mono-ligaturized

Or install the ligaturized fonts from fonts/ using your OS font manager.

VS Code

In VS Code, press Cmd + Shift + P, search for Preferences: Open User Settings (JSON). In the opened settings.json, set font family to Liga DM Mono and enable ligatures:

"editor.fontFamily": "'Liga DM Mono', monospace",
"editor.fontLigatures": "'calt', 'liga'",
"terminal.integrated.fontFamily": "'Liga DM Mono', monospace",
"terminal.integrated.fontLigatures.enabled": true,

Ghostty

Open Ghostty settings (Cmd + ,) and set font family to Liga DM Mono:

font-family = Liga DM Mono

Press Cmd + Shift + , to reload the terminal with the new configuration.

Build

Run make in the repository root on macOS with git and Homebrew.

The Makefile will:

  • Clone Ligaturizer (plus only the fonts/fira submodule) and DM Mono.
  • Patch Ligaturizer options to target DM Mono and drop selected ligatures.
  • Run the Ligaturizer build.
  • Copy the ligaturized DM Mono font files into fonts/.
  • Remove the cloned sources.

Dropped ligatures

These ligatures from Fira Code are intentionally omitted:

&&, ~@, \/, .?, ?:, ?=, ?., ??, ;;, /\

Output

Ligaturized fonts land in fonts/:

  • LigaDMMono-Light.ttf
  • LigaDMMono-LightItalic.ttf
  • LigaDMMono-Regular.ttf
  • LigaDMMono-Italic.ttf
  • LigaDMMono-Medium.ttf
  • LigaDMMono-MediumItalic.ttf

About

DM Mono font with Fira Code ligatures

Topics

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages