xset: bad font path element (#58), possible causes are:

J S vervoom@hotmail.com
Thu Apr 21 13:21:00 GMT 2005


Hi,

Could anyone help me out please? I'm trying to add another path to my 
fontpath but keep getting the following error:

$ xset fp+ /usr/x11r6/lib/x11/fonts/test
xset:  bad font path element (#58), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax

I know the directory exists, it has full permissions, it has fonts.dir, and 
the syntax seems to be right, so I'm not sure what the problem is. Nothing's 
showing up in the xwin.log either.

Here's my configuration:

XFree86-base         4.3.0-11
XFree86-bin          4.3.0-21
XFree86-etc          4.3.0-12
XFree86-fenc         4.3.0-2
XFree86-fnts         4.3.0-2
XFree86-lib          4.3.0-3
XFree86-lib-compat   4.3.0-2
XFree86-prog         4.3.0-21
XFree86-xserv        4.3.0-68
xorg-x11-base        6.8.2.0-1
xorg-x11-bin         6.8.2.0-1
xorg-x11-bin-dlls    6.8.2.0-1
xorg-x11-bin-lndir   6.8.2.0-1
xorg-x11-devel       6.8.2.0-2
xorg-x11-etc         6.8.2.0-1
xorg-x11-f100        6.8.1.0-3
xorg-x11-fcyr        6.8.1.0-2
xorg-x11-fenc        6.8.1.0-2
xorg-x11-fnts        6.8.1.0-3
xorg-x11-fscl        6.8.1.0-2
xorg-x11-libs-data   6.8.2.0-1
xorg-x11-xwin        6.8.2.0-1


This is how I created the new font directory:

$ mkdir -p test

$ ls -ld test
drwxrwxrwx  2 D752359 mkgroup_l_d 0 Apr 21 13:50 test

I added a fonts.alias file in there:

$ mkaliasfont helvetica arial > fonts.alias
+ [ 2 -ne 2 ]
+ xlsfonts
+ grep ^-[^-]*-helvetica-
+ sed -e s/^-[^-]*\(-helvetica\(-.*\)\)$/-compat-arial\2 -*\1/

$ head fonts.alias
-compat-arial-bold-o-normal--0-0-100-100-p-0-iso10646-1 
-*-helvetica-bold-o-norm
al--0-0-100-100-p-0-iso10646-1
-compat-arial-bold-o-normal--0-0-100-100-p-0-iso8859-1 
-*-helvetica-bold-o-norma
l--0-0-100-100-p-0-iso8859-1
-compat-arial-bold-o-normal--0-0-100-100-p-0-iso8859-10 
-*-helvetica-bold-o-norm
al--0-0-100-100-p-0-iso8859-10
-compat-arial-bold-o-normal--0-0-100-100-p-0-iso8859-13 
-*-helvetica-bold-o-norm
al--0-0-100-100-p-0-iso8859-13
-compat-arial-bold-o-normal--0-0-100-100-p-0-iso8859-14 
-*-helvetica-bold-o-norm
al--0-0-100-100-p-0-iso8859-14
-compat-arial-bold-o-normal--0-0-100-100-p-0-iso8859-15 
-*-helvetica-bold-o-norm
al--0-0-100-100-p-0-iso8859-15


$ xset q fp
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  auto repeat delay:  500    repeat rate:  31
  auto repeating keys:  00ffffffdffffbbf
                        fadfffdfffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0    WhitePixel:  16777215
Font Path:
  
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X1
1/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
Bug Mode: compatibility mode is disabled

$ mkfontdir /usr/x11r6/lib/x11/fonts/test

$ ls /usr/x11r6/lib/x11/fonts/test
fonts.alias  fonts.dir

And after this I get the error trying to add the path. What is an error 58?

Thanks for any help.

JS.




More information about the Cygwin-xfree mailing list