Laurenz Stampfl
Laurenz Stampfl
Still waiting for the new release I think.
> Yes, we're loading fonts only when the main SVG has text nodes. We do not check referenced SVGs. Didn't I fix this in #675? Apparently I didn't...
Oh... It's because `resvg` has it's own logic for checking if there are text nodes... So it works in tests but not in the CLI: https://github.com/RazrFalcon/resvg/blob/ec1627fb73ecf4f3d91f5b2283cf8b89ec6c83c3/crates/resvg/src/main.rs#L84-L86 That's gonna be tricky...
That will be a lot of trees then. :p But I've also had thoughts about whether there should be some additional intermediate representation...
Out of curiosity, what features would you exactly expect from this? Simply that there is a way to distinguish between paths and markers, or would you also like to be...
Yeah, I was thinking we can simply introduce a new marker node, and similarly to text we can just have a `flattened` property that contains the flattened version of it....
I think instead of having a specific flags just for refs we should instead think about how to implement a more generalized system for enabling/disabling warnings, then this could be...
The project does not seem to be accessible, can you post the SVG here?
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...
Not that I know of, unfortunately. :(