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
Make the quantized glyph cache tier the default unless it has a major drawback #548
#370 added a glyph cache to the software rasterizer with two tiers. The exact tier (default) is bit-identical to uncached rendering. The quantized tier (RenderOptions.WithGlyphPositioning) snaps glyph origins to a subpixel grid, so cached coverage can be reused across positions: about 1.7x faster per tile on text-heavy pages.
The owner wants quantized to be the default unless it has a major drawback.
Done when
Drawbacks are measured and listed in the PR: pixel differences against the exact tier on the pdf.js corpus and the golden images (how many pages, the largest difference), the effect on cross-platform bit-identical rendering (Software rendering is bit-identical on every platform #233), memory, and speed.
If there is no major drawback, quantized becomes the default, exact stays available through WithGlyphPositioning, golden images are re-recorded, and the release notes list it as a behavior change.
If there is one, the PR records why exact stays the default, and the issue is closed with that finding.
Activity
michaelstonis commentedon Nov 17, 2026
Merged into spec/33-broadside-v1 via #550.