| Summary: | PRINTING: Documents with image and text, only print the image! | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | David Faure <faure> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTOURBUG | ||
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 3.5.3 release | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | BSA | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
clear clip-region before end of page
another try at some debugging / fixing |
||
|
Description
David Faure
2012-05-11 05:23:29 UTC
According to the OO.o bug the fix was in dev300m102 which was merged to LibreOffice for 3.5 - so if it is fixed there, it should be fixed here. OTOH - this sounds more like a workaround for a printer problem - I'm not aware of similar reports of missing text and/or images - odd indeed. The OO.o fix was windows specific. It is possible that the attached fix does the same thing for all platforms - but needs testing ... Created attachment 65499 [details]
clear clip-region before end of page
patch slightly fluffed should be if (mpGraphics) before we de-reference that pointer. Created attachment 65549 [details]
another try at some debugging / fixing
I'm giving up on this; we push/pop the clip region in the PDF stream over the page. The bug is still there for this specific printer when we print to PDF and separately print the PDF from acrobat etc. so - clearly there is -something- wrong in the PDF stream. On the other hand most printers print this, and poplar / acroread can render it just fine too ...
Without more technical details on what is wrong with the printer - it's hard to make progress. To generate those I suggest that you:
* make a minimal document that fails: a tiny (1x1 pixel image), and a single word of text.
* print this to PDF from all available software: MS word, FooOffice, BaaOffice etc. until we find one that works.
* de-compress / analyse the command stream in the one that works, and compare to what we have.
When we have an idea of what is causing the grief, then we can easily fix it I think.
Sorry - I can't do better than that :-)
as above. Thank you for all your help. The patches didn't change anything ;) but the discussion helped. After we determined it was a cups bug (and/or possibly ghostscript), I upgraded cups and ghostscript, and the problem went away. Broken: cups-1.5.0, ghostscript-9.00 Working: cups-1.5.3, ghostscript-9.05 (I had to upgrade both together, because otherwise I got error about a missing /usr/lib/cups/filter/pstoraster) So, if anyone hits this bug: zypper ar -c http://download.opensuse.org/repositories/Printing/openSUSE_12.1 printing zypper in ghostscript-x11-9.05 ghostscript-9.05 cups-1.5.3 cups-client-1.5.3 cups-devel-1.5.3 cups-libs-1.5.3 sudo rccups restart (test document no longer available at original URL -- for future reference, one can use http://www.davidfaure.fr/kde/sample.odt ) |