Fix typo in fallback font name

The font name is "Noto Sans CJK JP", not "Noto Sans CJK JA".

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
This commit is contained in:
Mohammad AlSaleh 2024-09-09 21:46:55 +03:00 committed by Jeremy Soller
parent 9d132f8ebd
commit e8f567cf5b

View file

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