On Thu, 21 Apr 2005, J S wrote:
> $ mkaliasfont helvetica arial > fonts.alias
> + [ 2 -ne 2 ]
> + xlsfonts
> + grep ^-[^-]*-helvetica-
> + sed -e s/^-[^-]*\(-helvetica\(-.*\)\)$/-compat-arial\2 -*\1/
>
> $ ls /usr/x11r6/lib/x11/fonts/test
> fonts.alias fonts.dir
$ cat fonts.dir
0
It seems you need at least one real font in that directory.
I tried and was successful after adding a .ttf font and running
mkfontscale "$fontdir"
mkfontscale -b -s "$fontdir"
removing the entries from fonts.dir produced a similar bahaviour
bye
ago
--