fallback fonts

This commit is contained in:
galister
2026-01-07 03:41:07 +09:00
parent 954e1c3157
commit 578165ee5b
4 changed files with 16 additions and 8 deletions

View File

@@ -72,10 +72,10 @@ impl WguiGlobals {
Ok(Self(Rc::new(RefCell::new(Globals {
assets_internal,
assets_builtin,
i18n_builtin,
defaults,
asset_folder,
font_system: WguiFontSystem::new(font_config),
font_system: WguiFontSystem::new(font_config, i18n_builtin.get_lang()),
i18n_builtin,
custom_glyph_cache: CustomGlyphCache::new(),
}))))
}