From e8f567cf5b456dfab749a575c257acaa36f622d9 Mon Sep 17 00:00:00 2001 From: Mohammad AlSaleh Date: Mon, 9 Sep 2024 21:46:55 +0300 Subject: [PATCH] Fix typo in fallback font name The font name is "Noto Sans CJK JP", not "Noto Sans CJK JA". Signed-off-by: Mohammad AlSaleh --- src/font/fallback/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font/fallback/unix.rs b/src/font/fallback/unix.rs index b627de9..11b58ec 100644 --- a/src/font/fallback/unix.rs +++ b/src/font/fallback/unix.rs @@ -32,7 +32,7 @@ pub fn forbidden_fallback() -> &'static [&'static str] { fn han_unification(locale: &str) -> &'static [&'static str] { match locale { // Japan - "ja" => &["Noto Sans CJK JA"], + "ja" => &["Noto Sans CJK JP"], // Korea "ko" => &["Noto Sans CJK KR"], // Hong Kong