Created attachment 105465 [details] zip file containing render-test.* exhibiing the line style problem All format tests with render-test from Dia lead to a loss of line style information. Import via PDF, SVG, CGM, WMF, WPG file and copy&paste per GDI Metafile all lead to (almost) solid lines no matter if the input line was dotted, dashed or something more complex. With SVG it seems to be an issue with wrongly scaled dash length. My tests with other applications supporting these formats let me assume a general LibreOffice problem.
Reproduced. PDF is fine, though. Win 7 64-bit Version: 4.4.0.0.alpha2+ Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827 TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08 Ubuntu 14.10 64-bit Version: 4.4.0.0.alpha2+ Build ID: 5bff4b016c4b44f4123e0e6a4fd4c0c4dc0cfa2d TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2014-11-13_00:14:29
On Winows 7 sp1, 64-bit en-US with Version: 4.3.4.1 Build ID: bc356b2f991740509f321d70e4512a6a54c5f243 @Hans, could you attache the actual Dia diagram you worked with? If you can make it fully CC license that is a nice test case for devs to work with. @Beluga, if you look close the PDF does have a few issues when opened in Draw, look at the the Dashlen 0.4 corners--good when compared to PDF opened in Adobe Reader and much better than the other graphics formats. But what did it look like in the original Dia diagram? Filter import of SVG text objects is a problem as in bug 77268, but the line styles are borked there as well. -=-note-=- I noticed that DIA installs Windows shell menu items to do the Exports to these formats and more when a .Dia document is selected in Explorer, but most are export only formats from DIA. Still a useful tool for generating vector sample files.
Sorry, thining about it. Reworking these filters is more of an issue than just a needed enhancement. But suspect it would not be a simple issue to resolve. Setting medium/major
Surprisingly, pdf import is almost perfect (tested with clipping). Corner glitches are not pdf import problem. The same effect you will see if create dashed line by yourself.
Converting Whiteboard tags to Keywords: filter:pdf
Please open a separate bug for each format, unless you are really sure the problem is in some common layer. Which is rather doubtful. E.g., the WPG file is not imported as expected because libwpg does not support line stroke other than solid for WPG1 format.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.4.1 or 5.3.6 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170901
Created attachment 136411 [details] inkscape-0.92.2-svg-print in inkscape shows display and print pdf all allright
Created attachment 136412 [details] rendertest.svg import in LOO DRAW 5.4.2.1-64 export in PDF rendertest.svg import in LOO DRAW 5.4.2.1-64 export in PDF many errors in lines and fonts size
Created attachment 136415 [details] LO 6.0.0 hybird PDF of render-test.svg from attachment 105465 [details] (In reply to paulystefan from comment #9) > Created attachment 136412 [details] > rendertest.svg import in LOO DRAW 5.4.2.1-64 export in PDF > > rendertest.svg import in LOO DRAW 5.4.2.1-64 export in PDF > > many errors in lines and fonts size Yes, that is opening into Draw. I had similar results with 5.4.2.1 & 6.0.0 But, try it with Insert -> Image, it uses a different filter and is at least as good as Inkscape. Hybird PDF attached (w/ embedded ODG) open in draw or a PDF reader of your choice.
files SVG and PDF from render-test.zip opens fine in LO Draw 6.1 beta 2 (menu File->Open) hybrid PDF from V Stuart Foote opens in LO Draw 6.1 beta 2 (menu File->Open) very fine too but files .cgm and .wpg opens with wrong rendering may be need create other bug for .cgm and .wpg files?
Let's close. Created bug 118340 for CGM and bug 118341 for WPG