Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/export/fonts/TrueType/win_zh_CN.0" FontPath "unix/:7100" EndSection
Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/export/fonts/TrueType/win_zh_CN.0" FontPath "unix/:7100" EndSection
Use 'xset +fp' and 'xset -fp' to add or remove font directories temporally.
To restore the default font path:
xset fp default
To have the server reread font databases:
xset fp rehash
xset -fp /fonts/TrueType/win_zh_CN.0 xset -q xlsfonts | grep microsoft
xset +fp /fonts/TrueType/win_zh_CN.0 !xls xlsfonts | grep sim
fslsfonts
or
FONTSERVER=unix/:7100 fslsfonts
/usr/X11R6/lib/X11/fs/config is for xfs. If the new directory is not added to it, the xlsfonts won't show it.
It points to /etc/X11/fs/config.
Use 'chkfontpath' to add (-a) or remove (-r) font directories permanently (into /usr/X11R6/lib/X11/fs/config).
/etc/fonts/fonts.conf is for xft. It will not affect the result of xlsfonts, but it tells Xft libraries where to find the newly installed fonts.