From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,7770cad9c7896119 X-Google-Attributes: gid103734,public X-Google-Thread: 10b612,7770cad9c7896119 X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,7770cad9c7896119 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-07-18 00:43:11 PST Path: gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!ucbvax!agate!stolcke From: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke) Newsgroups: comp.unix.ultrix,comp.windows.x,comp.sys.dec Subject: Re: Font aliases under Ultrix 4.2 Message-ID: <1991Jul18.023345.21923@agate.berkeley.edu> Date: 18 Jul 91 02:33:45 GMT References: <1991Jul17.172503.24850@kodak.kodak.com> <23190@cbmvax.commodore.com> Sender: usenet@agate.berkeley.edu (USENET Administrator) Reply-To: stolcke@icsi.Berkeley.EDU (Andreas Stolcke) Organization: International Computer Science Institute, Berkeley, CA Xref: gmdzi comp.unix.ultrix:46907 comp.windows.x:94718 comp.sys.dec:24847 In article <23190@cbmvax.commodore.com> grr@cbmvax.commodore.com (George Robbins) writes: >In article <1991Jul17.172503.24850@kodak.kodak.com> jroyea@itu205.kodak.com (James E. Royea) writes: >> I am using a DECstation 5000-200 which is runing Ultrix 4.2 and the standard >> DECwindows that comes with it. (Xm2d) I am trying to set up some aliases for >> fonts and I cannot get the server to recognize them. Here is a description of >> where everything is and what I have done. If I have missed something, please >> let me know. For this example I am using the alias 8x13 since this is the >> font that one of my applications is looking for. >> >> In the directory /usr/lib/X11/fonts/MIT/ there is a file: >> -rw-r--r-- 1 root 6028 Apr 1 16:43 8x13.pcf >> >> I did a mkfontdir and got an entry in the fonts.dir file: >> 8x13.pcf -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1 >> >> If I use the -misc-fixed... definition, it works fine, but I also have an >> entry in the fonts.alias file: >> 8x13 -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1 >> >> With this entry, 8x13 should work, right? Well, nothing can find the font. >> Also, when I do a xset -q I get this for a font path: >> Font Path: >> /usr/lib/X11/fonts/decwin/100dpi/,/usr/lib/X11/fonts/MIT/ >> > >I think the control information for this and 8x13bold are screwed up such >that you get some kind of "duplicate" error message when you try to make >the font directory. I'm not sure this is relevant to the problem, but I recall a problem with the DECwindows server provided with Ultrix4.0. Contrary to what the MIT server does, it ignores any font aliases when the target font name is not already known at that point in the font path. In the case above, any font aliases in the fonts/devwin/100dpi directory that refer to fonts found in the fonts/MIT directory will not take effect. You'd have to switch the order of directories. -- Andreas Stolcke stolcke@icsi.berkeley.edu International Computer Science Institute stolcke@ucbicsi.bitnet 1947 Center St., Suite 600, Berkeley, CA 94704 (415) 642-4274 ext. 126