Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2076 > unrolled thread

Bad clipping

Started byjdaw1 <jdawiseman@gmail.com>
First post2014-10-15 13:01 -0700
Last post2014-10-16 19:22 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.postscript


Contents

  Bad clipping jdaw1 <jdawiseman@gmail.com> - 2014-10-15 13:01 -0700
    Re: Bad clipping rodd@panix.com (Rod Dorman) - 2014-10-16 19:22 +0000

#2076 — Bad clipping

Fromjdaw1 <jdawiseman@gmail.com>
Date2014-10-15 13:01 -0700
SubjectBad clipping
Message-ID<fb1a5bd6-1b67-476e-a384-210efe5a165d@googlegroups.com>
Mac Preview badly renders some clipping. Advice wanted. 

Do something resembling 
... clip newpath ... moveto ... lineto gsave 0 setgray 4 setlinewidth stroke grestore 1 setgray 2 setlinewidth stroke

In Mac Preview, at some zooms some of the 0 setgray ... stroke that was overwritten by the 1 setgray stroke then bleeds through the clip. Sigh. But in Adobe Pro, at all zooms it looks perfect.

If any printers -- now or in the future -- use the same rasterisation technology as does Mac Preview, it will be wrong on those printers.


Some files to illustrate.

PostScript and PDF
http://www.jdawiseman.com/papers/bugs/20141015_clip_test.ps
http://www.jdawiseman.com/papers/bugs/20141015_clip_test.pdf

Mac Preview, screenshots at various zooms, these bad
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Preview100.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Preview150.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Preview200.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Preview300.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Preview600.png

Mac Preview, screenshots at various zooms, these good
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Preview400.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Preview800.png

Mac Adobe Pro XI, all zooms good
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Adobe100.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Adobe150.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Adobe200.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Adobe300.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Adobe400.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Adobe600.png
http://www.jdawiseman.com/papers/bugs/20141015_clip_test_Adobe800.png


One possible solution would be to clip the 0 setgray, but not clip the 1 setgray. Which would work perfectly on a white background, but would fail on a pale non-white background. 

Thoughts?

[toc] | [next] | [standalone]


#2077

Fromrodd@panix.com (Rod Dorman)
Date2014-10-16 19:22 +0000
Message-ID<m1p5sp$o4g$1@reader1.panix.com>
In reply to#2076
In article <fb1a5bd6-1b67-476e-a384-210efe5a165d@googlegroups.com>,
jdaw1  <jdawiseman@gmail.com> wrote:
>Mac Preview badly renders some clipping. Advice wanted. 
>
>Do something resembling 
>... clip newpath ... moveto ... lineto gsave 0 setgray 4 setlinewidth
>stroke grestore 1 setgray 2 setlinewidth stroke
>
>In Mac Preview, at some zooms some of the 0 setgray ... stroke that
>was overwritten by the 1 setgray stroke then bleeds through the clip.
>Sigh. But in Adobe Pro, at all zooms it looks perfect.
>
>If any printers -- now or in the future -- use the same rasterisation
>technology as does Mac Preview, it will be wrong on those printers.

Mac Preview is just a previewer and seems to have implemented a
limited subset of PostScript. I recall having issues with it not
handling the Separation colorspace.

I wouldn't be concerned that some printer manufacturer would use the
same RIP and be able to market it as a PostScript capable printer.

-- 
					-- Rod --
rodd(at)polylogics(dot)com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.postscript


csiph-web