Font Path


Table of Contents

Add fonts.dir & encodings.dir in Linux 
Symptom 
Solution 
Analysis / Reason 
FontPath 

Add fonts.dir & encodings.dir in Linux 

Symptom 

There is no fonts.dir in dir /usr/share/zhfont/console

Solution 

Imitate from /etc/rc.d/init.d/xfs:

mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings -e /usr/X11R6/lib/X11/fonts/encodings/large .

Analysis / Reason 

No need for a fonts.dir, because the generated fonts.dir says "0".