Display PS vs NeWS 
Author Message
 Display PS vs NeWS

--text follows this line--
Glenn,

Path: brillig.umd.edu!don

Is there any effort at Adobe to make your extension to Red Book
postscript compatible with the NeWS extension? Display PostScript and
NeWS each have a different set of extensions to Red Book PostScript,
but where they overlap, are the names the same? And in those cases,
are the arguments the same?

Some examples of the types of NeWS extension I mean:

currentpath % - => path
setpath % path => -
currentstate % - => graphics_state
setstate % graphics_state => -
copyarea % dx dy => -
undef % dict key => -
dictbegin % - => - (new dict pushed on dict stack)
dictend % - => dict (popped from dict stack)
case % value {key {proc} key key {proc} ... /Default {proc}} => -
append % obj1 obj2 => obj3
printf % formatstring arrayarg => -
sprintf % formatstring arrayarg => sting
stringbbox % string => x y w h

I don't have the Display PostScript documentation yet, but I'm
ordering it soon. I'm looking forward to reading about it, and even
further forward to using it!

I think it would be a great idea to make NeWS and Display PostScript
compatible. What do you people at Adobe think of Display PostScript
"clones"? I hope you don't find the inevitable alarming.  I certianly
think people would be encouraged to write Display PostScript
applications, if they knew they would run on top of X11/NeWS as well.

Is there any reason that NeWS couldn't be programmed to emulate
Display PostScript?  Is there anything about Display PostScript's
model of processes, drawing surfaces, interprocess and network
communication, that couldn't be simulated in NeWS by a simple
compatibility package, and maybe a few gratuitious server extensions?
NeWS could easily be taught to understand the pswrap byte encoding,
and communicate with Display PostScript clients. Adobe hasn't gone to
any effort to make Display PostScript incompatible with NeWS, have
they?  (Like giving the function that closes a network connection the
two character name "^C". ;-)

Does Adobe have any plans about adopting a classing mechanism? Have
you considered Owen Densmore's public domain object oriented
PostScript programming package, class.ps? It's some really elegant
code, written in Red Book PostScript, and it's very well matched with
the PostScript language and imaging model. It makes PostScript into a
Smalltalk-like programming environment! Now there's a version
supporting multiple inheritance. I really enjoy programming in object
oriented PostScript, and I want to see the PostScript language evolve
to its full potential.  Standard Common object oriented PostScript
would be a good thing!

        -Don



Wed, 19 May 1993 06:48:00 GMT  
 Display PS vs NeWS
->Is there any effort at Adobe to make your extension to Red Book
->PostScript compatible with the NeWS extension? [ ...  eg. ]
->currentpath % - => path
->setpath % path => -
->currentstate % - => graphics_state
->setstate % graphics_state => -
->copyarea % dx dy => -
->undef % dict key => -
->dictbegin % - => - (new dict pushed on dict stack)
->dictend % - => dict (popped from dict stack)
->case % value {key {proc} key key {proc} ... /Default {proc}} => -
->append % obj1 obj2 => obj3
->printf % formatstring arrayarg => -
->sprintf % formatstring arrayarg => sting
->stringbbox % string => x y w h

While agreeing entirely with your general point, at least the last 5 (7?) of
these are implementable directly in Red Book PostScript, although it would
be nice if they were "officially sanctioned" by Adobe.

->Does Adobe have any plans about adopting a classing mechanism? Have
->you considered Owen Densmore's public domain object oriented
->PostScript programming package, class.ps?

Is this generally available? How can I get hold of details, or even a copy?

                                        Ian.



Wed, 19 May 1993 10:54:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Comparing Display PostScript and X11/NeWS

2. Anyone - How to display news in IE5

3. PS vs. DPS vs. NeWS

4. EPS vs PS vs PDF [was: Re: Corel Draw 7 upgrade pricing]

5. Level 2 PS vs Level 1 vs PCL + PP XL

6. date - working with vs displaying.

7. PS Level 1 vs. PS Level 2

8. Q: News about 2015 PS Interpreter

9. help: using NeWS to convert ps to a bitmap

10. news/PS archive site?

11. TeX vs. PS (.tfm files)

12. Encapsulated vs. Unencapsulated PS

 

 
Powered by phpBB® Forum Software