home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / atari / st / tech / 6316 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.6 KB

  1. Path: sparky!uunet!haven.umd.edu!purdue!ames!sun-barr!olivea!charnel!sifon!homer.cs.mcgill.ca!bpat
  2. From: bpat@cs.mcgill.ca (Patrick BETREMIEUX)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Re: Looking For 8x8 Font BitMap
  5. Message-ID: <BzEnv4.Ky5@cs.mcgill.ca>
  6. Date: 17 Dec 92 13:23:27 GMT
  7. References: <1gig8gINNcnt@falcon.natinst.com>
  8. Sender: news@cs.mcgill.ca (Netnews Administrator)
  9. Distribution: usa
  10. Organization: SOCS - McGill University, Montreal, Canada
  11. Lines: 24
  12.  
  13. In article <1gig8gINNcnt@falcon.natinst.com> glens@natinst.com (Glen Sescila) writes:
  14. >    Is there anyway that I can get TOS to give me a pointer to its 8x8
  15. >character set?  I could not find any such call in the GEMDOS or BIOS manuals
  16. >and I don't think that any of the text-output calls will work for my
  17. >application.  Or if anybody has an 8x8 character set that they would like to
  18. >donate just e-mail it to me (although this will make my application 2K
  19. >bigger and I am already requiring a 2Meg machine, and I haven't added sound
  20. >yet :-/ ).
  21. >
  22. >Thanks.
  23.  
  24. I see two ways of doing it :
  25.  
  26. 1) Line-A (I can hear those cries of agony already :-)
  27.    When you call init ($A000), it will return in A1 the address to a table
  28.    containing the addresses of the system fonts.
  29.    the first is the 6x6, next 8x8 and finaly 16x8
  30.  
  31. 2) Tell me if I'm wrong, but won't vst_loadfont give you the address to the
  32.    header ? If so, just call it with value 0 (System font), and size 7 (No,
  33.    not 8, as it measures it from the character's baseline, not the whole
  34.    height). At least, this one would be perfectly legal (GEM !!).
  35.  
  36.                     Patrick.
  37.