mirror of
https://github.com/sayyadirfanali/Myna.git
synced 2026-11-13 07:03:28 +01:00
add altl.py for featureless and ambiguous 'l' font generation for #27
This commit is contained in:
1 parent
e80ce0ccce
commit
69c35f3095
1 file changed
+18
@@ -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")
|
||||
Reference in new issue
Block a user