HDTenEightyP/NetNews huggingface dataset:
From: spencer@panix.com (David Spencer)
Newsgroups: comp.lang.postscript
Subject: Re: Ghostscript for Mac?
Date: 14 Apr 92 12:00:46 GMT
Organization: PANIX Public Access Unix, NYC

In <STNGIAM.92Apr13102649@m66-452-1.mit.edu> stngiam@athena.mit.edu (Shih-Tung Ngiam) writes:
>   If my memory serves me right, ghostscript comes from the Free
>Software Foundation (producers of emacs).

Actually, from Alladin, but distributed under the FSF banner.

>If that's the case, then there certainly won't be an official
>ghostscript for the Mac because of the FSF's boycott apple policy.

The gs2.4 README (or one of the *.doc) says something about a mac gs
available by ftp. (Shocked me, too.) If I were at home, I'd look it
up. Does someone have it handy? Put it in the FAQ!
Organization: Penn State University
Date: Wednesday, 15 Apr 1992 19:49:51 EDT
From: The One and Only <TLC112@psuvm.psu.edu>
Newsgroups: comp.lang.postscript
Subject: PostScript to HPGL conversion...

is there such an animal?
From: willing@pantheon.icsl.ucla.edu (Scott Willingham)
Newsgroups: comp.lang.postscript
Subject: Re: Different line ends/segment ends on dashed line?
Date: 7 Apr 92 19:24:54 GMT
Organization: University of California at Los Angeles, EE Dept.

In article <2440@voodoo.UUCP> das@voodoo.boeing.com (Deb Schwartz) writes:
>
>I have a need to print dashed lines where the ends of the lines are rounded
>but the individual dashed segment ends are square (hope this illustration
>is understandable):
>
>           .............  ............  ............. 
>          .            .  .          .  .            .   <-- rounded ends 
>          .            .  .          .  .            .  
>	   .............  ............  .............
>
>                        ^^
>			square segments
>
>
>Setlinecap sets all the line ends (both outside ends and segment ends) to be
>the same:  all rounded or all square.  Does anyone know an easy (or not-so-easy)
>way to accomplish what I want to do?
>
>Thanks,
>
>-- 
>Debbie Schwartz // das@voodoo.boeing.com  // or uunet!bcstec!voodoo!das 


I would just draw the line segment with square ends and then go to each
endpoint and draw small circles of the proper radius.

-- Scott Willingham // willing@icsl.ucla.edu
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
Newsgroups: comp.lang.postscript
From: datri@convex.com (Anthony A. Datri)
Subject: Re: compression of image files in PS
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
Date: Thu, 16 Apr 1992 05:29:56 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

>a PostScript job.  Well, the final release of Windows 3.1 has

WHAT "Windows"?

>Your mileage may vary.  With either a fast printer (RISC processor),

RISC architectures and speed do not imply each other.


-- 


======================================================8--<
From: bkph@wheat-chex.ai.mit.edu (Berthold K.P. Horn)
Newsgroups: comp.lang.postscript
Subject: Re: PostScript xor of two images wanted
Date: 17 Apr 92 11:32:03 GMT
Article-I.D.: life.23402
Distribution: na
In-reply-to: belonis@phys.washington.edu's message of 17 Apr 92 04:42:34 GMT


In article <belonis.703485754@dirac> belonis@phys.washington.edu (Jim Belonis) writes:

   I would like to xor two images in PostScript.

   I have a black-and-white high-contrast version of a person's portrait
   available as a PostScript file using the image operator.
   I have an asc2ps conversion of a text file to PostScript.

   I would like to xor the two images on a LaserWriter II NTX
   in such a way that the text is black in the white areas 
   and black in the white areas of the portrait.
   This is intended to generate a wallet-sized ASCII chart so I have been
   using a small 6-point font.

   I can find nothing similar in the PostScript books or in Real World PostScript
   nor in the examples I have collected over the years from Usenet.

   I have tried various methods of pbmplus and ghostscript
   manipulations before sending
   the final image to the PostScript printer, but have troubles with
   illegible fonts resulting due to the distortions caused by shrinking.
   I would think this could be done cleaner and simpler by combining the images
   in the printer itself.

   I would appreciate it if someone would provide example code that
   combines images with an xor function.

Since PS uses the opaque imaging model, it cannot directly provide for
XOR-mode combination of something already images and a new sub-image. So:

Your best bet might be to use the outline of the silhouette as a clipping
region. First set it it up to clip everything inside, then show text
normally. Next set up the clipping region to clip everything outside, paint
a background black, setgray to 1.0, and write the text a second time.

Berthold K.P. Horn
Cambridge, Massachusetts, USA
Newsgroups: comp.lang.postscript
From: grdetil@scrc.umanitoba.ca (Gilles Detillieux)
Subject: Re: psroff generates huge files
Organization: University of Manitoba, Winnipeg, Canada
Date: Wed, 15 Apr 1992 19:47:11 GMT

In article <3395@ecicrl.ocunix.on.ca> clewis@ferret.ocunix.on.ca (Chris Lewis)  
writes:
> Egods tho, CAT troff refuses to read the width tables for the width
> of space.  Oh crud.  At least this won't be a problem with gtroff
> or ditroff.  On the other hand, this may be why a few people have
> remarked that psroff's inter-word spacing is a little nicer (troff uses
> 1/3 point size for space width.  Postscript's space width is 1/3rd
> narrower (12/432 @ 6 point versus 9/432 @ 6 point))

Couldn't you get PostScript to give you the exact space width you need to
match troff's, by using the "widthshow" or "awidthshow" operator?

--
Gilles Detillieux                       <Gilles@scrc.UManitoba.CA>
Spinal Cord Research Centre             or <grdetil@gilles.scrc.UManitoba.CA>
Dept. of Physiology, U. of Manitoba     Phone:  (204)788-6766
Winnipeg, MB  R3E 0W3  (Canada)         Fax:    (204)786-0932
From: alena@nikhefh.nikhef.nl (Alena Lacova)
Newsgroups: comp.lang.postscript
Subject: Re: Latex <--> PostScript conversion??
Summary: postscript file converted from latex conforming to Adobe Document Structuring Conventions
Date: 13 Apr 92 11:59:50 GMT
Organization: Nikhef-H, Amsterdam (the Netherlands).

In article <9204102225.AA10823@ho15.eng.ua.edu>, Mandyam.Srinivas@ho15.eng.ua.edu writes:
> 
> How can I convert PostScript files to Latex files and 
> vice-versa. I know that there is a dvi2ps utility - Is

I have another question: is there something like dvi2ps
but the final postscript file is conforming to Adobe
Document Structuring Conventions ?
Or is there something what can make postscript file conforming ?

> 
> Any hints, pointers, corrections will be useful..
> 
 
 Thanks,

Alena
Newsgroups: comp.lang.postscript
From: byer@adobe.com (Scott Byer)
Subject: Re: Lisp dialect as front end to PostScript
Reply-To: byer@adobe.com (Scott Byer)
Organization: Adobe Systems Incorporated
Date: Fri, 10 Apr 1992 17:17:01 GMT


How many would use such a thing?

That is, given the choice and identical functionality, who
would prefer to program in Lisp? 

Scott Byer                                   NeXTMail: byer@adobe.com
Adobe Systems Incorporated               These are *my* opinions, and  
1585 Charleston Road, P.O. Box 7900        do not necessarily reflect
Mountain View, CA 94039-7900             the opinions of my employer.
---------------------------------------------------------------------
From: cjmchale@cs.tcd.ie (Ciaran McHale)
Newsgroups: comp.lang.postscript
Subject: Re: Postscript Examples
Date: 12 Apr 92 17:45:06 GMT
Organization: DSG, Dept. of Comp. Sci., Trinity College, Dublin.

In <1992Apr12.123656.13006@Princeton.EDU>
jmo@courant.princeton.edu (Mike Orszag) writes:
>I was wondering if there was anyplace which had copies of the example
>programs in the Postscript manuals.

Adobe have a file server which has some useful stuff on it, including
programs in some of the books. You can contact the server by sending
email to "ps-file-server@adobe.com". If you send a message with a line
containing just the word "help" it will email you back details on how
to use it. To speed things up for you, you can get the programs from the
"blue" book by sending an email which contains a line with the command
"send Programs bluebook.shar" Similarly, "send Programs greenbook.shar"
will get you the programs from the "green" book.


Ciaran.
-- 
Ciaran McHale                                                            ----
Department of Computer Science, Trinity College, Dublin 2, Ireland.      \bi/
Telephone: +353-1-7021539  FAX: +353-1-772204  email: cjmchale@cs.tcd.ie  \/
Newsgroups: comp.lang.postscript
From: mckay@physics.su.OZ.AU (Derek Mckay)
Subject: Finding the height of the current font
Organization: School of Physics, University of Sydney, Australia
Date: Fri, 10 Apr 1992 02:50:09 GMT

How can one find the height of the current font. I need it in order
to centre some text vertically. Please E-Mail. Thanks.

--
 Derek McKay, Chatterton Astronomy Dept.  (mckay@astron.physics.su.oz.au)
 School of Physics (A28)
 University of Sydney, NSW 2006
 AUSTRALIA
Newsgroups: comp.lang.postscript
Subject: postscript to ascii
From: malcolm@nutmeg.cs.ntu.edu.au (Malcolm Caldwell)
Date: 14 Apr 92 13:27:57 +0900
Distribution: world
Organization: Computer Science, Northern Territory University, Australia
Originator: malcolm@pandanus.cs.ntu.edu.auLines: 17

I am *SURE* this is a FAQ!

To what extent can postscript be converted to ascii?  What programs are
available to do this?

I understand that getting a 'best' result would be very hard. (ie one where
text was positioned correctly etc.)

Can the paragraph groupings be recovered?

Anyone know of anything?

-- 
Malcolm Caldwell       Email:   malcolm@pandanus.ntu.edu.au
Technical Officer         Ph:   +61 89 466546
Computer Science         Fax:   +61 89 270612
Northern Territory University, Darwin Australia
Newsgroups: comp.lang.postscript
From: rabe@messua.informatik.rwth-aachen.de (Ralf Bergs)
Subject: How to convert PS to EPS???
Organization: RBI - RWTH Aachen
Date: 16 Apr 92 07:40:12 GMT

Hi, netters!

I'm sorry if this is a FAQ but I don't usually read this group:

I _HAVE_ to convert .PS-output to .EPS so that I can include it
into Word Perfect documents.

I'd appreciate _ANY_ help (please mail).


Thanks,

   Ralf

-- 
Ralf G. R. Bergs, EE (comp. eng.) student 
snail: H"uckeswagener Str. 42, D-5270 Gummersbach-Windhagen
phone: (+49) 22 61-2 19 68            Fed. Rep. of Germany
email: rabe@messua.informatik.rwth-aachen.de
From: d_rupp@bamp.berlinet.in-berlin.de (Detlef Rupp)
Newsgroups: comp.lang.postscript
Subject: Re:How to convert fonts? (type3->type1)
Reply-To: d_rupp@bamp.berlinet.in-berlin.de
Date: 14 Apr 92 21:06:00 MET
Distribution: COMP
Organization: Mailbox BAMP im Zerberus-Netz
X-Version: ZerUU V6.45c

Am 13.04.92 um 17:56 schrieb NOBODY%KODAK.COM@UUCP.ZER
unter dem Betreff How to convert fonts? (type3->type1):


-> I own quite a few .afm files (fonts) (type 3 I believe) and would like
-> to convert those for use with ghostscript which I believe requires
-> type 1 font files (.pfa or .pfb).  Is there a way to do this?.  Is
-> there a program I can get to do it?  I'm trying to use it for high
-> resolution output and I'd like to stay away from bitmap fonts.
-> 
-> Thanks in advance,

Hi Eric,
.AFM-Files contains only Font-Metric Informations. This Files are not
Font-Files, so there is no solution to convert it to .pfb or .pfa.

-> 
-> Eric Brown
-> ebrown@tap.kodak.com
-> 

Greetings
          Ruppi

d_rupp@bamp.berlinet.in-berlin.de

-- THE ANSWER V2.00
From: puglia@cucbs.chem.columbia.edu (Paul Puglia)
Newsgroups: comp.lang.postscript
Subject: IIg and transcript
Date: 17 Apr 92 16:25:46 GMT
Organization: Center for Biomolecular Simulation


Can anyone give me some pointers on using an apple laserWriter
IIg with transcript?  I have the printer set on its factory
defaults and hook to my Sun via a serial connector.  While the 
unit prints it is generating sync errors in its log file.  
Could someone give me a configuration that works.  Thanks in
advance


Paul Puglia
Dept of Civil Engineering
Columbia University

puglia@cucevx.civil.columbia.edu
From: steve@casbah.acns.nwu.edu (steve)
Newsgroups: comp.lang.postscript
Subject: embedded text/graphics in outline fonts?
Date: 16 Apr 92 16:29:45 GMT
Organization: Northwestern University, Evanston Illinois.

Hello,

Does any one know if there is a program available which generates 
outline fonts with embedded text or graphics (i.e. the example shown 
on page 104 of the blue book)?  Thanks.

Steve.
steve@casbah.acns.nwu.edu
From: andrew@frip.WV.TEK.COM (Andrew Klossner)
Newsgroups: comp.lang.postscript
Subject: Re: Bug in fill?
Date: 8 Apr 92 19:54:34 GMT
Reply-To: andrew@frip.wv.tek.com
Organization: Tektronix, Wilsonville, Oregon

To begin debugging this sort of problem, replace 'fill' with 'stroke'
to see the outline of the area PostScript is filling for you.  If you
do this, you see that your second arc:

	0 0 InRadius 0 360 arcn

doesn't appear at all.  This is because, for arcn, you reverse those
last two arguments; the arc should run from 360 to 0.  So:

	0 0 InRadius 360 0 arcn

does what you expect (under Adobe PostScript).

  -=- Andrew Klossner  (andrew@frip.wv.tek.com)
                       (uunet!tektronix!frip.WV.TEK!andrew)
Newsgroups: comp.lang.postscript,misc.books.technical
From: eugene@orville.nas.nasa.gov (Eugene N. Miya)
Subject: Re: `Envisioning Information' ? Book Reference/Review Sought.
Keywords: Envisioning Information
Organization: NAS, NASA Ames Research Center, Moffett Field, CA
Date: Wed, 15 Apr 92 18:37:11 GMT
Distribution: comp

Edward Tufte
Also author of The Quantitative Display of Information. (that right?,
my copy is at home.)  EI represents the leftovers of QD (my opinion).
Both are coffee table data analysis books.  Quite readable.  Very good points.
A bit pricey.  Local discussion preferred Cleveland's analysis book.
I think both are worth a look .  The keyword in both of these Tufte
books is "ducks."  You will only find out what that means by reading them.

--eugene miya, NASA Ames Research Center, eugene@orville.nas.nasa.gov
  Resident Cynic, Rock of Ages Home for Retired Hackers
  {uunet,mailrus,other gateways}!ames!eugene
This is the Usenet: do you expect anything other than gross generalizations?
Ref: Books IN print.
From: bf148@cleveland.Freenet.Edu (Shad Todd)
Newsgroups: comp.lang.postscript
Subject: Re: Printing n1-n2 pages of a file?
Date: 11 Apr 92 17:58:29 GMT
Article-I.D.: usenet.1992Apr11.175829.8599
Organization: Case Western Reserve University, Cleveland, Ohio, (USA)


Appending this to the beginning of a ps file should work.
-shad
shtodd@vassar.edu
%Note: Append this file to the beginning of any
%      PostScript file to print selected pages.
%      This takes advantage of a bug in PostScript
%      that may (or may not be) fixed anytime soon.
%      Please send improvements to shtodd@vassar.edu. Thanks.

%1 2		%Uncomment to print selected (startpage, endpage)

/selbool false def count 2 eq{/endpage exch def /startpage exch def
/selbool true def}if
/origshowpage /showpage load def /pagenum (000) def
/showpage
	{userdict begin /x 0 def /y 0 def
	/page pagenum cvi 1 add =string cvs def
	/i pagenum cvi 1 add def
	page length 3 exch sub{pagenum x (0) 0 get put /x x 1 add def}repeat
	page length{pagenum x page y get put /x x 1 add def /y y 1 add def}
         repeat
	selbool{i startpage ge i endpage le and {origshowpage}
	{erasepage}ifelse}{origshowpage}ifelse
	end}def
%%End
From: Larry_Phillips@mindlink.bc.ca (Larry Phillips)
Newsgroups: comp.lang.postscript
Subject: Re: Underline font
Date: 11 Apr 92 06:36:27 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

Rich Berlin supplies a 'show-underlined' routine. The fellow who
wanted it said he would like to have an underline that does not
go through the descenders. I have modified Rich's routine, though
some improvement could probably be made to the modification.

---

% show a string, underlined.  Not very fancy, but gets the job done.
 /show-underlined { % string => -
    gsave
        % UnderlinePosition and UnderlineThickness are represented
        % relative to the native font coordinate system, so we need to
        % roll them through FontMatrix
        currentfont begin
            FontInfo begin
                UnderlineThickness UnderlinePosition FontMatrix dtransform
            end
        end
        % (relative) move to UnderlinePosition
        0 exch rmoveto

        % set line width to UnderlineThickness
        setlinewidth

        % find the width of the string and draw a line just that wide
        dup stringwidth rlineto

        % stroke it, using square end caps
        0 setlinecap stroke
    grestore

    % Clear part of the line where the descenders will be
    gsave
        dup
        1.5 setlinewidth 1 setgray
        true charpath stroke
    grestore

    % now (finally) show the string.
    show
} bind def

 /Courier findfont 20 scalefont setfont
50 100 moveto
(Large Eggs with pepper and juicy quince pie) show-underlined

showpage

---
-larry
Newsgroups: comp.lang.postscript,alt.security
From: drd@siia.mv.com (David Dick)
Subject: Re: a safe Postscript interpreter
Organization: Software Innovations, Inc.
Distribution: na
Date: Wed, 15 Apr 92 23:34:42 GMT

In <1992Apr7.181248.28090@rice.edu> pkn@is.rice.edu (Kay Nettle) writes:


>I have just become aware that Postscript can have security holes in
>it, filenameforall, deletefile, renamefile, etc.  Does anyone know of
>a "safe" Postscript interpreter?

>Thanks,
>Kay

>Kay Nettle					internet:pkn@is.rice.edu
>Rice University					bitnet:pkn@rice.edu
>Office of Networking & Computing Systems	phone:713-285-5424

Not to mention viruses carried in fonts...

David Dick
Software Innovations, Inc. [the Software Moving Company]
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: EPS to PS filter wanted.
Date: 8 Apr 92 04:49:19 GMT
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <1992Apr05.015625.29665@microsoft.com> jeffc@microsoft.com (Jeff Carey) writes:
<EPS files that come my way require me to do a
<	xxx yyy translate
<to establish the origin, then a
<	0 0 moveto
<to establish a current point, followed by the EPS file itself, 
<then a
<	showpage
<to kick out the page.

What silly program are you using that is incomplete?  The good ones give you
EPS that will also print.

I have gotten EPS files from the latest Adobe Illustrator on the MAC and they
will print standalone as well as being EPS DSC compliant.
-- 
      harvard\     att!nicmad\          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
                                   brown@wi.extrel.com
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: psroff generates huge files
Date: 7 Apr 92 04:18:21 GMT
Article-I.D.: vidiot.3234
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout

In article <1992Apr03.160755.13148@brtph560.bnr.ca> psycho@brtpa25.bnr.ca (Paul Jezioranski) writes:
<A 25 page man file took up almost 800k of disk space when I "psroff"ed it.
<I checked out the file and it appears that psroff grid maps each character to
<the page as follows:
<
[...]
<
<The words in the sentence above are "of time, people have been". This seems
<very wasteful when compared to another postscript file I have that does 
<sentences/paragraphs like this:
<
<(of time, people have been) 72 712 T
<
<Is there any way to reduce the size of the output file, or am I using an
<outdated version of psroff??

I don't know what the latest version of psroff does (Chris will let us know),
but maybe you could change over to groff, which does what you want and gives
you 100% DWB functions and a few things more.

Personally I believe that old troff programs should be dumped for DWB compatible
programs.  Psroff does work with DWB programs as well.
-- 
      harvard\     att!nicmad\          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
                                   brown@wi.extrel.com
Organization: Arizona State University
Date: Thursday, 9 Apr 1992 13:13:11 MST
From: Ben Goren <AUBXG@ASUACAD.BITNET>
Newsgroups: comp.lang.postscript
Subject:    Ghostscript for Mac?

Is there anybody out there who has ported Ghostscript to the Mac? If
so, where is it available?

Alternately, are there any pd/shareware PostScript interpreters for
the Mac? I'd really like to save some paper....

b&
From: shn@cbnewsj.cb.att.com (steven.h.nurenberg)
Newsgroups: comp.lang.postscript
Subject: looking for color separation s/w
Keywords: color postscript
Date: 14 Apr 92 15:28:06 GMT
Organization: AT&T

I have a postscript file on which some pages contain
color diagrams (they use setrgb to set the color).
I'm looking for software (preferably a C program) that
will do the necessary magic so that my one color page
will come out as 4 color separated pages which I will
output on a Linotronic imagesetter.

			Thx, Steven Nurenberg
From: belonis@phys.washington.edu (Jim Belonis)
Newsgroups: comp.lang.postscript
Subject: PostScript xor of two images wanted
Date: 17 Apr 92 04:42:34 GMT
Article-I.D.: dirac.belonis.703485754
Distribution: na
Organization: University of Washington

I would like to xor two images in PostScript.

I have a black-and-white high-contrast version of a person's portrait
available as a PostScript file using the image operator.
I have an asc2ps conversion of a text file to PostScript.

I would like to xor the two images on a LaserWriter II NTX
in such a way that the text is black in the white areas 
and black in the white areas of the portrait.
This is intended to generate a wallet-sized ASCII chart so I have been
using a small 6-point font.

I can find nothing similar in the PostScript books or in Real World PostScript
nor in the examples I have collected over the years from Usenet.

I have tried various methods of pbmplus and ghostscript
manipulations before sending
the final image to the PostScript printer, but have troubles with
illegible fonts resulting due to the distortions caused by shrinking.
I would think this could be done cleaner and simpler by combining the images
in the printer itself.

I would appreciate it if someone would provide example code that
combines images with an xor function.


--
J.James(Jim)Belonis II, U of Washington Physics Computer Cost Center Manager
belonis@dirac.phys.washington.edu  Internet    Physics Hall FM-15
BELONIS@UWAPHAST BITNET       noon to midnite  U of W, Seattle, WA 98195
24683::PHAST::BELONIS SPAN,HEPNET  7 days      room 32a   (206) 685-8695
Newsgroups: comp.lang.postscript,misc.books.technical