mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-03 01:04:13 +02:00
797d502c0a
The PDF export sizes each page to its folio, and QPageSize rounds a size within 3 pt of a standard sheet to the sheet. QPageSize knows the sheets upright only (bar Ledger), so only portrait folios snapped: an A3 landscape folio came out as a 1190 x 841 pt page, while an A3 portrait one was 842 x 1191, the sheet. A wide folio is now matched upright and turned. tst_pdfpagesize exports a fixture with an A3 folio each way and checks both pages are A3; it fails without the change (1190 x 841). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>