home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!axion!agray
- From: agray@axion.bt.co.uk (Andy Gray)
- Newsgroups: comp.sys.next.programmer
- Subject: PSsetfont
- Message-ID: <1992Sep11.160744.2376@axion.bt.co.uk>
- Date: 11 Sep 92 16:07:44 GMT
- Sender: news@axion.bt.co.uk
- Organization: BT Laboratories
- Lines: 25
-
- Having a slight problem with PSsetfont and I can't find the answer on my system,
- can anyone help?
-
- The raw PostScript required is
-
- /Times-Roman findfont 12 scalefont setfont
-
- I can wrap this as
-
- defineps tm12()
- /Times-Roman findfont 12 scalefont setfont
- endps
-
- but would like to code it inline as
-
- PSfindfont("Times-Roman");
- PSscalefont(12.0);
- PSsetfont(???);
-
- The last line is the one that causes me grief. I'm supposed to send it a
- reference, any clues?
-
- Thanks
-
- Andy Gray
-