Bug 156528 - Very wide page affects following pages' objects size
Summary: Very wide page affects following pages' objects size
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:24.2.0 target:7.5.6 target:7.6.1
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-30 12:42 UTC by Mike Kaganski
Modified: 2023-08-03 08:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A very wide first page, and not-so-wide second (5.26 KB, application/vnd.oasis.opendocument.text)
2023-07-30 12:42 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2023-07-30 12:42:13 UTC
Created attachment 188653 [details]
A very wide first page, and not-so-wide second

The attached FODT has two pages, first having width 5100 mm, height 210 mm; and the second having width 210, height 297 mm. Both pages contain a rectangle, extending the whole area inside the pages' 20mm margins.

Exporting the document to PDF makes the rectangle on the second page to be around 1/2 linear size (1/4 area size) of what it should be.

This started after commit 4830592b780833cf5eee2aef30bc9c5d444dfb24 (PDF export: fix handling of page sizes larger than 508 cm, 2020-04-16).
Comment 1 Mike Kaganski 2023-07-30 15:34:42 UTC
https://gerrit.libreoffice.org/c/core/+/155025
Comment 2 Commit Notification 2023-07-30 18:08:44 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/e80e2a8dbed8a6cea71eca333564a9fa75b5cfbc

tdf#156528: Fix handling PDF page scaling factor after large pages

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2023-08-01 12:42:35 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/e5b3b2204e975ffe1d2ebc14b92c0fc9e3f17417

tdf#156528: Fix handling PDF page scaling factor after large pages

It will be available in 7.5.6.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2023-08-03 08:30:43 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/362108a6b9744e54d126683ac7a83ca842efc464

tdf#156528: Fix handling PDF page scaling factor after large pages

It will be available in 7.6.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.