How can i get the advance-width table in hmtx? #2375
-
I have tried font["hmtx"].aWidth and font["hmtx"].advanceWidth, but it raises AttributeError: 'table__h_m_t_x' object has no attribute 'aWidth'. |
Beta Was this translation helpful? Give feedback.
Answered by
justvanrossum
Jun 21, 2021
Replies: 2 comments 2 replies
-
Here's an example: https://github.com/fonttools/fonttools/wiki/How-do-I...%3F#metrics-how-to-measure-various-things |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
khaledhosny
-
Thank you very much, it really do me a favor! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's an example: https://github.com/fonttools/fonttools/wiki/How-do-I...%3F#metrics-how-to-measure-various-things