<s> '''<STR_LIT>''' <EOL> import sys <EOL> from pyglet . font import ttf <EOL> def inspect_font ( filename ) : <EOL> try : <EOL> info = ttf . TruetypeInfo ( filename ) <EOL> print '<STR_LIT>' % filename , <EOL> print info . get_name ( '<STR_LIT>' ) , <EOL> print '<STR_LIT>' % info . is_bold ( ) , <EOL> print '<STR_LIT>' % info . is_italic ( ) , <EOL> except : <EOL> print '''<STR_LIT>''' % filename <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> if len ( sys . argv ) < <NUM_LIT:2> : <EOL> print __doc__ <EOL> for filename in sys . argv [ <NUM_LIT:1> : ] : <EOL> inspect_font ( filename ) </s>
