mirror of
https://github.com/sayyadirfanali/Myna.git
synced 2026-07-06 13:05:16 +02:00
add altl.py for featureless and ambiguous 'l' font generation for #27
This commit is contained in:
@@ -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