compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

Some SVG files cannot be rendered correctly.

Open Konyaco opened this issue 4 years ago • 3 comments

This SVG cannot be rendered correctly. But works well if I translate it to Android XML.

SVG files.zip

image image

Image(
    modifier = Modifier.size(93.dp, 24.dp),
    painter = painterResource("logo_text.xml"),
    contentDescription = null,
    colorFilter = ColorFilter.tint(Color.White)
)

Konyaco avatar Nov 12 '21 09:11 Konyaco

Please use English here, so other people also can understand discussion

akurasov avatar Nov 15 '21 08:11 akurasov

I have the same problem. Seems the wrong the behaviour is when you use size modifier on a svg. Converting to xml format worked for me as well.

Melodeiro avatar May 03 '23 20:05 Melodeiro

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

okushnikov avatar Aug 26 '24 15:08 okushnikov