home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6110 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  770 b 

  1. Path: sparky!uunet!mcsun!uknet!axion!agray
  2. From: agray@axion.bt.co.uk (Andy Gray)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: PSsetfont
  5. Message-ID: <1992Sep11.160744.2376@axion.bt.co.uk>
  6. Date: 11 Sep 92 16:07:44 GMT
  7. Sender: news@axion.bt.co.uk
  8. Organization: BT Laboratories
  9. Lines: 25
  10.  
  11. Having a slight problem with PSsetfont and I can't find the answer on my system,
  12. can anyone help?
  13.  
  14. The raw PostScript required is
  15.  
  16.     /Times-Roman findfont 12 scalefont setfont
  17.  
  18. I can wrap this as
  19.  
  20.     defineps tm12()
  21.         /Times-Roman findfont 12 scalefont setfont
  22.     endps
  23.  
  24. but would like to code it inline as
  25.  
  26.     PSfindfont("Times-Roman");
  27.     PSscalefont(12.0);
  28.     PSsetfont(???);
  29.  
  30. The last line is the one that causes me grief. I'm supposed to send it a
  31. reference, any clues?
  32.  
  33. Thanks
  34.  
  35. Andy Gray
  36.