Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Font aliases under Ultrix 4.2
@ 1991-07-17 17:25 James E. Royea
  1991-07-17 22:20 ` George Robbins
  1991-07-21 19:33 ` Michel Fingerhut
  0 siblings, 2 replies; 6+ messages in thread
From: James E. Royea @ 1991-07-17 17:25 UTC (permalink / raw)


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/

Is there a bug, or have I just missed something important.  I have tried 
xset fp rehash and restarting the session to no avail.  Any help would be
greatly appreciated.  Thanks in advance

	-Jamie

			(jroyea@wpi.wpi.edu or jroyea@park.kodak.com)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Font aliases under Ultrix 4.2
  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
                     ` (2 more replies)
  1991-07-21 19:33 ` Michel Fingerhut
  1 sibling, 3 replies; 6+ messages in thread
From: George Robbins @ 1991-07-17 22:20 UTC (permalink / raw)


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 ran across this, but wasn't sure if my fingerers had trembled during
installation or the was a problem with the provided fonts.

This kept us from evaulating/purchasing an major X application that
*expected* the standard MIT fonts...

Does anyone have the correct info?

-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr@cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Font aliases under Ultrix 4.2
  1991-07-17 22:20 ` George Robbins
@ 1991-07-18  2:33   ` Andreas Stolcke
  1991-07-18  3:12   ` bradley g wherry
  1991-07-18 16:33   ` Ethan Merritt
  2 siblings, 0 replies; 6+ messages in thread
From: Andreas Stolcke @ 1991-07-18  2:33 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Font aliases under Ultrix 4.2
  1991-07-17 22:20 ` George Robbins
  1991-07-18  2:33   ` Andreas Stolcke
@ 1991-07-18  3:12   ` bradley g wherry
  1991-07-18 16:33   ` Ethan Merritt
  2 siblings, 0 replies; 6+ messages in thread
From: bradley g wherry @ 1991-07-18  3:12 UTC (permalink / raw)


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.
>Does anyone have the correct info?
>
>-- 
>George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
>but no way officially representing:   domain: grr@cbmvax.commodore.com
>Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)
>

try:

mv /usr/lib/X11/fonts/MIT/fonts.alias \
   /usr/lib/X11/fonts/MIT/fonts.alias.orig

cp /usr/lib/X11/fonts/MIT/fonts.alias-mit \
   /usr/lib/X11/fonts/MIT/fonts.alias

Mebee you've already done this.  I had to do this shortly after installing
UWS 4.2 because some things were totally hosed.

FWIW, I DONT work for the Ultrix group.

User beware, I don't promise this will solve your problem and I am definately
not officially speaking for DEC.

--
brad wherry                |  Ex ignorantia ad sapientiam; 
wherry@alazif.cxo.dec.com  |     e luce ad tenebras.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Font aliases under Ultrix 4.2
  1991-07-17 22:20 ` George Robbins
  1991-07-18  2:33   ` Andreas Stolcke
  1991-07-18  3:12   ` bradley g wherry
@ 1991-07-18 16:33   ` Ethan Merritt
  2 siblings, 0 replies; 6+ messages in thread
From: Ethan Merritt @ 1991-07-18 16:33 UTC (permalink / raw)


>In article <1991Jul17.172503.24850@kodak.kodak.com> jroyea@itu205.kodak.com (James E. Royea) writes:
>> 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.

	I can't explain the full behaviour, but perhaps the following will
allow you a work-around.  I have no trouble with the MIT fonts under 4.1/4.2
on a 5000/200.  /usr/lib/X11/fonts/MIT/fonts.dir contains lines like:
	8x13.pcf	8x13
	8x13bold.pcf	8x13bold
/usr/lib/X11/fonts/MIT/fonts.alias contains lines like:
	vtbold		8x13bold

The longest description of fontpath behaviour (not that I understand it all ;-)
is in the Ultrix release notes section 4.3.  Note that you should be able to
get what you want by placing the single line "FILE_NAMES_ALIASES" in file
fonts.aliases.  Also note that there is a dxmkfontdir which for all I know may
do things differently than the MIT mkfontdir.  I don't recall running either
of them; I just took the files as they came on the distribution tape.

						Ethan A Merritt
--------------------------------------------------------------------
Dept of Biological Structure                H510 Health Sciences
University of Washington SM-20              (206)543-1421 / 543-8865
Seattle, WA 98195                           merritt@u.washington.edu
--------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Font aliases under Ultrix 4.2
  1991-07-17 17:25 Font aliases under Ultrix 4.2 James E. Royea
  1991-07-17 22:20 ` George Robbins
@ 1991-07-21 19:33 ` Michel Fingerhut
  1 sibling, 0 replies; 6+ messages in thread
From: Michel Fingerhut @ 1991-07-21 19:33 UTC (permalink / raw)


I had the same problem James E. Royea describes.  I got around it by adding
the "FILE_NAMES_ALIASES" word as the first line of the fonts.alias file.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1991-07-21 19:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1991-07-18  3:12   ` bradley g wherry
1991-07-18 16:33   ` Ethan Merritt
1991-07-21 19:33 ` Michel Fingerhut

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