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

Fix: ctx.set_fonts() Doesn't Apply Fonts with Same Name #5253

Closed
wants to merge 1 commit into from

Conversation

rustbasic
Copy link
Contributor

@rustbasic rustbasic commented Oct 12, 2024

If a font file named my_font is set using ctx.set_fonts() and then another font file with the same name is set again using ctx.set_fonts(), it won't be applied.

  1. Additionally, it's recommended to apply fonts immediately using ctx.set_fonts().
  2. This will also allow you to reset the fonts and texture.

Copy link

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

@emilk
Copy link
Owner

emilk commented Oct 23, 2024

Let's wait until after #5228 is merged

@emilk
Copy link
Owner

emilk commented Oct 29, 2024

Needs to fix merge conflict now that #5228 is merged

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

Successfully merging this pull request may close these issues.

ctx.set_fonts() Doesn't Apply Fonts with Same Name
2 participants