-nf drops /Rotate: normalized pages render sideways
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
Research direction
Start in PdfFontNormalizer.normalize(), where the issue identifies construction of the normalized page, then run the ignored PdfFontNormalizerEdgeCaseTest cases normalized_page_preserves_rotation and normalized_render_of_rotated_page_keeps_original_dimensions. Done means normalized pages retain the original rotation and dimensions when -nf is enabled, with both tests passing.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Java
- Stars
- 11
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from applitools/ImageTester
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
applitools/ImageTester#48 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
applitools/ImageTester#47 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
applitools/ImageTester#45 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
applitools/ImageTester#23 ·
All issues in applitools/ImageTester
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100