home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18462 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  2.5 KB

  1. 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
  2. From: chuck@gte.com (Chuck Hoffman)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: How to change the font used by ListMgr?
  5. Message-ID: <chuck-161192075312@choffman.gte.com>
  6. Date: 16 Nov 92 13:12:32 GMT
  7. References: <1992Nov13.180213.17821@netcom.com> <Bxo997.ACM@news.cso.uiuc.edu> <1992Nov13.222210.4875@sunspot.noao.edu>
  8. Sender: news@ceylon.gte.com
  9. Followup-To: comp.sys.mac.programmer
  10. Organization: GTE Laboratories
  11. Lines: 52
  12.  
  13. In article <1992Nov13.222210.4875@sunspot.noao.edu>,
  14. bbbehr@sunspot.noao.edu (Bradford B. Behr) wrote:
  15. > I am learning to program the Mac by the seat of my pants (i.e. without
  16. > Inside Macintosh, using only the Inside Mac DA, the Think C example
  17. > programs, and a lot of trial and error) and have been doing OK until I
  18. > wanted to change the display font used by the List Manager routines to
  19. > something other than Chicago (to a font I designed, if it makes any
  20. > difference).
  21.  
  22. The List Manager uses the font already set for the window's grafport.  This
  23. code sets Monaco 9, Plain face:
  24.  
  25. SetPort ( ... windRec.port goes here... );  /* set this as the grafPort */
  26. TextFont(monaco);  /* choose the font... */
  27. TextFace(NIL);  /* ... style, and.. */
  28. TextSize(9);  /* ... size */
  29.  
  30.  
  31. > no ObjOriented or Class Libraries action, just vanilla C.
  32.  
  33. I posted a sample application of this type at sumex-aim and umich archives.
  34.  List manager is used in the Help routines.  It's called Chassis 4.3.1. 
  35. You may want to take a look at it.  It was written with THINK C 5.0.x; I've
  36. never tried to compile it with 4.0.
  37.  
  38. You can also ftp it from here, ftp.gte.com.  Use directory /pub/chuck.
  39.  
  40. > I am on top of a mountain for the next few months, with nary a Mac
  41. > reference in sight.
  42.  
  43. I'll bet you could get the mail order places to deliver.  There are many
  44. good ones.  The number of one of them is 800-800-4444 (MacConnection). 
  45. MacConnection uses photos of actual customers in unusual locations for
  46. their ads.  Considering where you are, you might attract their interest if
  47. you want to be in one.
  48.  
  49. > Mucho danke,
  50. > Brad
  51.  
  52. Saaaay!  Bilingual dude.  Mucho gut, homey!
  53.  
  54.  
  55. Chuck Hoffman
  56. chuck@gte.com
  57. GTE Laboratories, Waltham, Massachusetts, USA
  58. (617) 466-2131
  59. =====================================
  60. I'm not sure why we're here, but I am sure that while we're here we're
  61. supposed to help each other.
  62. =====================================
  63.