PdfFontNormalizer.normalize() builds the normalized page as
new PDPage(originalPage.getMediaBox()) and never calls setRotation(),
so a page with /Rotate 90 renders unrotated (sideways vs. its own baseline)
whenever -nf is enabled.
Pinned by @ignore'd tests in PdfFontNormalizerEdgeCaseTest
(normalized_page_preserves_rotation,
normalized_render_of_rotated_page_keeps_original_dimensions).
Found by code reading during the -nf test-corpus work
(docs/superpowers/specs/2026-08-10-nf-test-pdf-corpus-design.md, local);
no rotated page occurred in the 28-file real-PDF sample, so severity is
lower than the encoding defect.
PdfFontNormalizer.normalize() builds the normalized page as
new PDPage(originalPage.getMediaBox())and never calls setRotation(),so a page with /Rotate 90 renders unrotated (sideways vs. its own baseline)
whenever -nf is enabled.
Pinned by @ignore'd tests in PdfFontNormalizerEdgeCaseTest
(normalized_page_preserves_rotation,
normalized_render_of_rotated_page_keeps_original_dimensions).
Found by code reading during the -nf test-corpus work
(docs/superpowers/specs/2026-08-10-nf-test-pdf-corpus-design.md, local);
no rotated page occurred in the 28-file real-PDF sample, so severity is
lower than the encoding defect.