Bug 136925 - PDF: export as PDF results in some shifted items
Summary: PDF: export as PDF results in some shifted items
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2020-09-21 11:29 UTC by Erik
Modified: 2022-03-05 13:26 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Original Libreoffice Draw file. (470.59 KB, application/vnd.oasis.opendocument.graphics)
2020-09-21 11:33 UTC, Erik
Details
Resulting PDF file with shifted items (elevator icon, green evacuation path) (779.02 KB, application/pdf)
2020-09-21 11:35 UTC, Erik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2020-09-21 11:29:54 UTC
Description:
Exporting attached file with "direct PDF export" or "export as PDF" results in items shifted (see elevator icon, green evacuation path) ... contrary to what is displayed. 

Current workaround: shifting items do not occur when printing to a PDF. 
(NOTE: here you must deselect all items you do not want twice: visible and printable.)

 
 

Steps to Reproduce:
File >> Export as >> Export as PDF ...

Actual Results:
PDF file where some items are shifted.

Expected Results:
PDF file with all items positioned as displayed.


Reproducible: Always


User Profile Reset: No



Additional Info:
Save a PDF as displayed.
Comment 1 Erik 2020-09-21 11:33:35 UTC
Created attachment 165726 [details]
Original Libreoffice Draw file.
Comment 2 Erik 2020-09-21 11:35:08 UTC
Created attachment 165727 [details]
Resulting PDF file with shifted items (elevator icon, green evacuation path)
Comment 3 Buovjaga 2021-07-26 15:12:19 UTC
Reproduced, focusing my eyes on the bottom-right corner of the floor plan.

NixOS
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 67e47070a7580a17804adce812cc2f98bfe7b51f
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 4 Buovjaga 2021-08-14 17:25:28 UTC Comment hidden (obsolete)
Comment 5 raal 2021-08-26 15:13:17 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2021-08-26 15:19:36 UTC Comment hidden (obsolete)
Comment 7 raal 2021-08-26 15:36:20 UTC
(In reply to Buovjaga from comment #6)
> (In reply to raal from comment #5)
> > bibisect with bibisect-linux-64-5.4 unsuccessfull, pdf export broken in
> > bibisect repo.
> 
> Is it also broken, if you use SAL_USE_VCLPLUGIN=gen ?

Yes, the exported pdf is broken, not LO.
Comment 8 Timur 2021-08-27 13:35:29 UTC
Linux 5.4, commit 6cc4867fb4d693861eab59c20adeecf8a4e6d727
    source 57c5ad79609134e0ff0013a002cc80a570e81c20
    pre e1190058b5d4d3cec9959dfa1e9fa87818f710e8
author	Miklos Vajna <vmiklos@collabora.co.uk>	2017-02-22
tdf#106059 PDF export: set matrix and bbox for PDF images

CC: Miklos
Comment 9 Justin L 2022-03-05 13:26:51 UTC
fixed in LO 7.3 by author Mike Kaganski on 2021-08-11 14:19:24 +0200
commit bfed58821fc3a83fec4a985087cd45fa963bed3e
    Drop convertMm100ToTwip in favor of the new o3tl::toTwips