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


Groups > comp.lang.postscript > #848

Re: execform, 75% faded

From luser- -droog <mijoryx@yahoo.com>
Newsgroups comp.lang.postscript
Subject Re: execform, 75% faded
Date 2012-07-31 16:02 -0700
Organization http://groups.google.com
Message-ID <dd221876-d45c-43c4-bb3a-c19fa7a4480d@googlegroups.com> (permalink)
References <1390895d-c740-4357-9ad1-c5a506fce680@googlegroups.com> <04a829b8-1e3b-4315-8112-f3631382607a@googlegroups.com> <31a9c765-3e32-42e0-a439-923dc14044c5@googlegroups.com> <e5aafee8-6b0b-43d0-bb4f-77b6d6321f41@googlegroups.com>

Show all headers | View raw


On Tuesday, July 31, 2012 1:40:15 PM UTC-5, jdaw1 wrote:
> Ooops, my error. It works in Adobe Distiller, but •not• in Ghostscript (using PS2PDF.com’s version 3010, revision 864, serialnumber 42), nor in Apple Preview (Version 5.5.2, 719.25). 
> 
> 
> 
> See
> 
> http://www.jdawiseman.com/2012/20120731_settransfer_test.ps
> 
> http://www.jdawiseman.com/2012/20120731_settransfer_test_adobe_distiller.pdf
> 
> http://www.jdawiseman.com/2012/20120731_settransfer_test_ghostscript.pdf
> 
> http://www.jdawiseman.com/2012/20120731_settransfer_test_preview_552_71925.pdf
> 
> 
> 
> Any suggestions for a PostScript technique that will work in GS?

Ick. Well, as I often say, Shocking but not Surprising!

I should have thought of this first:
Override 'setgray'!

/oldsetgray /setgray load def
/setgray { .2 mul .8 add oldsetgray } def

You might be tempted to use //immediately-loaded
names, but then you're assuming /setgray is an
operator which is not guaranteed. As far as 
assumptions go in this game, this one's pretty
safe. But it's a good habit to apply them
with caution. :)

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-07-30 01:57 -0700
  Re: execform, 75% faded luser- -droog <mijoryx@yahoo.com> - 2012-07-30 07:04 -0700
    Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-07-31 06:24 -0700
      Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-07-31 11:40 -0700
        Re: execform, 75% faded luser- -droog <mijoryx@yahoo.com> - 2012-07-31 16:02 -0700
          Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-08-01 00:08 -0700
    Re: execform, 75% faded jdawiseman.bloomberg@gmail.com - 2019-04-20 06:46 -0700
      Re: execform, 75% faded jdawiseman.bloomberg@gmail.com - 2019-04-20 06:46 -0700
  Re: execform, 75% faded Chris <cjl@spamcop.net> - 2012-08-01 07:40 +0000
    Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-08-01 01:02 -0700
      Re: execform, 75% faded Chris <cjl@spamcop.net> - 2012-08-01 08:15 +0000
        Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-08-01 02:53 -0700
          Re: execform, 75% faded ken <ken@spamcop.net> - 2012-08-01 12:56 +0100
          Re: execform, 75% faded Chris <cjl@spamcop.net> - 2012-08-01 12:33 +0000
  Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-08-01 05:47 -0700
    Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2012-08-01 06:28 -0700
  Re: execform, 75% faded Don Lancaster <don@tinaja.com> - 2012-10-23 08:45 -0700
    Re: execform, 75% faded jdaw1 <jdawiseman@gmail.com> - 2015-04-25 15:05 -0700

csiph-web