-
Notifications
You must be signed in to change notification settings - Fork 173
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
Wrong text positioning? #113
Comments
|
|
Problem: Glyphs are out of text bounds. |
At this moment I don't know what metrick should be used from TTF. Do you know? in your case could help for example |
Yep, with |
#115 works fine for me |
Hi, @frankinshtein
Working with TTF fonts in Oxygine.
Looks like text positioning is wrong, but text rect calculation is correct.
I'd say that font's descent is ignored.
Please look at screenshot.
Code for drawing text and red rectangle:
The text was updated successfully, but these errors were encountered: