SVG with ICC colors is not rendered correctly
Description
svg rendered weired
Reproduction URL
https://typst.app/project/ph2HV071Y0tJ1lVojf8ytt
Operating system
Web app
Typst version
- [X] I am using the latest version of Typst
The project does not seem to be accessible, can you post the SVG here?
https://typst.app/project/wW5kE31GRsDhL6TcmJ0eIg this can be seen and edited.
Ah I see now... The problem is that your SVG seems to use icc colors, which is currently not supported by the upstream crate. So if you somehow have control over that, you should try to change it so it uses "normal" rgb colors. But a bug nevertheless.
Thank you for your reply! I now see how the problem happens. BTW, Is there any CLI tool to convert icc to rgb? inkscape seems can't.
Not that I know of, unfortunately. :(
Ah I see now... The problem is that your SVG seems to use icc colors, which is currently not supported by the upstream crate. So if you somehow have control over that, you should try to change it so it uses "normal" rgb colors. But a bug nevertheless.
Is this a duplicate of https://github.com/typst/typst/issues/3781 ?
No, this is a different issue.
@Wongboo et al. Martin from the Inkscape project is currently working on full ICC support for Inkscape. This is an enormous project, but as soon as https://gitlab.com/inkscape/extensions/-/merge_requests/646 is completed it should be trivial to do what you need.