mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-25 03:53:23 +01:00
Inter, JetBrains Mono and egui's own fonts have no Japanese, Chinese, Korean, Arabic, Thai or Indic letters, so text in them showed as empty boxes in the Movie Explorer, the timeline, the Library and Properties, while the stage drew it. Each frame the painted text is checked for characters no interface font has; a background thread then finds an installed face that has them (the system's own interface faces first, ordered by the system's language for Han characters) and it is added after every other font. Nothing loads until such text is shown; at most 6 faces of at most 48 MB, each character looked up once. Also adds the docsettings screenshot state. Fixes #482