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

Get cursor position from Pango layout #47

Open
sakhnik opened this issue Jul 26, 2022 · 0 comments
Open

Get cursor position from Pango layout #47

sakhnik opened this issue Jul 26, 2022 · 0 comments
Milestone

Comments

@sakhnik
Copy link
Owner

sakhnik commented Jul 26, 2022

Some characters are wider than others, for example, . So cursor appears to be misplaced after such characters.
One could calculate the proper caret position from Pango layout obtained from the label. This could also allow drawing a slanted cursor.

@sakhnik sakhnik added this to the 0.2 milestone Jul 26, 2022
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

No branches or pull requests

1 participant