PdfSharpCore icon indicating copy to clipboard operation
PdfSharpCore copied to clipboard

Paragraphs added to HeaderFooter footer sections are written to the same position (and thus overlap)

Open Extragorey opened this issue 1 year ago • 0 comments

When adding multiple paragraphs to a footer section, the paragraphs are all written to the same position, instead of below each other. This only appears to happen in footer sections, not header sections.

Version: PdfSharpCore v1.3.62 (retrieved from nuget)

Example:

var document = new Document();
var section = document.AddSection();
section.Footers.Primary.AddParagraph("Hello world");
section.Footers.Primary.AddParagraph("This overlaps the other line!");

Expected: The two (or more) paragraphs are printed below each other. Actual: Both paragraphs are printed in the same position, hence overlapping.

PdfSharp-glitch

Extragorey avatar Dec 11 '23 00:12 Extragorey