It looks like you're new here. If you want to get involved, click one of these buttons!
#(re-type.com) Generate and execute the code to batch process a bunch of fonts with TTFAutohint
#IMPORTANT: You must name your fonts this way: fontname-weight.ttf
font_name = raw_input("Write the font name: ")
font_family = 
number_of_weights = int(raw_input("Write the number of weights: "))
weight = raw_input ("Enter the name of your font weights one by one: ")
if len(font_family) == number_of_weights:
input_directory = raw_input("Write the directory where your input fonts are located: ")
for n in font_family:
run_ttfautohint = "ttfautohint -v -f latn -n -w gGD "+input_directory+font_name+"-"+n+".ttf"+" "+input_directory+font_name+"-"+n+"-HINTED"+".ttf"