Comment 10 for bug 160203

Revision history for this message
Herbert V. Riedel (hvr) wrote :

just in case this helps anyone debug, I noticed that the bounding box calculation is affected by the color value; if I draw lines with a white component, e.g. by '0.5 setgray' they get considered by the bounding box algorithm, whereas completely black lines don't make it...

%!PS-Adobe-2.0
%%Creator: foo
%%BoundingBox: 197 398 367 602
%%DocumentMedia: A4 595 842 0 () ()
%%EndComments
/mainfont /Courier findfont 14 scalefont def
mainfont setfont
%%EndProlog
%%Page: 1 1
0.0 setgray
250 450 moveto
(Hello, World!) show
200 400 moveto
50 100 rlineto
0 -100 rmoveto
-50 100 rlineto
3.5 setlinewidth
stroke
0.5 setgray
260 550 moveto
(Hello, World!) show
210 500 moveto
50 100 rlineto
0 -100 rmoveto
-50 100 rlineto
3.5 setlinewidth
stroke
showpage
%%Pages: 1