How do I get the font width metadata property using Fonttools? #3142
futuremotiondev
started this conversation in
General
Replies: 1 comment 2 replies
-
This is not an issue. Anyway: font = TTFont(file)
width = font['OS/2'].usWidthClass
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for a way to retrieve this property for a script I'm writing:
What is the correct way to accomplish this using FontTools?
Beta Was this translation helpful? Give feedback.
All reactions