Skip to content

Refactor sdf text layout #603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Refactor sdf text layout #603

wants to merge 4 commits into from

Conversation

Drulokia
Copy link
Collaborator

xOffsets and yOffsets where not taken into account.
Some languages/fonts had larger offsets in the negative which caused the text to be outside of the textnode bounds. (Clipping would cut of the text). This is fixed now.

@Drulokia Drulokia marked this pull request as draft June 29, 2025 09:58
@Drulokia
Copy link
Collaborator Author

Vertical Align on text is not working

@Drulokia Drulokia marked this pull request as ready for review July 9, 2025 07:00
Copy link
Collaborator

@jfboeve jfboeve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ola, I've reviewed the code and would like to see the following changes:

@Drulokia Drulokia requested a review from jfboeve July 16, 2025 10:04
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.

2 participants