Working...

master
Andy Teijelo Pérez 2016-09-15 12:18:14 -04:00
parent 0ea692c54a
commit 95f4dd4156
2 changed files with 7 additions and 1 deletions

View File

@ -35,6 +35,13 @@ wide-svgs: pngs
done
touch wide-svgs
unicode2msx.txt: msx2utf8.py
./msx2utf8.py -l | awk '{ print $$2" "$$1 }' > unicode2msx.txt
msx-screen0.sfd msx-screen0.woff: svgs unicode2msx.txt importchars.py
fontforge -script importchars.py unicode-to-msx.txt narrow-svgs/ msx-screen0.sfd msx-screen0.woff
MSX-Screen0.woff: msx-screen0.sfd
MSX-Screen0.ttf: msx-screen0.sfd

View File

@ -11,7 +11,6 @@ for line in f:
msxcode = int(msxcode)
glyph = font.createChar(codepoint)
svgfile = "{:03d}.svg".format(msxcode)
print("importing", svgfile)
glyph.importOutlines(os.path.join(sys.argv[2], svgfile))
font.save(sys.argv[3])