<reponame>graffitiMSX/msxpower-googlefontdirectory<gh_stars>1-10
#!/usr/bin/python
#
# With the SFDs in the current directory, run this with
# $ python generate.py

import fontforge, sys
required_version = "20090923"

if fontforge.version() < required_version:
  print ("Your version of FontForge is too old - %s or newer is required" % (required_version));

print ("Current fontforge version:")
print fontforge.version()

files = [
'UnifrakturMaguntia.sfd',
]

# smart features in fea/gdl/mif sources to be integrated into the buildpath

for font in files:
    f = fontforge.open(font)
    print ("Building   ") + f.fullname + ( " ") + f.weight + ("  from sfd sources with fontforge")
    f.generate(f.fontname + '-' + f.weight + '.ttf')
    f.close

print ("font version:")
print (f.version)

print ("Done");

#!/usr/bin/python
#
# With the SFDs in the current directory, run this with
# $ python generate.py

import fontforge, sys
required_version = "20090923"

if fontforge.version() < required_version:
  print ("Your version of FontForge is too old - %s or newer is required" % (required_version));

print ("Current fontforge version:")
print fontforge.version()

files = [
'UnifrakturMaguntia.sfd',
]

# smart features in fea/gdl/mif sources to be integrated into the buildpath

for font in files:
    f = fontforge.open(font)
    print ("Building   ") + f.fullname + ( " ") + f.weight + ("  from sfd sources with fontforge")
    f.generate(f.fontname + '-' + f.weight + '.ttf')
    f.close

print ("font version:")
print (f.version)

print ("Done");
#!/usr/bin/python # # With the SFDs in the current directory, run this with # $ python generate.py # smart features in fea/gdl/mif sources to be integrated into the buildpath