-
Notifications
You must be signed in to change notification settings - Fork 25
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
How can i get the bearing information for text rendering? #85
Comments
Do you mean ascent? |
thanks for your reply |
Ascent is generally what you use for layout kind of work. What do you need the per-glyph height for? Rasterization? |
find the baseline of this glyph, by the way to get the rectangle coords of each glyph for text rendering. |
Sorry, I'm not 100% understanding your questions. But related to rendering, to render you first outline the glyph. From that you can draw pixels. The outlined glyph provides the The image example demonstrates usage. |
Now, this crate could only get the offset from baseline to left of glyph, but i want to know how to get the offset from baseline to top of glyph, Please let me know at your convenience what interface i should call
The text was updated successfully, but these errors were encountered: