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

Expand max font atlas size from 8k to 16k #5257

Merged
merged 3 commits into from
Oct 29, 2024
Merged

Conversation

rustbasic
Copy link
Contributor

When using fonts with an average of 50,000 characters,
'epaint texture atlas overflowed!' may be printed and cause problems.
It is necessary to expand the max value related to texture.

Copy link

Preview available at https://egui-pr-preview.github.io/pr/5257-patch138
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

crates/epaint/src/texture_atlas.rs Outdated Show resolved Hide resolved
@emilk emilk changed the title Fix: Expanding the Texture Atlas Limit for Fonts with Large Character Sets Expand max font atlas size from 8k to 16k Oct 23, 2024
@rustbasic rustbasic requested a review from emilk October 23, 2024 14:36
@emilk emilk merged commit 288c74e into emilk:master Oct 29, 2024
24 checks passed
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
When using fonts with an average of 50,000 characters,
'epaint texture atlas overflowed!' may be printed and cause problems.
It is necessary to expand the max value related to texture.

* Closes emilk#5256

---------

Co-authored-by: Emil Ernerfeldt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

epaint Texture Atlas Overflow with Large Font Character Sets
2 participants