Bug 77681 - PostScript files generated by KMail incompatible with Ghostscript programs
Summary: PostScript files generated by KMail incompatible with Ghostscript programs
Status: RESOLVED DUPLICATE of bug 75820
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-15 17:14 UTC by Tristan Miller
Modified: 2007-09-14 12:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2004-03-15 17:14:35 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs

Messages printed with KMail using the "Print to File (PostScript)" do not seem to work with many other applications which process PostScript files.  I don't know enough to determine whether this is a bug in KMail, in the KDE HTML Library, or with Ghostscript.

To reproduce:

1. Select a message.
2. File->Print
3. Name: Print to file (PostScript)
4. Print
5. Progress window pops up; everything is fine
6. Try to open or process the file with gv, ghostview, ps2pdf, ps2epsi, and many other programs; get the following error:

Error: /invalidfont in findfont
Operand stack:
   Times-Bold-Uni-00   --nostringval--   --nostringval--   Times-Bold   Times-Bold   Font   Times-Bold   428674   Times-Bold   --nostringval--   Courier   (Courier)   Courier
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   5   3   %oparray_pop   6   3   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   9   4   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1057/1417(ro)(G)--   --dict:0/20(G)--   --dict:164/200(L)--   --dict:17/17(ro)(G)--   --dict:1057/1417(ro)(G)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
Comment 1 Tristan Miller 2004-03-18 12:23:09 UTC
Just upgraded to KDE 3.2.1.  Problem still occurs.
Comment 2 Ingo Klöcker 2004-03-19 21:56:21 UTC
Works correctly here. Does using another font for printing help? Does printing from Konqueror work?
Comment 3 Tristan Miller 2004-03-19 22:09:53 UTC
No, changing the font doesn't seem to have any effect.  But I can print from Konqueror just fine.
Comment 4 Benno Dielmann 2004-03-29 19:22:58 UTC
It probably has something to do with bug #75820. Refresh the gostscript-library - rpm (installs the correct Fontmap) and everything should be fine ;-)

Or else...

Greetings, benno. 
Comment 5 Rex Dieter 2004-03-29 21:43:44 UTC
I saw the problem too, apparently kfontinst munged ghostscript's Fontmap.  See bug #75820.  fixed in kde-3.2.1 (though if your Fontmap file is still munged, it's still broken).

*** This bug has been marked as a duplicate of 75820 ***