Bug 143006

Summary: [EMF+] DrawString ignores \n\r
Product: LibreOffice Reporter: Valek Filippov <frob>
Component: filters and storageAssignee: Bartosz <gang65>
Status: ASSIGNED ---    
Severity: normal CC: 79045_79045, aron.budea, gang65
Priority: medium Keywords: bibisectRequest, regression
Version: 5.0.2.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103859    
Attachments: EMF sample with DrawString that has \n\r
Screenshot of the sample opened in MS Paint (top) and LO7.3alpha (bottom)

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