Search Issue Tracker

Fixed in 2022.3.22f1

Fixed in 2022.3.X, 2023.2.X, 6000.0.X, 6000.0.0b11

Votes

0

Found in

2022.3.7f1

2023.1.8f1

2023.2.0b4

2023.3.0a1

6000.0.0b11

Issue ID

UUM-45512

Regression

No

Text after the first space gets deleted when the font asset is created with “Custom characters” without spaces

UI Toolkit Framework

-

How to reproduce:
1. Build And Run the user’s attached “font-definition-bug.zip” project
2. Observe the result

Expected result: “Text is still shown after the first tab” and “Text is not shown after the first space” texts are visible
Actual result: “Text is still shown after the first tab” and “Text” texts are visible

Reproducible with: 2022.3.7f1, 2023.1.8f1, 2023.2.0b4
Could not test with: 2021.3.29f1 (Text is not visible, and “The character used for Underline is not available in font asset” warning appears)

Reproduced on: macOS 13.4.1 (Intel)

Notes:
-In the Editor 2021.3.29f1, 2022.3.7f1 versions issue is not reproducible but in 2023.1.8f1, 2023.2.0b4 reproducible
-Not reproducible if any number of spaces are added to the character list of the font asset
-Not reproducible with tabs and newlines, even if they are not listed in the font asset's custom character list

  1. Resolution Note (fix version 6000.0):

    Ensure space and underline are always added to Static FontAsset.

Add comment

Log in to post comment