home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!samsung!nighthawk.clearpoint.com!transfer.stratus.com!ceylon!choffman.gte.com!user
- From: chuck@gte.com (Chuck Hoffman)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: How to change the font used by ListMgr?
- Message-ID: <chuck-161192075312@choffman.gte.com>
- Date: 16 Nov 92 13:12:32 GMT
- References: <1992Nov13.180213.17821@netcom.com> <Bxo997.ACM@news.cso.uiuc.edu> <1992Nov13.222210.4875@sunspot.noao.edu>
- Sender: news@ceylon.gte.com
- Followup-To: comp.sys.mac.programmer
- Organization: GTE Laboratories
- Lines: 52
-
- In article <1992Nov13.222210.4875@sunspot.noao.edu>,
- bbbehr@sunspot.noao.edu (Bradford B. Behr) wrote:
- >
- > I am learning to program the Mac by the seat of my pants (i.e. without
- > Inside Macintosh, using only the Inside Mac DA, the Think C example
- > programs, and a lot of trial and error) and have been doing OK until I
- > wanted to change the display font used by the List Manager routines to
- > something other than Chicago (to a font I designed, if it makes any
- > difference).
-
- The List Manager uses the font already set for the window's grafport. This
- code sets Monaco 9, Plain face:
-
- SetPort ( ... windRec.port goes here... ); /* set this as the grafPort */
- TextFont(monaco); /* choose the font... */
- TextFace(NIL); /* ... style, and.. */
- TextSize(9); /* ... size */
-
-
- > no ObjOriented or Class Libraries action, just vanilla C.
-
- I posted a sample application of this type at sumex-aim and umich archives.
- List manager is used in the Help routines. It's called Chassis 4.3.1.
- You may want to take a look at it. It was written with THINK C 5.0.x; I've
- never tried to compile it with 4.0.
-
- You can also ftp it from here, ftp.gte.com. Use directory /pub/chuck.
-
- > I am on top of a mountain for the next few months, with nary a Mac
- > reference in sight.
-
- I'll bet you could get the mail order places to deliver. There are many
- good ones. The number of one of them is 800-800-4444 (MacConnection).
- MacConnection uses photos of actual customers in unusual locations for
- their ads. Considering where you are, you might attract their interest if
- you want to be in one.
-
- >
- > Mucho danke,
- > Brad
-
- Saaaay! Bilingual dude. Mucho gut, homey!
-
-
- Chuck Hoffman
- chuck@gte.com
- GTE Laboratories, Waltham, Massachusetts, USA
- (617) 466-2131
- =====================================
- I'm not sure why we're here, but I am sure that while we're here we're
- supposed to help each other.
- =====================================
-