feat(bar): add thai font fallback

This commit is contained in:
Csaba
2025-02-17 13:49:14 +01:00
committed by Jeezy
parent d168013375
commit 5f31e89e8d

View File

@@ -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) {