mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-24 01:28:39 +02:00
feat(bar): add thai font fallback
This commit is contained in:
@@ -571,6 +571,7 @@ impl Komobar {
|
|||||||
|
|
||||||
fallbacks.insert("Microsoft YaHei", "C:\\Windows\\Fonts\\msyh.ttc"); // chinese
|
fallbacks.insert("Microsoft YaHei", "C:\\Windows\\Fonts\\msyh.ttc"); // chinese
|
||||||
fallbacks.insert("Malgun Gothic", "C:\\Windows\\Fonts\\malgun.ttf"); // korean
|
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 {
|
for (name, path) in fallbacks {
|
||||||
if let Ok(bytes) = std::fs::read(path) {
|
if let Ok(bytes) = std::fs::read(path) {
|
||||||
|
|||||||
Reference in New Issue
Block a user