Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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 do I measure pixel width of a string of text? #104

Closed
Tameflame opened this issue Mar 13, 2024 · 0 comments
Closed

How do I measure pixel width of a string of text? #104

Tameflame opened this issue Mar 13, 2024 · 0 comments

Comments

@Tameflame
Copy link

I want to implement text wrapping for my ui library and it requires measuring the dimensions of a string of text so I can compare it to the line width. Is there an example with this library to do so?

It would need to take into consideration emojis and kerning.

@yeslogic yeslogic locked and limited conversation to collaborators Mar 13, 2024
@wezm wezm converted this issue into discussion #105 Mar 13, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant