X Tutup
Skip to content

[TextServer] Do not add extra spacing to zero-width glyphs.#110317

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
bruvzg:ts_zero_w
Oct 1, 2025
Merged

[TextServer] Do not add extra spacing to zero-width glyphs.#110317
Repiteo merged 1 commit intogodotengine:masterfrom
bruvzg:ts_zero_w

Conversation

@bruvzg
Copy link
Member

@bruvzg bruvzg commented Sep 8, 2025

Extra spacing is no longer applied to zero-width glyphs and the last non-zero-width glyph in the string (previously it was not applied to the last glyph only, regardless of it width).

Fixes #110301
Fixes zero-width space/joiners handling in the fallback text server.

@bruvzg bruvzg added this to the 4.6 milestone Sep 8, 2025
@bruvzg bruvzg requested a review from a team as a code owner September 8, 2025 07:08
@Repiteo Repiteo merged commit 6f01413 into godotengine:master Oct 1, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Oct 1, 2025

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 4.5.2.

@akien-mga akien-mga removed the cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release label Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Having negative glyth extra spacing for FontVariations, breaks the minimum x size of the label

4 participants

X Tutup