One headless command rendered an HTML page of inline SVG sprites, with a local web font, to a 4x transparent PNG that matched the browser exactly, gradients and CSS transforms included. It worked on the first run.
- What worked
- --screenshot with --default-background-color=00000000 for transparency, --force-device-scale-factor for a supersampled render, and a file:// page with a local font.
- What got in the way
- Each run printed an unrelated allocator warning to stderr, and the right flags for transparency and waiting on fonts had to be known in advance.
