🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5922

Re: Need postscript library callable from C

#5922
From: Henry McGilton
Date: Mon, 14 Dec 1992 23:21
39 lines
2162 bytes
In article <1992Dec14.192801.24379@cs.brown.edu>  writes:

        **  > Is there any public domain postscript library that is
        **  > callable from C?

    *  It depends what you want to draw.
    *  I've written programs both for:

    *  1. drawing a picture which is to be viewed later and  2.
    *  drawing a picture which is to be viewed while the program's
    *  running

    *  I can email sample code to anyone who is interested in this
    *  stuff.  Basically, however, it's just a matter of sending
    *  PostScript commands either:
    *  1. to a file or 2. to GhostScript, using the "flushpage"
    *  command to force the screen to be updated
    *  And this means that you have to know PostScript programming.
    *  If there were some library calls, there would be a very
    *  simple mapping to PostScript, so you either learn the
    *  library or you learn PostScript.
    *  Learning some simple PostScript is not hard.

    *        psline(x1, y1, x2, y2)
    *        printf("%d %d moveto %d %d lineto stroke\n", x1, y1, x2, y2);

          <<<<<  Stuff Deleted  >>>>
The list of library calls presented here bears a passing resemblance
to the client side library of Display PostScript.

But apart from that, the October 1989 issue of EPODD* contains an
article titled ``INSCRIPT -- A C like preprocesor for POSTSCRIPT''.
The article is by Jacob Gonczarowski and On G. Paradise.  Jacob
Gonczarowski is or was at Typographics, Jerusalem, and On G. Paradise
is or was at the Hebrew University of Jerusalem.

* Electronic Publishing -- Origination, Dissemination, and Design.

	........  Henry
Technical Details
Message-ID: <1992Dec14.232130.1957@trilithon.mpk.ca.us>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!uwm.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!trilithon!henry
References: <1992Dec14.192801.24379@cs.brown.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!uwm.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!trilithon!henry
From: henry@trilithon.mpk.ca.us (Henry McGilton)
Subject: Re: Need postscript library callable from C
Message-ID: <1992Dec14.232130.1957@trilithon.mpk.ca.us>
Sender: henry@trilithon.mpk.ca.us
Organization: Trilithon Software
References: <1992Dec14.192801.24379@cs.brown.edu>
Date: Mon, 14 Dec 1992 23:21:30 GMT
Lines: 40