I need to extract information from .ttf files. Such as the font's name and style. Maybe some more info in future. How to do this in Python more easily than looking for a specification and coding a lot?
A short code example woul开发者_如何学Cd be great.
Check this out: How to extract font names from TTF files using Python and our old friend 'the command line'
Note: This took me about 10 seconds to google...
精彩评论