diff options
Diffstat (limited to 'fonts/thai/fonts-arundina/scripts/gen-pfb.py')
-rw-r--r-- | fonts/thai/fonts-arundina/scripts/gen-pfb.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fonts/thai/fonts-arundina/scripts/gen-pfb.py b/fonts/thai/fonts-arundina/scripts/gen-pfb.py new file mode 100644 index 0000000000..bef8cf1cf3 --- /dev/null +++ b/fonts/thai/fonts-arundina/scripts/gen-pfb.py @@ -0,0 +1,9 @@ +import sys +import os +import fontforge + +sfd_file = sys.argv[1] +pfb_file = os.path.basename(sfd_file).replace(".sfd", ".pfb") + +f = fontforge.open(sfd_file) +f.generate(pfb_file, layer="Cube") |