Skip to content

Implement a fix for the native renderer not rendering text in SVGs#2161

Merged
hecrj merged 4 commits intoiced-rs:masterfrom
cfrenette:bug/svg-text-not-rendered
Dec 11, 2023
Merged

Implement a fix for the native renderer not rendering text in SVGs#2161
hecrj merged 4 commits intoiced-rs:masterfrom
cfrenette:bug/svg-text-not-rendered

Conversation

@cfrenette
Copy link
Contributor

Fixes #2160
Related to #870, #1908

The native renderer doesn't render text unless the text is converted to paths when the SVG tree is parsed. This implements the same fix used with tiny-skia.

Signed-off-by: Cory Frenette <cory@frenette.dev>
@hecrj hecrj added this to the 0.12 milestone Dec 11, 2023
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Thanks! Good catch 🙇

@hecrj hecrj enabled auto-merge December 11, 2023 09:50
@hecrj hecrj merged commit 7868968 into iced-rs:master Dec 11, 2023
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.

Text in SVGs is not rendered when using wgpu

2 participants

Comments