Bug 160940 - Some shapes are shifted and line is too thin in Corel Draw X3 (13) image
Summary: Some shapes are shifted and line is too thin in Corel Draw X3 (13) image
Status: NEW
Alias: None
Product: Document Liberation Project
Classification: Unclassified
Component: libcdr (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Format-Filters
  Show dependency treegraph
 
Reported: 2024-05-05 06:58 UTC by Volga
Modified: 2024-11-12 20:32 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The original file opened with Corel DRAW (147.28 KB, image/png)
2024-05-05 06:59 UTC, Volga
Details
The same files opened by LibreOffice Draw (161.42 KB, image/png)
2024-05-05 07:01 UTC, Volga
Details
sample CDR from linked resources (196.86 KB, application/vnd.corel-draw)
2024-05-20 11:52 UTC, Stéphane Guillou (stragu)
Details
Screenshot, zoomed (91.34 KB, image/png)
2024-10-18 12:55 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2024-05-05 06:58:14 UTC
Description:
The Government of Serbia published some CDR samples for its national symbols, but they have some problem in LibreOffice Draw.

Steps to Reproduce:
1. Open drzavna zastava RS.cdr

Actual Results:
Some shapes shifted away from the crown, while some strokes on white eagle looks gray instead of black.

Expected Results:
All shapes should looks as expected in LibreOffice Draw.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded

File source: https://www.srbija.gov.rs/tekst/en/130128/national-symbols.php
Comment 1 Volga 2024-05-05 06:59:53 UTC
Created attachment 193970 [details]
The original file opened with Corel DRAW
Comment 2 Volga 2024-05-05 07:01:13 UTC
Created attachment 193971 [details]
The same files opened by LibreOffice Draw
Comment 3 Stéphane Guillou (stragu) 2024-05-20 11:52:48 UTC
Created attachment 194220 [details]
sample CDR from linked resources
Comment 4 Stéphane Guillou (stragu) 2024-05-20 12:31:18 UTC
I can reproduce in:

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: d0702a3f17c1fbd1b8ffb9ca0b275943e1a1f442
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

The issue with some elements of the crown shifted is also seen in LO 6.0.0.3.

The issue with thinner lines on the bird appears later, in LO 7.0.

I bibisected it with linux-64-7.0 repo to first bad build [832d59a7ce81712178f9b2537ed6b0bf7a9ccd39] which points to:

commit dd117712bd5692f7bf3870ba91572a0bab54ab86
author	Armin Le Grand 	Thu Mar 05 19:24:30 2020 +0100
committer	Armin Le Grand 	Fri Mar 06 10:10:55 2020 +0100
tdf#124848 partial refactor hairline logic
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90057

Before commit, import into Draw look truer to original (CorelDRAW screenshot, renderings on website).
After commit, some shapes have much thinner lines.
However, the thicknesses were always different, and zooming in before the commit would also reveal the different thicknesses. So I'm unsure this actually is a bug, and I think this report should focus on the shifted crown issue. (It might already be covered by bug 133450 anyway.)
Comment 5 Volga 2024-07-29 10:52:30 UTC
I think this is a regression.
Comment 6 Volga 2024-09-15 11:51:08 UTC
This is still reproduced with

Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded

And I found "Ar turetajiem_KR.cdr" was adlo affected, which available at the following source:
https://www.riga.lv/lv/rigas-simboli
Comment 7 Bartosz 2024-10-18 12:39:48 UTC
Could you please give screenshot where shape are shifted? I cannot find it.
Comment 8 Aron Budea 2024-10-18 12:55:39 UTC
Created attachment 197131 [details]
Screenshot, zoomed

(In reply to Bartosz from comment #7)
> Could you please give screenshot where shape are shifted? I cannot find it.
Please see the circled areas in the attached screenshot.