Bug 152945 - PDF export of docx which include MS Visio objects
Summary: PDF export of docx which include MS Visio objects
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.2 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: PDF-Export Visio
  Show dependency treegraph
 
Reported: 2023-01-09 12:29 UTC by Achim Stadter
Modified: 2024-10-27 20:25 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Archive containing a good and a bad pdf and the original Word document (201.69 KB, application/x-zip-compressed)
2023-01-09 12:29 UTC, Achim Stadter
Details
Document exported to LibreOffice 24.8.2.1 (355.43 KB, application/pdf)
2024-10-27 20:23 UTC, Bartosz
Details
Sample file exported to PDF by Microsoft 365 (59.89 KB, application/pdf)
2024-10-27 20:25 UTC, Bartosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Stadter 2023-01-09 12:29:11 UTC
Created attachment 184542 [details]
Archive containing a good and a bad pdf and the original Word document

I have a Microsoft Word docx file which includes a Microsoft Visio object.
(embedded as an object - not as an image)

When I open this file wiht LibreOffice Version 7.5.0.1 the Visio object is not nicely rendered. The texts are hardy readable and the texts cannot be selected.

Also when I export that MS Word document as a pdf the MS Visio object is not being satisfyingly rendered.

But - when I do the same with an elder version of LibreOffice (in my case that is version 6.1.2.1) the result is very good and satisfying. Even the texts inside the MS Visio object can be selected in the exported pdf.

I have attached a zip archive which contains both - a 'beautiful' pdf from version 6.1.2.1 and a 'not so beautiful' pdf which was created with version 7.5.0.1.

I tried that on a Microsoft Windows 11 computer and also on a Ubuntu 22.04 computer. The archive also includes the docx file.

I assume it might be a bug for I haven't found any options in LO version 7.5.0.1 which would change that behaviour to the better.

regards, Achim
Comment 1 Stéphane Guillou (stragu) 2023-01-16 19:14:07 UTC
Reproduced. Looks neat and I can select the text in the PDF in:

Version: 6.1.0.3
Build ID: efb621ed25068d70781dc026f7e9c5187a4decd1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; 
Locale: en-AU (en_AU.UTF-8); Calc: group threaded

But looks blurry and I can't select the text since 6.2:

Version: 6.2.0.0.beta1
Build ID: d1b41307be3f8c19fe6f1938cf056e7ff1eb1d18
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 2 raal 2023-01-20 19:38:33 UTC
bibisect-win32-6.2
blurriness in bibisect repo 6.2 is not the same as in dev version

This seems to have begun at the below commit.
Adding Cc: to Armin Le Grand  ; Could you possibly take a look at this one?
Thanks
 6e3b630aa09733129364e2cb6d736466d054f447 is the first bad commit
commit 6e3b630aa09733129364e2cb6d736466d054f447
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Mon Jul 23 23:20:12 2018 -0700

    source cbc992e7370ab006ea7c0f8520896845f79f7749

https://gerrit.libreoffice.org/c/core/+/57758
Comment 3 Thorsten Behrens (allotropia) 2024-01-29 10:11:57 UTC
That looks more like a problem in libvisio (but exposed via this change)?
Comment 4 Bartosz 2024-10-27 20:23:04 UTC
Created attachment 197264 [details]
Document exported to LibreOffice 24.8.2.1

The issue was resolved with:

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 480(Build:1)
CPU threads: 12; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: pl-PL (pl_PL.UTF-8); UI: en-US
Ubuntu package version: 4:24.8.2-0ubuntu0.24.04.1~lo1
Calc: threaded
Comment 5 Bartosz 2024-10-27 20:25:01 UTC
Created attachment 197265 [details]
Sample file exported to PDF by Microsoft 365