branchrust_reboot/main/fonts_fallbackcancel
8 Commits over 0 Days - ∞cph!
Bunch of arabic font tweaks to fix the weird line spacing
Crafting menu: fixed item name overlapping with the workbench level in some languages
Instead of replacing the font fallback list entirely, just re-order it to use the currently selected language first
This ensures that texts using any font at any time can work properly (chat, language menu, any input field)
Added all fonts to the font fallback settings scriptable
Removed RobotoCondensed Hotkey TMP asset, was only used in the beltbar
Updated the language selection dropdown to use proper fonts instead of fallbacks
Fixed OnInspectorGUI NRE when clicking on a TMP sub mesh
Changed how we handle font fallbacks:
Instead of using a single fallback list, each language now has its own fallback list that gets applied when switching languages, defined in a scriptable object
This prevents some fuckery with strings using characters from multiple fonts
Example: a Japanese word that shared characters with the Chinese font ended up using 3 fonts: Chinese, Chinese Dynamic, and Japanese - now it just uses the Japanese font