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

internals: font initialization TODO #163

Open
toloudis opened this issue Feb 1, 2024 · 0 comments
Open

internals: font initialization TODO #163

toloudis opened this issue Feb 1, 2024 · 0 comments

Comments

@toloudis
Copy link
Contributor

toloudis commented Feb 1, 2024

Use Case

There is a TODO about how it is possible to request more characters than fit in the font bitmap. Ideally the code should check for this and error out more politely. As it is, it would crash.

Solution

Do some math in the code to establish that the character glyphs will actually fit? Evaluate whether that is even possible using stb_truetype.

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