#1899: wrap outlines and PDF bitmaps follow the same crop window

contour::picture_outline turned the crop into a pixel window on its own,
so a sliver or overlapping crop gave an empty window and Tight/Through
wrapping fell back to the frame while the renderers draw a 0.5% sliver.
It now uses wordcraft_metafile::crop_window, with the upper pixel edges
rounded up. A PDF test covers the bitmap and metafile paths of the export
(CodeRabbit on #3247).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rabis
2026-10-20 11:54:17 +02:00
co-authored by Claude Opus 5.5
parent fc5063c38d
commit 8e799be97e
5 changed files with 80 additions and 7 deletions
Generated
+1
View File
@@ -5312,6 +5312,7 @@ dependencies = [
"wordcraft-doc",
"wordcraft-fonts",
"wordcraft-geom",
"wordcraft-metafile",
"wordcraft-proof",
]