Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!decvax!decwrl!bolt.dec.com!minow
From: minow@bolt.dec.com
Newsgroups: comp.sys.atari.st
Subject: How do I change fonts?
Message-ID: <6972@decwrl.DEC.COM>
Date: Wed, 17-Dec-86 09:44:14 EST
Article-I.D.: decwrl.6972
Posted: Wed Dec 17 09:44:14 1986
Date-Received: Thu, 18-Dec-86 02:10:31 EST
Sender: daemon@decwrl.DEC.COM
Organization: Digital Equipment Corporation
Lines: 24

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