Bug 142770 - [EMF+] Missed CustomEndCap for Pen Object support
Summary: [EMF+] Missed CustomEndCap for Pen Object support
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0 target:7.4.0.0.beta2
Keywords: filter:emf
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2021-06-10 18:11 UTC by Valek Filippov
Modified: 2022-06-28 10:43 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
EMF sample with EMF+ Pen with CustomEndCap (564 bytes, image/x-emf)
2021-06-10 18:13 UTC, Valek Filippov
Details
Screenshot with LO and MS Paint side-by-side (4.97 KB, image/png)
2021-06-10 18:15 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-10 18:11:56 UTC
Description:
LO draws a thick line instead of a line with an arrow cap for the attached sample.

Steps to Reproduce:
Open attached EMF sample

Actual Results:
LO draws a thick line.

Expected Results:
It should draw a line with an arrow on top right end.


Reproducible: Always


User Profile Reset: No



Additional Info:
The sample is extracted from the attachment to AOO bz#103355 and minified.
Comment 1 Valek Filippov 2021-06-10 18:13:08 UTC
Created attachment 172771 [details]
EMF sample with EMF+ Pen with CustomEndCap
Comment 2 Valek Filippov 2021-06-10 18:15:32 UTC
Created attachment 172772 [details]
Screenshot with LO and MS Paint side-by-side
Comment 3 Roman Kuznetsov 2021-06-14 19:24:54 UTC
confirm in

Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 31ed81ea71a20ec119805f66a42f99b3f80d2dc5
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL
Comment 4 Commit Notification 2022-06-27 08:24:48 UTC
Bartosz Kosiorek committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/5b21b65572610df88986e700b81f1156aff14f65

tdf#142770 tdf#143031 EMF+ Implement CustomLineCap

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2022-06-27 14:41:17 UTC
Bartosz Kosiorek committed a patch related to this issue.
It has been pushed to "libreoffice-7-4":

https://git.libreoffice.org/core/commit/ba806269c998b96842bcf0986095f22ab99a686a

tdf#142770 tdf#143031 EMF+ Implement CustomLineCap

It will be available in 7.4.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.