mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 21:44:57 +00:00
Reading an SVG file that an <image> links to, and gathering its own links, counts toward the 1,024 reads and 512 MB of text, wherever the file is linked from. Inside a linked SVG file, every file read for its links, raster or SVG, also counts toward the 512 MB before it is decoded, and once either limit is passed no file is read there: the image is left out with a warning. An SVG file the imported SVG links to is still shown past the limits, but the files its own links name are not read, with the same warning. Rasters the imported SVG links to are read as before. Every SVG file read is kept by its file, wherever it was read, so another href to it (another spelling, or the same file from another SVG file) does not read it again, past the limits too. An SVG file whose art depends on where it is shown (too deep there for its links to be read, or with a link that leads back) is not kept, so a link to it from a shallower place shows the rasters it links to.