enable cs+ japanese font

This commit is contained in:
Alula 2022-04-29 20:38:02 +02:00
parent 75f5e9f364
commit 24762a1c45
No known key found for this signature in database
GPG Key ID: 3E00485503A1D8BA
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@
"main_menu": {
"start": "ゲームスタート",
"challenges": "チャレンジ",
"options": "設定",
"options": "オプション",
"editor": "レベルエディタ",
"jukebox": "ジュークボックス",
"quit": "辞める"

View File

@ -107,8 +107,7 @@ impl Language {
pub fn font(self) -> FontData {
match self {
Language::English => FontData::new("csfont.fnt".to_owned(), 0.5, 0.0),
// TODO: implement JP font rendering
Language::Japanese => FontData::new("0.fnt".to_owned(), 1.0, 0.0),
Language::Japanese => FontData::new("csfontjp.fnt".to_owned(), 0.5, 0.0),
}
}