Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

styling svg with border radius does not work #114

Closed
gsgou opened this issue Aug 18, 2022 · 5 comments
Closed

styling svg with border radius does not work #114

gsgou opened this issue Aug 18, 2022 · 5 comments

Comments

@gsgou
Copy link

gsgou commented Aug 18, 2022

Same issue with the rendering of SVGs here:
mono/SkiaSharp#2220

this renders correct
de

while this does not
de-de

See attached project (change resource from 1 to 2 accordingly)
svg.zip

@mattleibow
Copy link
Contributor

ngl, I can't see the difference... Am I blind?

@gsgou
Copy link
Author

gsgou commented Aug 19, 2022

image

tks for checing on this @mattleibow
by using embedded resource 1 you get the image rendered on the left
by using embedded resource 2 you get the image rendered on the right
both should look circular as rendered in this thread by Github.
Seems border radius or css styles maybe aren't interpreted correctly.

@mattleibow
Copy link
Contributor

Maybe update the image in the issue description as I see 2 circles.

@gsgou
Copy link
Author

gsgou commented Aug 20, 2022

The images in the issue description are the same as in the project uploaded.
While the 1st achieves the circular path with border-radius
the 2nd does it with a mask. The browser renders both correctly circular,
so should also Skia.Svg. But i can remove them if its misleading?

@mattleibow
Copy link
Contributor

Ah I see. Maybe a table with each and then how skia renders it. That was we can see which is the issue.

Repository owner locked and limited conversation to collaborators Nov 20, 2022
@wieslawsoltes wieslawsoltes converted this issue into discussion #133 Nov 20, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants