perf: reduce web font and scene pack sizes

This commit is contained in:
2026-08-01 23:45:03 +08:00
parent 38df2541ae
commit 6fb135ba71
8 changed files with 47 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ extends Node
# Enforce a Chinese-capable font for every UI control, including controls
# constructed dynamically after their scene has loaded.
const UI_FONT: FontFile = preload("res://assets/fonts/msyh.ttc")
const UI_FONT: FontFile = preload("res://assets/fonts/msyh-web.ttf")
func _enter_tree() -> void:
get_tree().node_added.connect(_on_node_added)