egui
egui copied to clipboard
Fix: `ctx.set_fonts()` Doesn't Apply Fonts with Same Name
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.
Additionally, it's recommended to apply fonts immediately using ctx.set_fonts().
- Related #5233
- Closes #5252
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.
Let's wait until after https://github.com/emilk/egui/pull/5228 is merged
Needs to fix merge conflict now that https://github.com/emilk/egui/pull/5228 is merged