You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Software rasterizer: filled paths to a bitmap and PNG #95
The software rasterizer replays a display list with a scanline filler and analytic anti-aliasing, non-zero and even-odd rules, solid colour converted through colour management, into premultiplied BGRA8 in a caller-provided or pooled buffer, honouring scale or DPI, page rotation, CropBox and UserUnit. A PNG encoder writes the result. This is the first end-to-end Render.
Spec clauses
ISO 32000-2 §8.5.3, §10.7; spec story 11
Acceptance criteria
empty-page.pdf renders white at 72 and 150 DPI with the CropBox size; new corpus file paths-fill-rules.pdf (non-zero and even-odd stars, curves, nested subpaths) matches its reviewed snapshot.
New corpus file page-rotation.pdf (Rotate 90, 180, 270 and UserUnit 2) renders with the correct orientation and size.
The PNG output round-trips its pixels exactly through an independent PNG decoder in the test tooling.
Replay allocates nothing per scanline (rasterizer benchmark with allocation assertion).
Runs under a trimmed, AOT-compiled test host with no native dependency.
Activity
merge: #95 Software rasterizer: filled paths to a bitmap and PNG
michaelstonis commentedon Oct 16, 2026
Done: implemented, tested and merged into the integration branch
spec/33-broadside-v1(full gate green). It reachesmainwith PR #277.