Skip to content

Commit

Permalink
Fix typo in fallback font name
Browse files Browse the repository at this point in the history
 The font name is "Noto Sans CJK JP", not "Noto Sans CJK JA".

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
  • Loading branch information
MoSal authored and jackpot51 committed Sep 9, 2024
1 parent 9d132f8 commit e8f567c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/font/fallback/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8f567c

Please sign in to comment.