Fonts Installation

Steps

# mkdir /usr/local/share/fonts/truetype

# copy fonts to the directory just created by the above command

# mkfontscale /usr/local/share/fonts/truetype

# mkfontdir /usr/local/share/fonts/truetype

Here,

mkfontdir creates fonts.dir file making the current directory a font directory mkfontscale is used for indexing all the fonts using font.scale file. mkfontdir cannot recognize scalable fonts without indexing so this should be used first.