Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!think!ames!oliveb!amiga!kodiak From: kodiak@amiga.UUCP (Robert R. Burns) Newsgroups: comp.sys.amiga.tech Subject: Re: Enhancing Amiga Fonts, Multiple Font Disks Summary: Changes coming for 1.3 Message-ID: <2119@amiga.UUCP> Date: 19 May 88 00:48:48 GMT References: <880516163456.013@Ins.MRC.AdhocNet.CA> Reply-To: kodiak@tooter.UUCP (Robert Burns) Organization: Commodore-Amiga Inc, Los Gatos CA Lines: 49 In article <880516163456.013@Ins.MRC.AdhocNet.CA> svermeulen%Ins.MRC.AdhocNet.CA@UNCAEDU.BITNET (Steve Vermeulen) writes: > REN is a CLI based utility program for the Amiga that exploits > a little understood feature of the Amiga Font System to allow > the font data files to be placed elsewhere than in the default > FONTS: directory. This is great. I'm glad you took the opportunity to make use of the obscure implications of the font contents file (the .font file). There are a couple of things that come with 1.3 that y'all should know about. They do not adversly affect REN. 1. The 1.3 disk contains the "FixFonts" utility, that will (with the 1.3 diskfont.library), search drawers in the FONTS: drawer for valid fonts and build appropriate font contents files, so instead of... >Examples: > > To change the working name of the Garnet family of fonts to another > name (let's use Xyzzy) several things must be done. The following > is the complete list of things that must be done: > > rename FONTS:Garnet FONTS:Xyzzy > rename FONTS:Garnet.font FONTS:Xyzzy.font > ren FONTS:Xyzzy.font Xyzzy > > This will just change the name of the Garnet font to be the Xyzzy > font. ...you can rename FONTS:garnet FONTS:xyzzy delete FONTS:garnet.font FixFonts Note that the capitalization of the font name will come from the directory name. You could also, prior to FixFonts invocation, alter the contents of the font directory, e.g. delete some of the sizes, and FixFonts will create an appropriate .font file. 2. Programmers have always been able to say OpenDiskFont("MyApp:fonts/myapp.font", &textAttr); For 1.2 and earlier, the file name in myapp.font that referred to the font file itself was opened relative to FONTS:. For 1.3, it is opened relative to MyApp:fonts. REN's capability to move the font directories elsewhere than the FONTS: drawer is a feature not affected by or supplanted by 1.3 system tools. - Kodiak