Reputation: 21241
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 would be great.
Upvotes: 3
Views: 3252
Reputation: 17535
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...
Upvotes: 5