Skip to content

Commit

Permalink
Add a Hebrew font. #1128
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Nov 26, 2023
1 parent 1884460 commit 4daf9a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -2070,6 +2070,11 @@
"uncompressed_size_bytes": 187000,
"compressed_size_bytes": 85904
},
"data/system/extra_fonts/NotoSansHebrew-Regular.ttf": {
"checksum": "5199b3892ba596a6bf8d0f930729157f",
"uncompressed_size_bytes": 42704,
"compressed_size_bytes": 24130
},
"data/system/extra_fonts/NotoSerifCJKtc-Regular.otf": {
"checksum": "338584d1454293b6dfd84a9137153b3c",
"uncompressed_size_bytes": 23614420,
Expand Down
Binary file not shown.
1 change: 1 addition & 0 deletions map_gui/src/load.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ impl MapLoader {
) -> Box<dyn State<A>> {
// TODO Generalize this more, maybe with some kind of country code -> font config
if let Some(extra_font) = match name.city.country.as_ref() {
"il" => Some("NotoSansHebrew-Regular.ttf"),
"ir" | "ly" => Some("NotoSansArabic-Regular.ttf"),
"jp" => Some("NotoSerifCJKtc-Regular.otf"),
"tw" => Some("NotoSerifCJKtc-Regular.otf"),
Expand Down

0 comments on commit 4daf9a8

Please sign in to comment.