From 5f31e89e8dd8ff659834efa9e2dd53867e907128 Mon Sep 17 00:00:00 2001 From: Csaba Date: Mon, 17 Feb 2025 13:49:14 +0100 Subject: [PATCH] feat(bar): add thai font fallback --- komorebi-bar/src/bar.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/komorebi-bar/src/bar.rs b/komorebi-bar/src/bar.rs index 7d576d08..1fcb56bb 100644 --- a/komorebi-bar/src/bar.rs +++ b/komorebi-bar/src/bar.rs @@ -571,6 +571,7 @@ impl Komobar { fallbacks.insert("Microsoft YaHei", "C:\\Windows\\Fonts\\msyh.ttc"); // chinese fallbacks.insert("Malgun Gothic", "C:\\Windows\\Fonts\\malgun.ttf"); // korean + fallbacks.insert("Leelawadee UI", "C:\\Windows\\Fonts\\LeelawUI.ttf"); // thai for (name, path) in fallbacks { if let Ok(bytes) = std::fs::read(path) {