Failed to render (truly) enormous svg file
Feel free to close if this is out of scope, but I have a large (15MB) PDF file that I am trying to view, and I attempted to use forma to do it. I converted it to svg using mutool (preserving text as text), and the result was a 189 MB SVG file.
cargo run --release -p demo -- svg huge_file.svg
caused my fans to kick in and a black box to appear, but no render output. I was able to run the spaceship demo without issues before (on a 2019 MBP 16" with an AMD Radeon Pro 5300M GPU (as well as integrated graphics)).
Happy to attach a profiler if that helps you in any way! Unfortunately I can't share the PDF or SVG file directly (it is secured), but if rendering gigantic SVGs is a goal of the project, I'd like to help.
The SVG parser/renderer is in no way complete, but it would be interesting to see where this fails. forma itself should at least fail gracefully if there's too much content for it to deal with.
I presume that forma doesn't actually finish rendering anything and hang somewhere inside of that function?
I was able to reproduce similar behaviour on my Windows machine, NVIDIA GeForce RTX 3060 GPU, with this svg of a map. The window looks like this:

This issue also appears to be resolved by migrating to usvg.