开发者

Python: is there a TrueType font library?

开发者 https://www.devze.com 2023-03-23 23:15 出处:网络
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 lo

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...

0

精彩评论

暂无评论...
验证码 换一张
取 消