Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke)
Subject: Re: Font aliases under Ultrix 4.2
Date: 18 Jul 91 02:33:45 GMT	[thread overview]
Message-ID: <1991Jul18.023345.21923@agate.berkeley.edu> (raw)
In-Reply-To: 23190@cbmvax.commodore.com

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


  reply	other threads:[~1991-07-18  2:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-07-17 17:25 Font aliases under Ultrix 4.2 James E. Royea
1991-07-17 22:20 ` George Robbins
1991-07-18  2:33   ` Andreas Stolcke [this message]
1991-07-18  3:12   ` bradley g wherry
1991-07-18 16:33   ` Ethan Merritt
1991-07-21 19:33 ` Michel Fingerhut
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox