how to get correct metrics identical to DrawText() ? #457
-
metrics don't match rendered text |
Beta Was this translation helpful? Give feedback.
Answered by
JimBobSquarePants
May 27, 2025
Replies: 1 comment 6 replies
-
|
I can't figure out what values are output from metrics and what is drawn. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


It doesn’t look to me like you are using the correct formula to calculate the metrics.
see SixLabors/ImageSharp.Drawing#353