mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-12 21:23:02 +00:00
* text: charge the rasterizer's output tiles, not only its pixels The renderer checked a layer's pixel count and working buffers, but its output surface stores whole 256x256 tiles. An extreme transform of short text gives a thin rectangle that crosses tens of thousands of tiles while holding few pixels, so the tile storage far exceeded the budget. Refuse a render whose output tiles exceed MAX_RASTER_BYTES. * address review: charge text accumulator with output tiles * address review: compute the accumulator size in u64