[comp.sys.atari.st] How do I change fonts?

minow@bolt.dec.com (12/17/86)

I would like to print text using the built-in 6x6 font (and eventually
using a home-made font).  Do I have to carry around "all" the GEM
baggage, or is there some "simple" Bios call to switch fonts?

I.e. what I want to do is

	struct font_info {
	  ?* lots of stuff, properly initialized */
	} myfont;

	magic(&myfont);			/* Tell TOS to use my font	*/
	printf("Hello world\n");
	magic(&systemfont);		/* Tell TOS to use normal font	*/

Extended as necessary.

Has anyone solved this problem?

Thanks for your help.

Martin Minow

decvax!minow
minow%thundr.dec@decwrl.dec.com