summaryrefslogtreecommitdiff
path: root/fonts/thai/fonts-arundina/scripts/gen-otf.py
blob: ca264ab3fde03d5a9cf2214d7c44fc61e0051e20 (plain)
1
2
3
4
5
6
7
8
9
import sys
import os
import fontforge

sfd_file = sys.argv[1]
otf_file = os.path.basename(sfd_file).replace(".sfd", ".otf")

f = fontforge.open(sfd_file)
f.generate(otf_file, layer="Cube")