[comp.windows.x] ET++ and X fonts

ctw@cns.umist.ac.uk (Colin Walls) (02/27/91)

I have just built version 2.2 of ET++ for use under X. Things go fine until
I attempt to include the ET++ fonts directory in my font path. I get the
following results:

xset +fp /usr/lib/X11/fonts/et
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

Debugging xset shows the error to occur in XCloseDisplay. Before I
have to start debugging Xlib, has anyone any idea about the above 
error message?

-- 
Colin Walls          | Janet:  Colin@uk.ac.umist
UMIST, Manchester    | DARPA:  Colin@umist.ac.uk
ENGLAND.             | "Half-owre, Half-owre to Aberdour,
Tel. +44-61-200-3540 |  'Tis fifty fathoms deep"

mouse@lightning.mcrcim.mcgill.EDU (03/02/91)

> I have just built version 2.2 of ET++ for use under X.  Things go
> fine until I attempt to include the ET++ fonts directory in my font
> path.  I get the following results:

> xset +fp /usr/lib/X11/fonts/et
> 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

> Debugging xset shows the error to occur in XCloseDisplay.

Or rather, that's where it's noticed.  X is asynchronous, remember.

> Before I have to start debugging Xlib, has anyone any idea about the
> above error message?

Debugging Xlib is almost certainly useless; this error is being
detected by the server.  Were I to take a guess, I would say that
either (a) you haven't (re)run mkfontdir in the directory for the new
fonts or (b) you've forgotten that font directories must be paths *as
seen by the server* (whether clients can access the font directory
makes no difference).

					der Mouse

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