home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!smurf.sub.org!nadia!xenon!alf
- From: Ingo Feulner <alf@xenon.stgt.sub.org>
- Subject: Re: PSsetfont
- References: <1992Sep11.160744.2376@axion.bt.co.uk>
- Message-ID: <1992Sep12.080821.3207@xenon.stgt.sub.org>
- Reply-To: Ingo Feulner <alf@xenon.stgt.sub.org>
- Organization: Private System - Boeblingen, Germany
- Sender: alf@xenon.stgt.sub.org (Ingo Feulner)
- Date: Sat, 12 Sep 1992 08:08:21 GMT
- X-Bytes: 1022
- Lines: 42
-
- In article <1992Sep11.160744.2376@axion.bt.co.uk> agray@axion.bt.co.uk (Andy
- Gray) writes:
- > 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?
-
- What about
- myFont = [Font newFont:"Helvetica-Bold" size:18.0 style:0
- matrix:NX_FLIPPEDMATRIX];
-
- and then
- [myFont set];
- PSmoveto(x, y);
- PSshow("urgl");
- ?
-
- Greetings, Ingo.
- --
- Ingo Feulner - Wolfacher Weg 22 - 7030 Boeblingen - alf@xenon.stgt.sub.org
- ---
- "Scheisse." - "Was?" - "Ne Streife." - "Nein." - "Doch." - "Scheisse."
- (Blues Brothers)
-