[comp.windows.x] xset +fp gives X Error

lazlor@si.ucsc.EDU (Allen) (05/06/91)

We are running X11R4, under SunOs4.1.1 on Sparcs and 4.01 on sun 3/50's.

When I issue the following xset command (xset +fp) I get an X Error.

Sorry, don't know the patchlevel we are running at. Anyone have any idea?
Is this an old problem since patched?

Thanks in advance,
Allen Smith
-script-

cats% xset -display bill:0 +fp /cats/lazlor/Etc
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  51 (X_SetFontPath)
  Minor opcode of failed request:  0
  Resource id in failed request:  0x0
  Serial number of failed request:  4
  Current serial number in output stream:  6

Reply to: lazlor@cats.UCSC.EDU 

mouse@lightning.mcrcim.mcgill.EDU (der Mouse) (05/08/91)

> We are running X11R4, under SunOs4.1.1 on Sparcs and 4.01 on sun 3/50's.

> When I issue the following xset command (xset +fp) I get an X Error.

> cats% xset -display bill:0 +fp /cats/lazlor/Etc
> X Error of failed request:  BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  51 (X_SetFontPath)
>   Minor opcode of failed request:  0
>   Resource id in failed request:  0x0

For MIT X, this error from a SetFontPath request means that the server
didn't like the pathname you gave it.  Most likely your server is
running on another machine, with a different view of the filesystem.
The path you give to xset must be a pathname in the filesystem *as seen
by the server*.

Yes, this means that under some circumstances you simply cannot add
fonts to the server.  That is one of the unfortunate consequences of
the current font mechanisms.  From Jim Getty's talk at the X conference
last January, I get the impression R5 is expected to contain mechanisms
that will help cure this situation.  (No, I don't know when R5 will be
out.  All anyone was saying was "this yearish".)

Another possible reason for this error is that the directory doesn't
contain a valid fonts.dir file.  You did run mkfontdir, I hope?

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu