Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!lll-winken!ames!bionet!arisia!roo!holmes.Xerox.COM!janssen From: janssen@parc.Xerox.COM (Bill Janssen) Newsgroups: comp.windows.x Subject: Re: User definable font aliases Message-ID: <278@roo.UUCP> Date: 11 Apr 90 05:20:17 GMT References: <9004091651.AA23169@lyre.MIT.EDU> Sender: news@parc.xerox.com Lines: 26 You should be able to create a new directory, put a fonts.alias file in it, index it (just run mkfontdir?), and add it to your font path. I don't think the fonts.alias file needs to refer to a font in the current directory. (Wait... let me try it...) Yep: 2 % cd 3 % xlsfonts 'foobar' xlsfonts: pattern "foobar" unmatched 4 % mkdir myfonts 5 % cd myfonts 6 % echo 'foobar -b&h-lucida-bold-i-normal-sans-8-80-75-75-p-49-iso8859-1' >fonts.alias 7 % mkfontdir 8 % xset fp+ ~/myfonts 9 % xlsfonts 'foobar' foobar 10 % -- Bill Janssen janssen.pa@xerox.com (415) 494-4763 Xerox Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto, California 94304