Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465552 - app-office/libreoffice - default printer language of PDF is buggy, should be PostScript
Summary: app-office/libreoffice - default printer language of PDF is buggy, should be ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard: Fixed-in: 4.1.1.2
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-11 17:16 UTC by Joakim Tjernlund
Modified: 2013-09-15 11:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
test doc which won't display well when converted to PDF (test.doc,181.50 KB, application/msword)
2013-04-13 19:14 UTC, Joakim Tjernlund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2013-04-11 17:16:44 UTC
libreoffice has default printing language set to PDF and this format is rather buggy. Chnaging this to PostScipt, thing start woring again.

However, changing this defalt entails editing the file
 /usr/lib/libreoffice/share/psprint/psprint.conf
and adding(under [__Global_Printer_Defaults__]):
PDFDevice=-1

This does not work on a global scale, could gentoo offer
a USE flag (or somerthing similar) which adds this flag to
the mentioned file?


Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2013-04-12 19:30:52 UTC
Could you please provide some sample document that does not work with pdf printing.

The problem is that PS printing is being removed even from cups so we want to avoid converting back and forth all around.

Also is there some upstream bug about this issue?
Comment 2 Joakim Tjernlund 2013-04-13 19:14:01 UTC
Created attachment 345498 [details]
test doc which won't display well when converted to PDF
Comment 3 Joakim Tjernlund 2013-04-13 19:16:53 UTC
Providing a Postscript default makes sens as long Postscipt is supported by
libreoffice. Especially when PDF has its problems.
Comment 4 Joakim Tjernlund 2013-04-23 12:11:41 UTC
I wonder, perhaps this error is connected to liborcus?
libreoffice-4 hardcode liborcus to:
	=dev-libs/liborcus-0.3*
Maybe that should be changed as there is a liborcus-0.5.1 in tree now?
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2013-04-26 19:14:00 UTC
(In reply to comment #4)
> I wonder, perhaps this error is connected to liborcus?
> libreoffice-4 hardcode liborcus to:
> 	=dev-libs/liborcus-0.3*
> Maybe that should be changed as there is a liborcus-0.5.1 in tree now?

Nope, the api is different. So 0.5 is only for 4.1 release.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2013-04-26 19:57:35 UTC
Ok after investingating this please fill up bug upstream with the test document so we can rather fix the pdf filter (due to cups-1.6 requiring pdf printing anyway).
Comment 7 Joakim Tjernlund 2013-04-27 09:59:25 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=63991

I don't think there will be any fix in the near future and I need
something that works now.
Comment 8 Joakim Tjernlund 2013-08-09 14:33:44 UTC
this bug seems to have been fixed in libreoffice 4.1.0.4, at least i
don't see the problem with teh above test doc anymore.
I think we can close this bug.
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2013-09-15 10:42:06 UTC
Awesome so something I did there really helped :-)

Closing as fixed in 4.1 then.
Comment 10 Joakim Tjernlund 2013-09-15 11:05:53 UTC
Great, you might want to close the upstream bug too:
https://bugs.freedesktop.org/show_bug.cgi?id=63991