Created attachment 60026 [details] Sample CDR file Please, see attached CDR file. It has two problems: - incorrect canvas size - incorrect colors rendering. The problem related to libcdr library.
Created attachment 60027 [details] Correct rendering of attached CDR file
Incorrect canvas size problem is fixed in GIT, fix will be available in the next release. Fix for incorrect colours is under development.
The conversion of spot colours is fixed in git master, will be part of 0.0.7 release.
Created attachment 60484 [details] Screenshot: firefox and corel xhtml (current GIT version) in Firefox and CDR in Corel side by side.
Created attachment 60491 [details] Incorrect size sample 2 Thank you very much! Colors fix works like charm! But I have another CDR file with "incorrect size" issue. Please, see an attachment. Thanks!
Created attachment 60492 [details] Incorrect size sample 2 pdf Please, look at PDF render of "simpson.cdr" file. Here I have width*10 and height*2.3. Also, seems like left and top edges are behind the svg viewport.
The canvas in that simpson.cdr file is correct. The problem is that CDR allows to draw off-page. When you convert to xhtml, firefox will not render that stuff. On the contrary, if you manually edit the file and give it the svg header and delete the xhtml part of it, you will be able to open it in inkscape and see that all objects are there. The same in LibreOffice, where the off-page objects are still rendered. The metafile of that file indicates that it is a 210mmx297mm A4 page and the same thing we read from the riff document.
I believe this one can be closed as resolved/fixed (fixes will be available with the next release). Ilya, thank you very much for this bug-report! Feel free to reopen and/or create new ones as needed.