home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6131 < prev    next >
Encoding:
Text File  |  1992-09-12  |  1.5 KB  |  55 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!smurf.sub.org!nadia!xenon!alf
  3. From: Ingo Feulner <alf@xenon.stgt.sub.org>
  4. Subject: Re: PSsetfont
  5. References: <1992Sep11.160744.2376@axion.bt.co.uk>
  6. Message-ID: <1992Sep12.080821.3207@xenon.stgt.sub.org>
  7. Reply-To: Ingo Feulner <alf@xenon.stgt.sub.org>
  8. Organization: Private System - Boeblingen, Germany
  9. Sender: alf@xenon.stgt.sub.org (Ingo Feulner)
  10. Date: Sat, 12 Sep 1992 08:08:21 GMT
  11. X-Bytes: 1022
  12. Lines: 42
  13.  
  14. In article <1992Sep11.160744.2376@axion.bt.co.uk> agray@axion.bt.co.uk (Andy  
  15. Gray) writes:
  16. > Having a slight problem with PSsetfont and I can't find the answer on my  
  17. system,
  18. > can anyone help?
  19. > The raw PostScript required is
  20. >     /Times-Roman findfont 12 scalefont setfont
  21. > I can wrap this as
  22. >     defineps tm12()
  23. >         /Times-Roman findfont 12 scalefont setfont
  24. >     endps
  25. > but would like to code it inline as
  26. >     PSfindfont("Times-Roman");
  27. >     PSscalefont(12.0);
  28. >     PSsetfont(???);
  29. > The last line is the one that causes me grief. I'm supposed to send it a
  30. > reference, any clues?
  31.  
  32. What about
  33.     myFont = [Font newFont:"Helvetica-Bold" size:18.0 style:0 
  34.                   matrix:NX_FLIPPEDMATRIX];
  35.  
  36. and then
  37.     [myFont set];
  38.     PSmoveto(x, y);
  39.     PSshow("urgl");
  40. ?
  41.  
  42. Greetings, Ingo.
  43. -- 
  44. Ingo Feulner - Wolfacher Weg 22 - 7030 Boeblingen - alf@xenon.stgt.sub.org
  45.                                   ---
  46.   "Scheisse." - "Was?" - "Ne Streife." - "Nein." - "Doch." - "Scheisse."
  47.                             (Blues Brothers)
  48.