Skip to content

Conversation

@jfboeve
Copy link
Collaborator

@jfboeve jfboeve commented Nov 3, 2025

Optimized vertical and horizontal text alignments. The Text Layout Engine now calculates the layout without altering the x and y position based on the maxWidth, and maxHeight. This returns the actual dimensions of the calculated texts. The position of the generated text is then positioned in the updateLocalTransform function base on maxWidth / textAlign and maxHeight / verticalAlign.

Resolves:

  • Wrong dimensions emitted
  • oversized textures for canvas

@jfboeve jfboeve requested a review from wouterlucas November 3, 2025 10:43
@jfboeve jfboeve linked an issue Nov 17, 2025 that may be closed by this pull request
@jfboeve jfboeve added this pull request to the merge queue Nov 17, 2025
Merged via the queue into main with commit 7f78ff4 Nov 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 [BUG] - mountX not updated properly - Beta15

3 participants