Bug 157865 - Brochure function in Print to File do not respect formatting
Summary: Brochure function in Print to File do not respect formatting
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print
  Show dependency treegraph
 
Reported: 2023-10-20 17:45 UTC by Romain
Modified: 2023-11-06 19:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Pandoc (60.27 KB, application/pdf)
2023-10-20 17:46 UTC, Romain
Details
Draw (22.84 KB, application/pdf)
2023-10-20 17:46 UTC, Romain
Details
Draw SafeMode (22.84 KB, application/pdf)
2023-10-20 17:47 UTC, Romain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Romain 2023-10-20 17:45:55 UTC
Description:
After creating a markdown file and exporting to pdf with pandoc "pandoc -V geometry:"paperwidth=148mm, paperheight=210mm, top=10mm, right=20mm, bottom=15mm, left=20mm" -V fontsize=6pt Example.md -o Example_A5.pdf"
I open the file with LibreOffice Draw and export it to pdf using the Brochure function.
The top margin is respected but the lower margin is increased.

Steps to Reproduce:
1. Markdown file
2. pandoc -V geometry:"paperwidth=148mm, paperheight=210mm, top=10mm, right=20mm
3. Open with Draw, File (A4, Short Edge), Print..., Print to file, Brochure

Actual Results:
Top margin of new pdf respected but bottom margin increased

Expected Results:
Same top and bottom margin


Reproducible: Always


User Profile Reset: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: DrawingDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.3
Calc: threaded
Comment 1 Romain 2023-10-20 17:46:29 UTC
Created attachment 190356 [details]
Pandoc
Comment 2 Romain 2023-10-20 17:46:53 UTC
Created attachment 190357 [details]
Draw
Comment 3 Romain 2023-10-20 17:47:15 UTC
Created attachment 190358 [details]
Draw SafeMode
Comment 4 Buovjaga 2023-10-30 18:38:03 UTC
Repro already in 5.2. It can be seen in the preview.

Brochure changes it from portrait to landscape. Not sure if there is some limitation here with the changing dimensions.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 676e0527d2f31556eccae314fbb12ce204f02ec7
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 86f0d88025262b0cfb519545ae7956f6ecea16f9
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 30 October 2023