Rebaseline outputs after an intentional design change
3 November 2026
Rebaselining visual PDF rendering outputs after an intentional design change—such as moving a heading—requires capturing a new reference document alongside the old baseline, verifying that unaffected layout markers remain identical, securing explicit human approval for the intended structural movement, and updating SHA-256 checksum tracking before retiring the legacy reference.
Establishing the Rebaselining Protocol
When a document template or stylesheet undergoes an intentional modification, such as repositioning a major heading, automated visual regression tools flag the shifted pixels as anomalies. Treating deliberate layout updates as defects creates test fatigue and risks masking genuine rendering regressions elsewhere. Conversely, blindly updating reference baselines without isolating the scope of change risks accepting unintended collateral layout shifts.
To manage intentional design changes safely, teams execute a four-step rebaseline workflow. First, maintain both the legacy baseline and candidate render during review rather than immediately overwriting existing reference files. Second, establish explicit comparison and approval scopes that isolate the intentionally modified region. Third, verify that a separate, unaffected layout marker—such as static body text or a repeat control image—shows zero pixel variance before approving the new layout. Finally, update baseline reference checksums only after obtaining documented sign-off. Render difference results
Keep the design change separate from the fault control
The worked proposal moves a heading. No old/new heading files, measured displacement, unaffected-marker result or reviewer decision are supplied for that change. Keep those fields pending. The available baseline.pdf and injected-digit-change.pdf pair belongs to a different experiment: the second file intentionally changes 137.50 to 187.50. Never promote that injected file as the reference for a heading move. Render difference results · Poppler cross build
The PyMuPDF control recorded zero pixels changed in an identical-input repeat. On the injected digit, 289 pixels exceeded the tolerance of 16; the critical-region rule flagged it even though the page-wide threshold did not. This is a sensitivity check. A repeat of the same baseline does not measure a separate unaffected marker across the old design and a candidate design. Human threshold approval for the control remains pending. Render difference results · Poppler cross build
Log the intended movement and test somewhere else
| Record entry | What to retain or test for the heading change |
|---|---|
| Previous approved baseline | Versioned source, reference PDF, render settings, image digest and prior approval. Preserve the bytes. |
| Proposed replacement | The actual heading-change source and render, with their own digests and layout instruction. Do not fill these from a different fixture. |
| Permitted difference | Heading text, page, old and new position, and the area affected by removing it in one place and drawing it in another. |
| Independent unaffected marker | Choose a stable marker outside both heading regions, such as a figure or reference label whose value and position should remain unchanged. Compare the old and new design at the agreed settings and record the actual reading. |
| Decision and scope | Named design owner, candidate reference, expected changes, deviations, approved comparison scope and decision date. |
First verify that the moved heading still reads correctly and does not obscure neighbouring lines or break reading order required by the workflow. Examine all differences outside the approved movement area. If the independent marker changes, retain the previous baseline as active until the change is explained or separately approved. If a page reflows intentionally, identify which further pages need review rather than expanding a mask until differences disappear.
Promote the approved version and retain the route back
Once the design owner accepts the exact candidate, record the new active baseline and the version it supersedes. Keep the old baseline, both renders, the comparison and approval so later reviewers can reproduce the decision. Rerun the intentional digit fault against the new test policy as a separate check that a meaningful error is still detected. Until actual heading and marker evidence exists, that change remains proposed. Render difference results · Poppler cross build
Part of the Test PDF rendering changes across two Poppler builds guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
