IdreesInc/Monocraft

Make ligatures "monospaced" and use complex character substitution

Open

#77 ouverte le 28 déc. 2022

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)Python (113 forks)batch import
help wanted

Métriques du dépôt

Stars
 (7 423 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

The ligature characters used in Monocraft replace multiple characters and so are bigger than the other characters in the font. This causes the font to not technically be classified as a monospaced font on Mac. Fonts like Hasklig and FiraCode use complex character substitution that replace the characters with ligature glyphs that go beyond the bounds and spacer characters to match the width of the original character set. I am not sure how to reproduce this in FontForge and it seems to be complicated, so any help on how to replace multiple characters (like "===") with other multiple characters (like "[SPACE][SPACE][LIG]") would be appreciated!

Guide contributeur