Version: 0.20 (using KDE KDE 3.5.4) Installed from: Gentoo Packages Compiler: gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) OS: Linux If I make a simple postscript file I can view it in gv and kghostview just fine. However, if I make a one page latex file such as \documentclass[a4paper,10pt]{article} \usepackage{graphicx} %opening \title{} \author{} \begin{document} \maketitle \begin{abstract} \end{abstract} \section{} \centerline{\includegraphics[scale=0.35,angle=270]{radix-runtime}} \end{document} then latex and dvips it it views fine in gv but is garbled in kghostview. A screenshot is at http://img142.imageshack.us/img142/7259/kileen9.png. I asked on irc and people were able to reproduce the problem. It seems it is definitely a problem with kghostview. ps to pdf and then later viewed in kpdf works fine. kghostview --version Qt: 3.3.4 KDE: 3.5.4 KGhostView: 0.20 Raphael
Created attachment 17969 [details] Sample postscript file that kghostview garbles when included in a one page latex doc. Views fine on its own.
Created attachment 17970 [details] Sample one page postscript doc including postscript pic above. This is the one that causes the problem. This is a one page doc made in the above method using the above postscript file in it. It views ok in gv but is garbled in kghostview.
Looks fine here (post-3.5.4 SVN on FreeBSD)
I didn't really label the attachments well. The first attachment always looks fine as is simply the postcript pic that is included in the second attachment. The second attachment however is garbled in kghostview for gentoo users it seems. Raphael
I have found the cause. If you unclick "use platform fonts" in kghostview the problem goes away. Raphael
Specifically... gs -sDEVICE=x11 -dTextAlphaBits=4 -dGraphicsAlphaBits=2 -dMaxBitmap=10000000 attachment.cgi garbles gs -dNOPLATFONTS -sDEVICE=x11 -dTextAlphaBits=4 -dGraphicsAlphaBits=2 -dMaxBitmap=10000000 attachment.cgi doesn't Raphael
I don't see any problem with this file on my system's kghostview. (Nor do I see the problem with your "problematic" commandline. However, I didn't understand what this commandline should be proofing? Other than (a) either your "gs" may be buggy as well, or (b) your PostScript file may be buggy, if gs can't display the PostScript file?) Please if you report kghostview bugs, do always include the version of your Ghostscript installation as well, and report the results of viewing the file in other viewers: (a) gs (as you did) (b) gv (as you did) (c) kpdf [Yes, kpdf can be used as a viewer for PS files, because it does on-the-fly conversion using Ghostscript's "ps2pdf" utility...]