Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!prls!pyramid!oliveb!amiga!cbmvax!cbmehq!cbmdeo!lckaos!lclausen From: lclausen@lckaos.UUCP (Lars R. Clausen) Newsgroups: comp.sys.amiga.tech Subject: Re: Loading a DiskFont Message-ID: Date: 8 Sep 90 13:33:53 GMT References: <^*}%^D+@masalla.fulcrum.bt.co.uk> <33534@cup.portal.com> Lines: 21 >In article <33534@cup.portal.com> Bits_of_Magic@cup.portal.com writes: >I am successfully loading and using a disk font, but this product will >invariably end up on the machines of people with hard disks (like me) >and it seems unnecesarily complicated to ask someone to put a font for >a game into their Fonts directory on their hard disk. Is there a way >to Assign a new fonts directory from within my program, then restore >the old Assign before I exit? I am using Lattice C 5.04. Or even better, assign Fonts: to where you want it, load the font, then reassign to the original Fonts:. We've run into exactly the same problem, and we don't want Fonts: to be changed all the time, as other programs might want it. Changing it only as long as it takes to load the font minimizes the risc of a collision. I'd like to hear any suggestions, too. -- +-----------------------------------------------------+---------------+ | Lars R. Clausen (Fido: 2:230/22.34) | Gnoshallasim- | | ..{pyramid|rutgers}!cbmvax!cbmehq!lckaos!lclausen | bosh: The one | | 8215693 Gnoshallasimbosh Gnome Mage 99 Ripe Old Age |<-that won in | | Claimer: Representing Sirius Cybernetics Coperation | Moria! | +-----------------------------------------------------+---------------+