Bug 143006 - [EMF+] DrawString ignores \n\r
Summary: [EMF+] DrawString ignores \n\r
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: All All
: medium normal
Assignee: Bartosz
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2021-06-23 13:22 UTC by Valek Filippov
Modified: 2024-04-14 13:02 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
EMF sample with DrawString that has \n\r (468 bytes, image/x-emf)
2021-06-23 13:24 UTC, Valek Filippov
Details
Screenshot of the sample opened in MS Paint (top) and LO7.3alpha (bottom) (9.43 KB, image/png)
2021-06-23 13:27 UTC, Valek Filippov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valek Filippov 2021-06-23 13:22:26 UTC
Description:
LO seems to ignore control characters in the text of the DrawString and it should not.

Steps to Reproduce:
Open attached EMF sample.

Actual Results:
LO shows one line of text.

Expected Results:
There should be a line break between words.


Reproducible: Always


User Profile Reset: No



Additional Info:
Minified from AOO i#74168
Comment 1 Valek Filippov 2021-06-23 13:24:40 UTC
Created attachment 173107 [details]
EMF sample with DrawString that has \n\r
Comment 2 Valek Filippov 2021-06-23 13:27:13 UTC
Created attachment 173108 [details]
Screenshot of the sample opened in MS Paint (top) and LO7.3alpha (bottom)
Comment 3 Roman Kuznetsov 2021-06-24 13:14:54 UTC
Confirm in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: de7356c2e0cb099fac396808b5a86a0393b48e5f
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded
Comment 4 QA Administrators 2023-06-25 03:13:29 UTC Comment hidden (obsolete)
Comment 5 Kira Tubo 2023-09-23 19:47:03 UTC
Earliest version issue has appeared is 5.0.2.1. There was no issue in 5.0.1.2, therefore this is a regression. 

Version: 5.0.2.1
Build ID: 9a18d52abbdfbdc2ac9acebec2b92e7859eb73b7-GL
Locale: en-US (en_US)

Reproducible in daily master build. 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 486ae5db6987411d5e394de94b2b077099d03856
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded