Bug 687112 - GS 8.11: Anti-aliasing problems on Sony Vaio V505 Notebook
Summary: GS 8.11: Anti-aliasing problems on Sony Vaio V505 Notebook
Status: RESOLVED DUPLICATE of bug 687047
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: MS Windows Display Driver (show other bugs)
Version: 8.11
Hardware: PC Windows XP
: P2 normal
Assignee: Igor Melichev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-28 10:43 UTC by Helmut Haberzettl
Modified: 2007-12-13 12:55 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
Test postscript file test.ps (7.15 KB, application/postscript)
2003-10-30 08:05 UTC, Helmut Haberzettl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Haberzettl 2003-10-28 10:43:12 UTC
Installing Ghostscript 8.11 and GSview 4.5 under Windows XP Pro SP1 on a new 
Sony Vaio V505DC2P laptop, I noticed that anti-aliasing display settings in 
GSview 4.5 (1, 2, or 4 bits) have no effect whatsoever (i.e., the screen 
output always corresponds to that of the 1-bit setting). Replacing GS 8.11 by 
7.04 cures the problem. I include a brief postscript test file that shows the 
problem. On the Sony notebook, the problem is always reproducible, i.e., GS 
8.11: bad; GS 7.04: good. I haven't done any tests with other versions of 
Ghostscript.

Note, however, that of the four PCs I have, the problem is specific to the 
Sony notebook; it does not occur on any of the other three (one of them is 
also Sony notebook -- an older Vaio Z505HS model).

Regards,
--Helmut Haberzettl

PS: I don't have clue which component is responsible for this behavior. The 
choice "MS Windows Display Driver" is just a wild guess.

PC: Sony Vaio V505DC2P
OS: Windows XP Pro SP1
Display Adapter: ATI Mobility Radeon (16MB)
Color: 32bit
Screen resolution: 1024x768
GSview 4.5
Ghostscript 8.11 / 7.04


===  Test File -- Cut Here ======
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.90a Copyright 2002 Radical Eye Software
%%Title: test.dvi
%%CreationDate: Tue Oct 28 13:18:28 2003
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 612 792
%%EndComments
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips.exe -Vpk test
%DVIPSParameters: dpi=600, compressed
%DVIPSSource:  TeX output 2003.10.28:1318
%%BeginProcSet: texc.pro
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
N}B/A{dup}B/TR{translate}N/isls false N/vsize 11 72 mul N/hsize 8.5 72
mul N/landplus90{false}def/@rigin{isls{[0 landplus90{1 -1}{-1 1}ifelse 0
0 0]concat}if 72 Resolution div 72 VResolution div neg scale isls{
landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div hsize
mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul TR[
matrix currentmatrix{A A round sub abs 0.00001 lt{round}if}forall round
exch round exch]setmatrix}N/@landscape{/isls true N}B/@manualfeed{
statusdict/manualfeed true put}B/@copies{/#copies X}B/FMat[1 0 0 -1 0 0]
N/FBB[0 0 0 0]N/nn 0 N/IEn 0 N/ctr 0 N/df-tail{/nn 8 dict N nn begin
/FontType 3 N/FontMatrix fntrx N/FontBBox FBB N string/base X array
/BitMaps X/BuildChar{CharBuilder}N/Encoding IEn N end A{/foo setfont}2
array copy cvx N load 0 nn put/ctr 0 N[}B/sf 0 N/df{/sf 1 N/fntrx FMat N
df-tail}B/dfs{div/sf X/fntrx[sf 0 0 sf neg 0 0]N df-tail}B/E{pop nn A
definefont setfont}B/Cw{Cd A length 5 sub get}B/Ch{Cd A length 4 sub get
}B/Cx{128 Cd A length 3 sub get sub}B/Cy{Cd A length 2 sub get 127 sub}
B/Cdx{Cd A length 1 sub get}B/Ci{Cd A type/stringtype ne{ctr get/ctr ctr
1 add N}if}B/id 0 N/rw 0 N/rc 0 N/gp 0 N/cp 0 N/G 0 N/CharBuilder{save 3
1 roll S A/base get 2 index get S/BitMaps get S get/Cd X pop/ctr 0 N Cdx
0 Cx Cy Ch sub Cx Cw add Cy setcachedevice Cw Ch true[1 0 0 -1 -.1 Cx
sub Cy .1 sub]/id Ci N/rw Cw 7 add 8 idiv string N/rc 0 N/gp 0 N/cp 0 N{
rc 0 ne{rc 1 sub/rc X rw}{G}ifelse}imagemask restore}B/G{{id gp get/gp
gp 1 add N A 18 mod S 18 idiv pl S get exec}loop}B/adv{cp add/cp X}B
/chg{rw cp id gp 4 index getinterval putinterval A gp add/gp X adv}B/nd{
/cp 0 N rw exit}B/lsh{rw cp 2 copy get A 0 eq{pop 1}{A 255 eq{pop 254}{
A A add 255 and S 1 and or}ifelse}ifelse put 1 adv}B/rsh{rw cp 2 copy
get A 0 eq{pop 128}{A 255 eq{pop 127}{A 2 idiv S 128 and or}ifelse}
ifelse put 1 adv}B/clr{rw cp 2 index string putinterval adv}B/set{rw cp
fillstr 0 4 index getinterval putinterval adv}B/fillstr 18 string 0 1 17
{2 copy 255 put pop}for N/pl[{adv 1 chg}{adv 1 chg nd}{1 add chg}{1 add
chg nd}{adv lsh}{adv lsh nd}{adv rsh}{adv rsh nd}{1 add adv}{/rc X nd}{
1 add set}{1 add clr}{adv 2 chg}{adv 2 chg nd}{pop nd}]A{bind pop}
forall N/D{/cc X A type/stringtype ne{]}if nn/base get cc ctr put nn
/BitMaps get S ctr S sf 1 ne{A A length 1 sub A 2 index S get sf div put
}if put/ctr ctr 1 add N}B/I{cc 1 add D}B/bop{userdict/bop-hook known{
bop-hook}if/SI save N @rigin 0 0 moveto/V matrix currentmatrix A 1 get A
mul exch 0 get A mul add .99 lt{/QV}{/RV}ifelse load def pop pop}N/eop{
SI restore userdict/eop-hook known{eop-hook}if showpage}N/@start{
userdict/start-hook known{start-hook}if pop/VResolution X/Resolution X
1000 div/DVImag X/IEn 256 array N 2 string 0 1 255{IEn S A 360 add 36 4
index cvrs cvn put}for pop 65781.76 div/vsize X 65781.76 div/hsize X}N
/p{show}N/RMat[1 0 0 -1 0 0]N/BDot 260 string N/Rx 0 N/Ry 0 N/V{}B/RV/v{
/Ry X/Rx X V}B statusdict begin/product where{pop false[(Display)(NeXT)
(LaserWriter 16/600)]{A length product length le{A length product exch 0
exch getinterval eq{pop true exit}if}{pop}ifelse}forall}{false}ifelse
end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{BDot}imagemask
grestore}}{{gsave TR -.1 .1 TR Rx Ry scale 1 1 false RMat{BDot}
imagemask grestore}}ifelse B/QV{gsave newpath transform round exch round
exch itransform moveto Rx 0 rlineto 0 Ry neg rlineto Rx neg 0 rlineto
fill grestore}B/a{moveto}B/delta 0 N/tail{A/delta X 0 rmoveto}B/M{S p
delta add tail}B/b{S p tail}B/c{-4 M}B/d{-3 M}B/e{-2 M}B/f{-1 M}B/g{0 M}
B/h{1 M}B/i{2 M}B/j{3 M}B/k{4 M}B/w{0 rmoveto}B/l{p -4 w}B/m{p -3 w}B/n{
p -2 w}B/o{p -1 w}B/q{p 1 w}B/r{p 2 w}B/s{p 3 w}B/t{p 4 w}B/x{0 S
rmoveto}B/y{3 2 roll p a}B/bos{/SS save N}B/eos{SS restore}B end

%%EndProcSet
TeXDict begin 40258431 52099146 1000 600 600 (test.dvi)
@start
%DVIPSBitmapFont: Fa cmr17 24.88 7
/Fa 7 117 df[<001FC112C0A603C0C700070280C7121F02FCC8000149C9FC4801E06F49
041F13E091CA1807498901F81D00491E7F491E3F491E1FA2491E0FA290CB1907A2003E1F
03A3007E20F0007C1F01A600781F00A800F820F8482078A7CC1A00B3B3B3B3AC4E7F4E7F
4E80067F14F8047FB912F8A6>125 140 122 267 138 84 D<ED0FFF92B512F0020314FE
020F6E7E91263FF00313E0913AFF80007FF8D901FCC7EA1FFCD903F0EC07FE49486E6C7E
49486E7F49C97F013E707E017E163F017C8349707EA24848707E13FF02C06F7E80486D6F
7F80A3727FA46C5BA238007FC06D5A90CAFCA8053FB5FC040FB6FC4BB7FC031F1401037F
1380913903FFF800020F13C0DA3FFEC7FCECFFF8010313E0495B011F90C8FC495A495A49
5A485B485B485BA2485B4890C9FCA248481A3CA2127F5BA3485A60A460A3606D160E007F
171E606D716C1378003F17786C6C16F06E4A486C6C13F06C6DEC03C06C6D020790391FF8
01E06C6DDA1F00EBFC036C6D023E90390FFF9FC026007FFED901FC6DEBFF8090281FFFE0
0FF06D1400010790B5486D5B010103806D13F8D9003F01FCC8EA1FC0020101C092C8FC56
5E78DB5F>97 D<EE7FFC0307B512C0033F14F892B612FE02039039E01FFF804AD9000313
E0DA1FFC01007FDA3FF0EC3FF84A486E7E4A48EC07FE4949814990C86C7F49486F7F4948
6F7F495A013F717E495A737E49488348181F5C48854A160F5A864890CAFC85481A80A25B
123FA37313C0127FA25BA312FF90BBFCA401FCCDFCAB127FA27FA3123FA36C7EA36CF103
C0807E1A076C6D1880A26C190F6E18006C616D6C171E6E173E013F606D6C17786D6C17F8
01074D5A6D6C4C5A6D6D4B5A6D6D4B5ADA7FF04BC7FC6E6C157EDA1FFE5D912607FF80EB
03F86E01E0EB1FF0020001FEEBFFC0033FB6C8FC030F14FC030114F0DB001F90C9FC4A5E
7BDB54>101 D[<EC1F800003B5FCB6FCA6C6FC131F7F7FA27FB3B3A3943801FFE0051F13
FE057FEBFFC04CB612F0932607FC0113FC933A0FC0003FFE4CC7EA0FFF047E02037F04F8
6E7FDB81F0824C80DB83C06F7EED8780038FC96C7EA2159E039C707E15BC15B815F84B70
7EA25DA45DA45DB3B3B0496D4C7E496D4C7F013F01F893B512E0B700FE0103B712F8A6>
93 143 121 270 106 104 D[<EB07F0497E497E497E497E90B57EA76D90C7FC6D5A6D5A
6D5A6D5A90C9FCB3ABEC1F8048B5FC127FA6C67E131F7F7FA27FB3B3B3AF497F497F013F
13F8B712F8A6>37 137 121 264 52 I<DBFFF8EB01C0021F9038FF800391B612E00107
EDF807011F90390007FE0FD93FF0903800FF1FD9FF80EC3F9F4848C8EA0FFF4848814848
8148488149814848167F123F49163F181F127F90CA120FA25A1807A47F18037FA27F6C7E
7F7F6C6C93C7FC7F6C13C014F86C13FF6C14F8EDFFC06C15FEC6EDFFC06D15F86D15FE01
0F6F7E6D16E0010182D9003F81020715FEDA007F8003031580ED003F040114C0DC003F13
E0050F13F0170300F07013F883187F6CEF3FFC181F180F19FE18077E1803A36C1701A37E
A36D17FCA26D1603A26D17F818076D17F06D160F19E06D161F01BEEE3FC0011FEE7F806E
EDFF0026FE0FE04A5A6D6CEC07FC26FC01FCEC3FF03CF800FFC003FFE0023FB612804801
0F4AC7FC020314F0489026003FFEC8FC3F5E7BDB4A>115 D<15F0A91401A61403A41407
A4140FA2141FA2143FA2147FA214FF5B5B5B5B5B137F90B9FC120FBAFCA4C7D87FF0C9FC
B3B3AAF001E0B218036E6C15C0A418076E6C1580A2020FED0F008102075D6F141E6E6D5B
6E6D137C6E6D5B6F6C485A92393FFC07E06FB55A03075C030049C7FCEE1FF03B817DFE49
>I E
%EndDVIPSBitmapFont
end
%%EndProlog
%%BeginSetup
%%Feature: *Resolution 600dpi
TeXDict begin
%%BeginPaperSize: Letter
letter
%%EndPaperSize
 end
%%EndSetup
%%Page: 1 1
TeXDict begin 1 0 bop 1402 2791 a Fa(This)62 b(is)g(a)g(test)p
eop end
%%Trailer

userdict /end-hook known{end-hook}if
%%EOF
Comment 1 Jack Moffitt 2003-10-29 07:54:46 UTC
Using Ghostscript at the commandline, this file gets antialiased properly.  This
sounds like a bug in GSview 4.5.  Please report it in the appropriate place.

My copy of GSview 4.5 on Linux also displays the correct behavior for this file.
Comment 2 Russell Lang 2003-10-29 14:09:36 UTC
Using ghostscript alone from the command line on Windows, this file is anti-
aliased with GS 7.07, but is NOT anti-aliased with 8.11.
Comment 3 Igor Melichev 2003-10-29 23:53:46 UTC
I'll analyze it.

Meanwhile please put the test document as an attachment. Click "Create a New 
Attachment" abobe to do that. In future please don't put documents into a 
followup. This way causes distortions to binaries and line breaks.
Comment 4 Helmut Haberzettl 2003-10-30 08:05:04 UTC
Created attachment 343 [details]
Test postscript file test.ps

This is the file test.ps as an attachment, as requested.
Comment 5 Helmut Haberzettl 2003-10-31 12:30:38 UTC
Update of my original bug report: 
My other PCs are actually running GS 8.0, not 8.11 (as I somehow had assumed, 
without actually checking). With 8.0, everything is fine, but with 8.11, they 
show the same anti-aliasing problems as reported. The problem, therefore, 
seems to stem from the changes made between 8.00 and 8.11.
Comment 6 Igor Melichev 2003-10-31 14:18:05 UTC

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