-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draw_text_mut
does not seem to account for accents when placing text.
#710
Comments
draw_text_mut
does not seem to account for accents when placing text.
I remember fixing the imageproc = { git = "https://github.com/image-rs/imageproc.git", branch = "master" } |
Maybe it doesn’t solve this issue, but it can be related if someone wants to test |
|
On second check, master fixed my particular unrelated troubles with rendering text (so thank you very much), but this particular issue actually still remains, so keeping this open And as for
idk how imageproc actually works, cause that space on the bottom also fits low glyphs like |
Very simple, if I ask imageproc for
text_size
and then snugly render e.g. anÄ
:The accents are cut off:
But there is additional space at the bottom:
Which, if I offset by the right amount (16 in this case), seems to fit perfectly snug.
Which leads me to believe imageproc accounts for accents when doing
text_size
but not when placing the text.The text was updated successfully, but these errors were encountered: