Skip to content

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

Merged
emilk merged 3 commits into
emilk:masterfrom
rustbasic:patch138
Oct 29, 2024
Merged

emilk merged 3 commits into
emilk:masterfrom
rustbasic:patch138

Conversation

@rustbasic

Copy link
Copy Markdown
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.

@github-actions

Copy link
Copy Markdown

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.

Comment thread crates/epaint/src/texture_atlas.rs Outdated
@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
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
@rustbasic
rustbasic requested a review from emilk October 23, 2024 14:36
@emilk
emilk merged commit 288c74e into emilk:master Oct 29, 2024
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 <emil.ernerfeldt@gmail.com>
@rustbasic
rustbasic deleted the patch138 branch July 31, 2026 08:12
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