Bug 168661 - DOCX: emf files will be rendered wrong (Linux only)
Summary: DOCX: emf files will be rendered wrong (Linux only)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.8.0.4 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: emf-testbed
  Show dependency treegraph
 
Reported: 2025-10-02 13:37 UTC by SATYA SRINIVAS K
Modified: 2026-01-09 16:54 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Docx file with missing flowchart images (185.50 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2026-01-05 09:05 UTC, Ravi Jammikunta
Details
Document in MSWord and LibreOffice (300.22 KB, image/png)
2026-01-08 16:08 UTC, Ravi Jammikunta
Details
same document's PDF screenshot - exported from LibreOffice (49.59 KB, image/png)
2026-01-08 16:10 UTC, Ravi Jammikunta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SATYA SRINIVAS K 2025-10-02 13:37:16 UTC
Description:
Diagrams/Flowcharts are not rendered in Libre office as shown in the MS office.

I think, this is how the user inserted the diagram/flowchart in the document.
The user opened Microsoft Visio, drew up a flow chart, copied it & pasted it in MS word which then got embedded as a Visio shape in MS word.

Steps to Reproduce:
1.Convert the attached document to PDF.
2.Please observe that, the diagrams/flow charts are missing and not rendered.
3.Check the attached screen shots fron MS office.

Actual Results:
Diagrams, Flowcharts and some part of contents are not rendered.

Expected Results:
The content should not be omitted and rendered as seen in the native application/MSO.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
LibreOffice 25.8.0.4 48f00303701489684e67c38c28aff00cd5929e67
Comment 1 raal 2025-10-02 14:19:11 UTC
Please attach a document.
Comment 2 Ravi Jammikunta 2026-01-05 09:05:57 UTC
Created attachment 204925 [details]
Docx file with missing flowchart images
Comment 3 Ravi Jammikunta 2026-01-08 16:08:55 UTC
Created attachment 204972 [details]
Document in MSWord and LibreOffice
Comment 4 Ravi Jammikunta 2026-01-08 16:10:40 UTC
Created attachment 204973 [details]
same document's PDF screenshot - exported from LibreOffice
Comment 5 Ravi Jammikunta 2026-01-08 16:22:48 UTC
Additional Details:
We have identified two issues:


1.Blank Image Frames in LibreOffice Writer:
When opening this document in LibreOffice Writer, blank rectangular boxes appear in place of the actual images.
Please refer to the attached screenshot for reference.


2.Blurred Images When Exporting to PDF:
When exporting this document from LibreOffice Writer to PDF, the images appear distorted—their sizes are excessively large, and they look blurred in the exported PDF file.
Please refer to the second attached screenshot for details.
Comment 6 Robert Großkopf 2026-01-09 10:18:33 UTC
Both flowchart images are Window *.emf files. Have extracted the *.docx-file. Could open the *.emf-files with Inkscape (Linux vector graphic app).
When trying to open the files with Draw the content couldn't be seen. So the import of *.emf-files seems to be the problem.

This isn't a specific bug of Writer. It's the import filter for emf, which goes wrong.

Tested with
Version: 25.8.4.2 (X86_64)
Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df
CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded

also older versions will show the same buggy behavior.