Discussion:
set error
Antonio D'Ambrosio/SLF
2005-09-14 11:57:13 UTC
Permalink
Hi,
I am trying to set font path with the command

xset fp+ /usr/X11R6/lib/X11/fonts/Type1/

as root user but I have the following error:

X Error of failed request: 86
Major opcode of failed request: 51 (X_SetFontPath)
Serial number of failed request: 9
Current serial number in output stream: 11

My computer is:
Red Hat Advanced Server release 2.1 AS Linux 2.4.9-e.40

Any ideas ?

Thank you in advance!
James Cloos
2005-10-05 06:39:46 UTC
Permalink
Antonio> Hi, I am trying to set font path with the command

Antonio> xset fp+ /usr/X11R6/lib/X11/fonts/Type1/

Antonio> as root user but I have the following error:

Make sure you have a valid fonts.dir file in that directory. An error
of that sort usually means the fonts.dir file is missing or corrupt.

If fonts.dir is OK, a corrupt fonts.alias *might* also trigger an
error from the server. The dir does not require a fonts.alias file,
but if it does exist I suspect it needs to be valid.

Since it is a dir of type1 fonts, you can run:

mkfontscale && mkfontdir

in that dir (as root) to create a fonts.dir if necessary.

-JimC
--
James H. Cloos, Jr. <***@jhcloos.com>
Loading...