Skip to content
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

Getting individual glyph positions for cursor rendering #37

Closed
HalfVoxel opened this issue Apr 24, 2020 · 0 comments · Fixed by #43
Closed

Getting individual glyph positions for cursor rendering #37

HalfVoxel opened this issue Apr 24, 2020 · 0 comments · Fixed by #43

Comments

@HalfVoxel
Copy link

Suppose I want to make an editable text field. This requires displaying a cursor in the text. However I cannot figure out how to get the position (baseline of the row would probably also be required) of a given glyph at a particular index in a section. I see that it is possible to get the bounding box a complete section, but I individual glyphs seem harder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant