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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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…