git.lucas.co / Myna
git clone https://git.lucas.co/Myna.git

commit69c35f3095ada0b1aa41e43d5d168c8c314a676f
parente80ce0ccce
authorsayyadirfanali <irfan@irfanali.org>
date2025-12-24 18:43
add altl.py for featureless and ambiguous 'l' font generation for #27

 altl.py | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/altl.py b/altl.py
new file mode 100644
index 0000000..d417522
--- /dev/null
+++ b/altl.py
@@ -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")