egui icon indicating copy to clipboard operation
egui copied to clipboard

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

Open rustbasic opened this issue 1 year ago • 1 comments

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

rustbasic avatar Oct 12 '24 14:10 rustbasic

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.

github-actions[bot] avatar Oct 12 '24 14:10 github-actions[bot]

Let's wait until after https://github.com/emilk/egui/pull/5228 is merged

emilk avatar Oct 23 '24 08:10 emilk

Needs to fix merge conflict now that https://github.com/emilk/egui/pull/5228 is merged

emilk avatar Oct 29 '24 09:10 emilk