file manager
git clone https://git.lucas.co/cce-files.git
Initialize font system using create_font_system to fix missing font rendering fallback issue
src/main.rs | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/main.rs b/src/main.rs
index 28639fe..3d206d4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -598,11 +598,7 @@ impl Application for FilesystemApp {
save_mode,
widgets: Vec::new(),
text_items: Vec::new(),
- font_system: {
- let mut fs = FontSystem::new();
- fs.db_mut().load_fonts_dir("/home/lsgalante/Dropbox/Fonts");
- fs
- },
+ font_system: cce_ui::create_font_system(),
needs_rebuild: true,
width: initial_w,
height: initial_h,