Skip to content

Instantly share code, notes, and snippets.

@bombless
Created April 16, 2023 15:22
Show Gist options
  • Save bombless/194766be4050d43d93cfdb644f6cfacc to your computer and use it in GitHub Desktop.
Save bombless/194766be4050d43d93cfdb644f6cfacc to your computer and use it in GitHub Desktop.
egui font update tips

set_fonts set fonts inside a font cache on Context and then fonts in cache are actually updated on frame startup

that's why you need to load font and display it in the next frame

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment