Skip to content

Commit

Permalink
addressing #2
Browse files Browse the repository at this point in the history
  • Loading branch information
molarmanful committed Apr 11, 2024
1 parent 5a3e072 commit a3c2aba
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,19 @@ ff() {
s=$(
cat <<-END
f = open(argv[1])
f.os2_version = 4
f.os2_vendor = "BenP"
f.os2_panose = (2, 0, 6, 9, 0, 0, 0, 0, 0, 0)
f.os2_weight_width_slope_only = True
f.selection.all()
f.em = 2048
f.correctDirection()
f.removeOverlap()
for g in f:
f[g].width = 768
if f[g].unicode != -1:
f[g].glyphname = nameFromUnicode(f[g].unicode, "AGL with PUA")
f.encoding = "UnicodeFull"
f.fullname = argv[3]
f.fontname = argv[3]
f.generate(argv[2], "otb")
f.generate(argv[2] + "dfont", "sbit")
END
Expand Down

0 comments on commit a3c2aba

Please sign in to comment.