#!/usr/bin/python # file: larsenwork-monoid-fonts-build.py # import sys from fontbuilder import * output = "_build" def build( what ): font = fontforge.open( what ) Swap( "dollar", "dollar.empty" )( font ) DropCAltAndLiga()( font ) font.generate( join( output, font.fontname ) + ".ttf" ) font.close() mkdir( output ) for arg in sys.argv[ 1 : ] : build( arg ) # end of file #