Gothic-UnZENity-Project / Gothic-UnZENity

Community rebuild of classical Gothic 1 and 2 in Unity engine. Currently focusing on a native VR implementation.
GNU General Public License v3.0
10 stars 2 forks source link

Polish (and hopefuly other langs) font #122

Closed BoroBongo closed 1 month ago

BoroBongo commented 1 month ago

Image In Polish language whenever a dialogue option consists of a special character (ś,ć,ż,ź etc.) all of the text after special character is wiped out and not rendered.

Full warning

The character with Unicode value \u0107 was not found in the [LiberationSans SDF empty] font asset or any potential fallbacks. It was replaced by Unicode character \u0003 in text object [Label].
UnityEngine.Debug:LogWarning (object,UnityEngine.Object)
TMPro.TextMeshProUGUI:SetArraySizes (TMPro.TMP_Text/TextProcessingElement[]) (at ./Library/PackageCache/com.unity.textmeshpro@3.2.0-pre.10/Scripts/Runtime/TextMeshProUGUI.cs:1979)
TMPro.TMP_Text:ParseInputText () (at ./Library/PackageCache/com.unity.textmeshpro@3.2.0-pre.10/Scripts/Runtime/TMP_Text.cs:2007)
TMPro.TextMeshProUGUI:OnPreRenderCanvas () (at ./Library/PackageCache/com.unity.textmeshpro@3.2.0-pre.10/Scripts/Runtime/TextMeshProUGUI.cs:2426)
TMPro.TextMeshProUGUI:Rebuild (UnityEngine.UI.CanvasUpdate) (at ./Library/PackageCache/com.unity.textmeshpro@3.2.0-pre.10/Scripts/Runtime/TextMeshProUGUI.cs:223)
UnityEngine.Canvas:SendWillRenderCanvases ()
BoroBongo commented 1 month ago

image quick fix for polish characters

BoroBongo commented 1 month ago

image Working for russian lang as well yay