Skip to content

app/: rendered PDF pages keep their size (base_size, head_size) - #99

Merged
ndbroadbent merged 1 commit into
mainfrom
laravel-page-sizes
Dec 3, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
laravel-page-sizes

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

Found in the cutover rehearsal (sc-8900). get_snapshot showed base_size and head_size as null for rendered PDF pages. Page blobs only got their width and height from image_info, which never runs for a render's page images. Completing a render now stores the width and height the renderer measured on each page image's blob, where it has none yet. The pixel fingerprint isn't touched: the diff cache keys on it. The renderer test checks it. Full suite: renderer tests green on docspring-dev.

…o get_snapshot and the build page show base_size and head_size for PDF pages (found in the cutover rehearsal)
@ndbroadbent
ndbroadbent merged commit 4e31e8a into main Dec 3, 2026
12 checks passed
@ndbroadbent
ndbroadbent deleted the laravel-page-sizes branch December 3, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant