+ import argparse
+
+ parser = argparse.ArgumentParser()
+ parser.add_argument("-s", "--size", default=10, type=int, metavar="NUM", help="Font size in pixels")
+ parser.add_argument("-a", "--autohinter", action="store_const", const=True, default=False, help="Force autohinter")
+ parser.add_argument("-m", "--margin", default=0, type=int, metavar="NUM", help="Margin around image edge in pixels")
+ parser.add_argument("-n", "--padding", default=1, type=int, metavar="NUM", help="Padding between glyphs in pixels")
+ parser.add_argument("-r", "--range", action="append", type=parse_range, metavar="START,END", help="Range of code points to include")
+ parser.add_argument("-f", "--distfield", default=0, type=int, metavar="NUM", help="Produce a distance field texture")
+ parser.add_argument("ttf", metavar="font.ttf", help="TrueType file to read")
+ parser.add_argument("outfile", help="MspGL font file to write")
+
+ args = parser.parse_args()