Wrong size when open CDR files

Bug #1692650 reported by Mitko
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

I was using Inkscape when noticed that there is some scaling when opening CDR files. In fact the measures I've got from the CDR file format are wrong. Attached the file.
Unfortunately, I cut some metal profiles before noting that the sizes are wrong.

Tags: cdr
Revision history for this message
Mitko (asdfgga12) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows 10, Inkscape 0.92.1 r15371

I do not have access to CorelDraw, so I used ExifTool 10.31. According to exiftool the page size is 600x600 mm.

According to Inkscape the page size is 1700.7874 px wide, which is equal to 450 mm, if you assume an internal resolution of 96 dpi in Inkscape.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Patrick Storz (ede123) wrote :

The size of the document is determined by libcdr [1].

libcdr returns a width/height of 1700.7874 px, so if that value is wrong this is an upstream bug (see [2]).

[1] https://wiki.documentfoundation.org/DLP/Libraries/libcdr
[2] https://bugs.documentfoundation.org/buglist.cgi?product=libcdr

Revision history for this message
Alvin Penner (apenner) wrote :

fwiw, if you interpret the 1700.7874 as pt rather than px, then you get the right size.
i.e. perhaps Inkscape needs to do an internal conversion from pt to px similar to what is normally done for pdf files

Revision history for this message
Nathan Lee (nathan.lee) wrote :

Closing as part of the bug migration to Gitlab, issue now tracked in https://gitlab.com/inkscape/inkscape/-/issues/2983

Please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.