tests: surface-contrast regression fixture (dark art + light bg)
This commit is contained in:
@@ -49,3 +49,11 @@ entry.
|
||||
- Auto-fit: a 92-character title shrinks and wraps rather than overflowing.
|
||||
- `split` genuinely adapts to landscape (art left / text right) rather than assuming portrait.
|
||||
- 18/18 template × fixture combinations compile.
|
||||
|
||||
## Regression fixture for defect 1
|
||||
|
||||
`tests/fixtures/surface-contrast.json` pairs **dark artwork** (`/tests/art-dark.png`,
|
||||
mean luminance ≈ 0.05) with a **light background** (`#f4efe6`) and sets
|
||||
`ink_resolved: "#ffffff"`. No single ink can satisfy both surfaces, so any template that
|
||||
puts text on flat colour while using the art-measured ink fails visibly. Once the fix
|
||||
lands, every template must stay legible on this fixture.
|
||||
|
||||
Reference in New Issue
Block a user