Closed HenrikFricke closed 4 years ago
@HenrikFricke Good idea!
Shall we prepare a pull request?
Yes, please.
@shrhdk Hey, thanks for your response. We tried to prepare a pull request but then we figured out that our use case is very special and at some point, we realized we would need to change a lot in the library to adjust it to our fits. I'll close this issue now, but again thanks for your answer!
Right now, the
getMetrics
method returns the proportions of the path, but it calculates the height of the text including the special characters even if those characters are not used.Sometimes this could cause problems when centring the text vertically, so we would like to extend the
getMetrics
method to also give back the exact height of the given text.As a result the response of the method could look like this for the given example:
What do you think about it? Shall we prepare a pull request?