Download it now!
Bug 121866 - pdf export creates file that doesn't print graphics correctly
Summary: pdf export creates file that doesn't print graphics correctly
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
4.3.3.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2018-12-02 17:53 UTC by tom
Modified: 2019-07-04 02:47 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tom 2018-12-02 17:53:14 UTC
I'm using LibreCad to make the drawing, exporting it as a graphic, importing that graphic into Impress, adding text etc, and then exporting that as a pdf.  The resulting file looks great but when it's printed only the text prints well.  The drawings are horrid. I've tried printing the file from linux, pc, and mac to different printers and nothing helped so it's something inside the file.

I went online and found lots of complaints about this but none of the proffered solutions worked.  Print as image makes it worse. I use to work for HP's printer division and chasing down print defects like this is what I used to do so I think I know what's going on.  I can't explain how I knew this would work, but I started testing outputting the cad file as different graphics format at various resolutions and finally got it to work by exporting from LibreCad as a png with a rez less than 150 and then using the lossless compression option when exporting the Impress file to pdf. Only low rez works, Jpegs don't work, Tif's don't work, svg's sorta work.  EPS works but the file is much larger so I stuck with the png solution.

You don't have to print to test this, print preview from the pdf reader will show this.

I no longer have the tools to delve very deep so I can only guess that there's something in the compression algorithm that your code is using for processing the image file that is reacting to the fine line hash marks in the cad drawings. That compression algorithm doesn't deal well with all of the parallel lines so it creates something like a moire pattern when it comes time to translate the file into raster data for printing.  Changing image type changes how the compression is done and the lower rez image decreases the frequency of the interference pattern.

hope that helps, thanks for the good work.
Comment 1 Julien Nabet 2018-12-03 13:10:47 UTC
Please give a try to last stable version 6.1.3.
Indeed, 4.3.3 is quite old.
Comment 2 Roman Kuznetsov 2018-12-04 12:39:48 UTC
please "add an attachment" example file PDF

please add info from dialogue Help->About LibreOffice
Comment 3 QA Administrators 2019-06-03 02:50:19 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2019-07-04 02:47:51 UTC
Dear tom,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp