🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #958

PSsetfont

#958
From: Andy Gray
Date: Fri, 11 Sep 1992 16:07
25 lines
805 bytes
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
Technical Details
Message-ID: <1992Sep11.160744.2376@axion.bt.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!axion!agray

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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