Bug 142248 - [EMF] ExtCreatePen with BrushStyle PatternDIB
Summary: [EMF] ExtCreatePen with BrushStyle PatternDIB
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2021-05-12 23:18 UTC by Valek Filippov
Modified: 2023-09-23 21:25 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
EMF sample moveto/lineto and pen with patterndib (664 bytes, image/x-emf)
2021-05-12 23:20 UTC, Valek Filippov
Details
Screenshot of the sample EMF file opened in MS Paint (1.14 KB, image/png)
2021-05-12 23:21 UTC, Valek Filippov
Details
How it looks in LO 7.2 master from May 11, 2021 (2.21 KB, image/png)
2021-05-12 23:22 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-05-12 23:18:50 UTC
Description:
LO seems to ignore DIB Pattern of the pen

Steps to Reproduce:
Open attached EMF sample

Actual Results:
LO shows thick black line

Expected Results:
The line should be filled by pattern.


Reproducible: Always


User Profile Reset: No



Additional Info:
Pattern is used if BrushStyle is 5 or 6.
Comment 1 Valek Filippov 2021-05-12 23:20:15 UTC
Created attachment 171933 [details]
EMF sample moveto/lineto and pen with patterndib
Comment 2 Valek Filippov 2021-05-12 23:21:15 UTC
Created attachment 171934 [details]
Screenshot of the sample EMF file opened in MS Paint
Comment 3 Valek Filippov 2021-05-12 23:22:19 UTC
Created attachment 171935 [details]
How it looks in LO 7.2 master from May 11, 2021
Comment 4 Roman Kuznetsov 2021-05-22 17:58:22 UTC
confirm in

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: 128f67e0efa02294205a1abe1be874557ecdcecd
CPU threads: 4; OS: Linux 5.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-05-19_06:21:05
Calc: threaded
Comment 5 QA Administrators 2023-05-23 03:14:11 UTC Comment hidden (obsolete)
Comment 6 Kira Tubo 2023-09-23 21:25:03 UTC
Reproduced in daily master build and 3.3. Changing earliest version to Inherited from OOo. 

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