mirror of
https://github.com/sayyadirfanali/Myna.git
synced 2026-03-17 23:03:56 +01:00
add altl.py for featureless and ambiguous 'l' font generation for #27
This commit is contained in:
18
altl.py
Normal file
18
altl.py
Normal 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")
|
||||
Reference in New Issue
Block a user