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

No documentation explaining how to convert an nk_rune to a char. #644

Closed
StrikerMan780 opened this issue May 25, 2024 · 1 comment
Closed

Comments

@StrikerMan780
Copy link

Trying to get nuklear working in an engine that doesn't support unicode, and I'm trying to convert an nk_rune in my font glyph query function into an ASCII char, and I'm completely stumped.

@StrikerMan780 StrikerMan780 changed the title No documentation explaining how to conver an nk_rune to a char. No documentation explaining how to convert an nk_rune to a char. May 25, 2024
@StrikerMan780
Copy link
Author

StrikerMan780 commented May 26, 2024

Never mind, figured out you can do it by checking/clamping the range and casting to char.

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