add altl.py for featureless and ambiguous 'l' font generation for #27

This commit is contained in:
sayyadirfanali
2025-12-24 18:43:22 +05:30
parent e80ce0ccce
commit 69c35f3095

18
altl.py Normal file
View File

@@ -0,0 +1,18 @@
import fontforge
import math
import psMat
def mkFont(name, weight):
font = fontforge.open(name + ".sfd")
font.selection.select("alt_l")
font.copy()
font.selection.select("l")
font.paste()
font.generate(name + ".otf")
font.close()
mkFont("Myna-Regular", "Regular")
mkFont("Myna-Bold", "Bold")