Skip to content
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

Render text + fix transforms #26

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Conversation

nicoburns
Copy link
Contributor

Fixes #16

This enables naive text rendering support using usvg's support for flattening text into paths. It also fixes application of transform for nested SVGs.

With this patch, vello_svg can now render the "badges" from the Xilem README:

Screenshot 2024-07-29 at 11 14 21

Copy link
Member

@simbleau simbleau left a comment

Choose a reason for hiding this comment

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

Hey Nico! Nice PR. Thank you.

Approving, but if you could, add an entry to the CHANGELOG (or we will after).

@nicoburns nicoburns added this pull request to the merge queue Jul 29, 2024
@nicoburns
Copy link
Contributor Author

@simbleau Changelog added. Any chance we get a 0.3.1 release with these changes?

@simbleau
Copy link
Member

simbleau commented Jul 29, 2024

Sure thing! (Tomorrow, I'm on phone atm)

Merged via the queue into linebender:main with commit f4c5f71 Jul 29, 2024
12 checks passed
@nicoburns nicoburns deleted the text-support branch July 29, 2024 03:17
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.

How about flatten the text path with usvg?
2 participants