[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE 3.1 final tarballs
From:       Lars Knoll <lars () trolltech ! com>
Date:       2002-11-26 9:24:28
[Download RAW message or body]

> Ian Reinhart Geiser wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Monday 25 November 2002 12:10 pm, Dirk Mueller wrote:
> >>Hi,
> >>
> >>I've created the final KDE 3.1 tarballs last night. I will not update
> >> them anymore unless there is a fix committed for a fatally bug,
> >> otherwise things have to wait till KDE 3.1.1.
> >
> > Does the fact konqi cannot print with cups count as a fatal bug?
>
> I confirm these facts:
>
> * that konqi isn't printing any more on my standard office printer:
>    HP LaserJet 8000 ("Mopier") with PostScript Level 2 emulation.
>
> * konqi prints onto a PostScript Level 3 printer (original Adobe
>    RIP)
>
> * I get this PostScript error for the level 2 printer:
>
>      ERROR: rangecheck
>      OFFENDING COMMAND: image
>      STACK:
>      -dictionary-

Hmmm.... I checked the postscript docs, and I think I know the problem. Please 
try the attached patch to qpsprinter.cpp. It should solve your problem.

Cheers,
Lars

["qpsprinter.diff" (text/x-diff)]

==== //depot/qt/3.1/src/kernel/qpsprinter.cpp#3 - /home/lars/dev/qt-3.1/src/kernel/qpsprinter.cpp ====
--- /tmp/tmp.22049.0	Tue Nov 26 10:21:58 2002
+++ /home/lars/dev/qt-3.1/src/kernel/qpsprinter.cpp	Tue Nov 26 10:21:58 2002
@@ -128,7 +128,7 @@
 "string d 0 1 QCIcolor length 3 idiv 1 sub{/QCIindex ED/x QCIindex 3 mul d\n"
 "QCIgray QCIindex QCIcolor x get 0.30 mul QCIcolor x 1 add get 0.59 mul\n"
 "QCIcolor x 2 add get 0.11 mul add add cvi put}for QCIgray image}ie}D/di{\n"
-"gsave TR dup false ne{/languagelevel where{pop languagelevel 2 ge}{false}ie}\n"
+"gsave TR dup false ne{/languagelevel where{pop languagelevel 3 ge}{false}ie}\n"
 "{false}ie{/ma ED 8 eq{/dc[0 1]d/DeviceGray}{/dc[0 1 0 1 0 1]d/DeviceRGB}ie\n"
 "scs/im ED/mt ED/h ED/w ED/id 7 DB/ImageType 1 d/Width w d/Height h d\n"
 "/ImageMatrix mt d/DataSource im d/BitsPerComponent 8 d/Decode dc d DE/md 7\n"
@@ -182,7 +182,6 @@
 "/WFi ED/Cy ED/Cx ED/PSt ED/LWi ED/BSt ED/nS nS 1 sub d}if}D/CLSTART{/clipTmp\n"
 "matrix CM d defM SM NP}D/CLEND{clip NP clipTmp SM}D/CLO{grestore gsave defM\n"
 "SM}D\n";
-
 
 // the next table is derived from a list provided by Adobe on its web
 // server: http://partners.adobe.com/asn/developer/typeforum/glyphlist.txt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic