[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#116263: postscript line removed from input file.



Package: psptools
Version: 1.2.2-3

Hello,

In certain circumstances, psplpr can remove a postscript line and
duplicate another one.

I use debian 2.2r3 with security updates on i386.
This bug is present in both version 1.2.2-3 and 1.2.2-5.

Here is how to reproduce the bug :
zcat /usr/doc/gs-aladdin/examples/golfer.ps.gz >/tmp/golfer.ps
cd /tmp
/usr/bin/psplpr -k /tmp/hp1055c1.ppd  -o - -u '*OutputMode=Best' \
< golfer.ps > toto.ps

The ppd file comes from HP, and is the PPD for HP 1055cm printer for
windows 9x with EOL properly converted to unix convention.

A ``diff golfer.ps toto.ps'' shows that :
	feature '*OutputMode=Best' was added
	original line 74, containing ``u'' was removed
	original line 75, containing ``0.9 g'' was added
diff golfer.ps toto.ps :
72a73
> %%BeginProlog
74c75,85
< u
---
> %%BeginSetup
> %%BeginFeature: *OutputMode Best
>   << /HWResolution [600 600]
>     /PostRenderingEnhance true
>     /PostRenderingEnhanceDetails
>     << /PrintQuality 3
>       /Type 11 >>
>   >> setpagedevice
> %%EndFeature
> %%EndSetup
> 0.9 g

	Christophe
-- 
char*p="[)1++++++11+(QI1)9191991)9)1)(II1)919Y91)9)1)(AK+9;991+3*(9I1*IY991)Q1\
)(1I1))A91991)Q1)(+)1)1++9;)Q1+(";main(_){while(*p){for(_=*p-32>>3;_;--_)
putchar(' ');if(!(_=*p++-32&7))putchar('\n');else while(_--)printf("_/");}}




Reply to: