Skip to content

Header/Footer fix for PDF#355

Open
eOPUS-Alex wants to merge 3 commits intoempira:masterfrom
eOPUS-Alex:master
Open

Header/Footer fix for PDF#355
eOPUS-Alex wants to merge 3 commits intoempira:masterfrom
eOPUS-Alex:master

Conversation

@eOPUS-Alex
Copy link
Copy Markdown

Summary

This PR fixes a layout inconsistency between RTF and PDF rendering when using large headers/footers.

Problem

When a large header is defined, the RTF output correctly shifts the normal page content downward.
image

The PDF output, however, could render the header on top of the page content, causing an overlap.
image

Reproduction

  1. Create a document with a large multi-line header
  2. Generate both RTF and PDF
  3. Open the generated files
  4. Compare the start position of the normal page content

Fix

With this fix, PDF rendering now respects the header/footer height and positions the page content accordingly, resulting in output that is visually consistent with the RTF rendering.
image

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