Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2014 13:29:55 +0100 (BST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        bah@bananmonarki.se, freebsd-questions@freebsd.org, mexas@bris.ac.uk
Subject:   Re: after latest Xorg update: Could not init font path element /usr/local/lib/X11/fonts/100dpi/, removing from list!
Message-ID:  <201404301229.s3UCTtqk005949@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <5360EA19.4010206@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
>From bah@bananmonarki.se Wed Apr 30 13:26:35 2014
>
>On 2014-04-29 15:03, Anton Shterenlikht wrote:
>>
>> Hi
>>
>> I just updated Xorg to:
>>
>> # pkg info -xo xor
>> xorg-fonts-7.7                 x11-fonts/xorg-fonts
>> xorg-fonts-100dpi-7.7          x11-fonts/xorg-fonts-100dpi
>> xorg-fonts-75dpi-7.7           x11-fonts/xorg-fonts-75dpi
>> xorg-fonts-cyrillic-7.7        x11-fonts/xorg-fonts-cyrillic
>> xorg-fonts-miscbitmaps-7.7     x11-fonts/xorg-fonts-miscbitmaps
>> xorg-fonts-truetype-7.7_1      x11-fonts/xorg-fonts-truetype
>> xorg-fonts-type1-7.7           x11-fonts/xorg-fonts-type1
>> xorg-macros-1.19.0             devel/xorg-macros
>> xorg-server-1.12.4_7,1         x11-servers/xorg-server
>> #
>>
>> With the old /etc/X11/xorg.conf, I get these problems:
>>
>> [  1636.088] [dix] Could not init font path element /usr/local/lib/X11/fonts/mis
>> c/, removing from list!
>> [  1636.089] [dix] Could not init font path element /usr/local/lib/X11/fonts/TTF
>> /, removing from list!
>> [  1636.091] [dix] Could not init font path element /usr/local/lib/X11/fonts/OTF
>> , removing from list!
>> [  1636.091] [dix] Could not init font path element /usr/local/lib/X11/fonts/Typ
>> e1/, removing from list!
>> [  1636.092] [dix] Could not init font path element /usr/local/lib/X11/fonts/100
>> dpi/, removing from list!
>> [  1636.093] [dix] Could not init font path element /usr/local/lib/X11/fonts/75d
>> pi/, removing from list!
>> [  1636.094] [dix] Could not init font path element /usr/local/lib/X11/fonts/ter
>> minus-font/, removing from list!
>> [  1636.094] [dix] Could not init font path element /usr/local/lib/X11/fonts/dej
>> avu/, removing from list!
>> [  1636.095] [dix] Could not init font path element /usr/local/lib/X11/fonts/mis
>> c/, removing from list!
>> [  1636.095] [dix] Could not init font path element /usr/local/lib/X11/fonts/TTF
>> /, removing from list!
>> [  1636.095] [dix] Could not init font path element /usr/local/lib/X11/fonts/OTF
>> /, removing from list!
>> [  1636.096] [dix] Could not init font path element /usr/local/lib/X11/fonts/Typ
>> e1/, removing from list!
>> [  1636.097] [dix] Could not init font path element /usr/local/lib/X11/fonts/100
>> dpi/, removing from list!
>> [  1636.097] [dix] Could not init font path element /usr/local/lib/X11/fonts/75d
>> pi/, removing from list!
>>
>> And if I still launch X, then the fonts are really
>> not found. However, they are all there:
>>
>> # ls -al /usr/local/lib/X11/fonts/
>> total 200
>> drwxr-xr-x  14 root  wheel    512 Mar 18 11:19 .
>> drwxr-xr-x   5 root  wheel    512 Apr 29 13:06 ..
>> drwxr-xr-x   2 root  wheel  66048 Mar 18 10:56 100dpi
>> drwxr-xr-x   2 root  wheel  66048 Mar 18 10:56 75dpi
>> drwxr-xr-x   2 root  wheel   1024 Mar 18 10:53 OTF
>> drwxr-xr-x   2 root  wheel    512 Mar 18 10:53 TTF
>> drwxr-xr-x   2 root  wheel   1536 Mar 18 10:55 Type1
>> drwxr-xr-x   2 root  wheel   2560 Mar 18 10:56 cyrillic
>> drwxr-xr-x   2 root  wheel   1024 Mar 27 10:07 dejavu
>> drwxr-xr-x   3 root  wheel   1024 Mar 18 10:27 encodings
>> drwxr-xr-x   2 root  wheel    512 Mar 12 16:16 local
>> drwxr-xr-x   2 root  wheel  12800 Mar 18 10:56 misc
>> drwxr-xr-x   2 root  wheel   6144 Mar 18 11:19 terminus-font
>> drwxr-xr-x   2 root  wheel    512 Mar 18 08:47 util
>> #
>>
>> Please help
>>
>> Thanks
>>
>
>Do you have these files in all of the above directorys;
>
>fonts.alias, fonts.dir, fonts.scale
>Which are created with mkfontdir.

QOF> find /usr/local/lib/X11/fonts/ -name "fonts*" | xargs ls -al
-r--r--r--  1 root  wheel    3154 Apr 24 10:34 /usr/local/lib/X11/fonts/100dpi/fonts.alias
-rw-r--r--  1 root  wheel  169851 Apr 30 12:45 /usr/local/lib/X11/fonts/100dpi/fonts.dir
-rw-r--r--  1 root  wheel       2 Apr 30 12:45 /usr/local/lib/X11/fonts/100dpi/fonts.scale
-r--r--r--  1 root  wheel    3066 Apr 24 10:34 /usr/local/lib/X11/fonts/75dpi/fonts.alias
-rw-r--r--  1 root  wheel  165343 Apr 30 12:45 /usr/local/lib/X11/fonts/75dpi/fonts.dir
-rw-r--r--  1 root  wheel       2 Apr 30 12:45 /usr/local/lib/X11/fonts/75dpi/fonts.scale
-rw-r--r--  1 root  wheel    2000 Apr 30 12:42 /usr/local/lib/X11/fonts/OTF/fonts.dir
-rw-r--r--  1 root  wheel    2000 Apr 30 12:42 /usr/local/lib/X11/fonts/OTF/fonts.scale
-rw-r--r--  1 root  wheel    6345 Apr 30 12:42 /usr/local/lib/X11/fonts/TTF/fonts.dir
-rw-r--r--  1 root  wheel    6345 Apr 30 12:42 /usr/local/lib/X11/fonts/TTF/fonts.scale
-rw-r--r--  1 root  wheel    6867 Apr 30 12:46 /usr/local/lib/X11/fonts/Type1/fonts.dir
-rw-r--r--  1 root  wheel    6867 Apr 30 12:46 /usr/local/lib/X11/fonts/Type1/fonts.scale
-r--r--r--  1 root  wheel    2485 Oct 20  1997 /usr/local/lib/X11/fonts/URW/fonts.dir
-r--r--r--  1 root  wheel    2415 Oct 19  1997 /usr/local/lib/X11/fonts/URW/fonts.dir_fndry_is_urw
-r--r--r--  1 root  wheel    2485 Oct 20  1997 /usr/local/lib/X11/fonts/URW/fonts.scale
-r--r--r--  1 root  wheel    2415 Oct 19  1997 /usr/local/lib/X11/fonts/URW/fonts.scale_fndry_is_urw
-r--r--r--  1 root  wheel    3248 Apr 24 10:34 /usr/local/lib/X11/fonts/cyrillic/fonts.alias
-rw-r--r--  1 root  wheel    6005 Apr 30 12:45 /usr/local/lib/X11/fonts/cyrillic/fonts.dir
-rw-r--r--  1 root  wheel       2 Apr 30 12:45 /usr/local/lib/X11/fonts/cyrillic/fonts.scale
-r--r--r--  1 root  wheel   28657 Mar 27 10:07 /usr/local/lib/X11/fonts/dejavu/fonts.dir
-r--r--r--  1 root  wheel   28657 Mar 27 10:07 /usr/local/lib/X11/fonts/dejavu/fonts.scale
-r--r--r--  1 root  wheel    6270 Apr 24 10:34 /usr/local/lib/X11/fonts/misc/fonts.alias
-rw-r--r--  1 root  wheel   32637 Apr 30 12:45 /usr/local/lib/X11/fonts/misc/fonts.dir
-rw-r--r--  1 root  wheel       2 Apr 30 12:45 /usr/local/lib/X11/fonts/misc/fonts.scale
-rw-r--r--  1 root  wheel   17890 Apr 24 11:49 /usr/local/lib/X11/fonts/terminus-font/fonts.dir
-rw-r--r--  1 root  wheel   17890 Apr 24 11:49 /usr/local/lib/X11/fonts/terminus-font/fonts.scale
QOF> 

fonts.scale and fonts.dir are all present.
Only some directories contain fonts.alias.
However, this doesn't seem to make a difference
to X, as all these directories are rejected.

Many thanks

Anton
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404301229.s3UCTtqk005949>