mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:54:44 -04:00
Changed CJK font and fixed some character issues
- The CJK font (for Chinese & Korean) was changed to DroidSansFallback from NotoSansCJKtc. This results in a much smaller exported `.pck` (over 10MB less) - Fixed Chinese and Korean characters not displaying properly in the Splash dialog and the About dialog.
This commit is contained in:
parent
4e14c999d3
commit
0d5b4416a4
11 changed files with 44 additions and 22 deletions
|
@ -503,6 +503,10 @@ Hold %s to make a line""") % [InputMap.get_action_list("left_eraser_tool")[0].as
|
|||
(%s)""") % InputMap.get_action_list("go_to_last_frame")[0].as_text()
|
||||
|
||||
|
||||
func is_cjk(locale : String) -> bool:
|
||||
return "zh" in locale or "ko" in locale
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
config_cache.set_value("window", "screen", OS.current_screen)
|
||||
config_cache.set_value("window", "maximized", OS.window_maximized || OS.window_fullscreen)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue