Download it now!
Bug 113868 - Embedded EMF graphic is incorrect rendered in LOdev6.0.0.0alpha1 but OK in LO4.0.0.1
Summary: Embedded EMF graphic is incorrect rendered in LOdev6.0.0.0alpha1 but OK in LO...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
4.3 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, regression
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
Reported: 2017-11-15 21:38 UTC by Joerg
Modified: 2020-05-05 18:16 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:

The_ODT_file_which_is_not_correct_rendered (15.54 KB, application/vnd.oasis.opendocument.text)
2017-11-15 21:39 UTC, Joerg
file_with_embedded_emf_in_LOdev_6.0.0.0.alpha1+_broken_rendering_of_emf.PNG (173.16 KB, image/png)
2017-11-15 21:39 UTC, Joerg
file_with_embedded_emf_in_LO_4.0.0.1_correct_rendering_of_emf.PNG (187.28 KB, image/png)
2017-11-15 21:40 UTC, Joerg
Extracted EMF file (41.59 KB, image/x-wmf)
2018-04-17 20:35 UTC, Bartosz

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg 2017-11-15 21:38:40 UTC
I tried out the attched document with a nightly build of LO6 and the embedded EMF file is not correct rendered. Especially the text in the EMF file is distorted.
If I open the same document in the release build of LO4.0.0.1, the rendering is as expected.

Steps to Reproduce:
Open the attached odt file in LOdev6.0.0.1alpha1+
Open the attached odt file in LO4.0.0.1
Compare the screen rendering

Actual Results:  
Distorted text in the embedded EMF graphic

Expected Results:
Correct rendering of the text in the embedded EMF graphic as in LO4.0.0.1

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Joerg 2017-11-15 21:39:26 UTC
Created attachment 137794 [details]
Comment 2 Joerg 2017-11-15 21:39:58 UTC
Created attachment 137795 [details]
Comment 3 Joerg 2017-11-15 21:40:27 UTC
Created attachment 137796 [details]
Comment 4 Xisco Faulí 2017-11-15 22:24:34 UTC
this is an old regression... bisecting...
Comment 5 Xisco Faulí 2017-11-15 22:30:47 UTC
Regression introduced by:

author	Tomaž Vajngerl <>	2014-04-24 16:41:11 (GMT)
committer	Tomaž Vajngerl <>	2014-04-24 20:51:15 (GMT)
commit	0a1e297ac23ae79ce9d511b4fd6bd0d8276a2e25 (patch)
tree	73c907f9aad90bab01e9bef2943830edfa9c86e0
parent	c2d5b59fc6a3b3fbe20a19282538d5f95fa53301 (diff)
fdo#77089 if font width 0, pass 0 - don't take it from font metric

Bisected with: bibisect-43max

Adding Cc: to Tomaž Vajngerl
Comment 6 Bartosz 2018-04-17 20:35:08 UTC
Created attachment 141431 [details]
Extracted EMF file
Comment 7 QA Administrators 2019-04-18 03:03:44 UTC Comment hidden (obsolete)
Comment 8 Roman Kuznetsov 2020-05-05 18:16:42 UTC
still repro in

Version: (x64)
Build ID: 861b556bb3779242951c03b3f68a32eb8c15db02
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded