Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howtos:general_admin:install_fonts [2013/05/30 14:56 (UTC)]
alienbob Suggested change makes better use of Wiki syntax - feel free to keep or discard. Eric
howtos:general_admin:install_fonts [2017/12/24 01:54 (UTC)] (current)
bassmadrigal [Install Fonts] Clarify step #2 per request on LQ.
Line 1: Line 1:
 ====== Install Fonts ====== ====== Install Fonts ======
 AS ROOT: AS ROOT:
-  - Copy your font files (.ttf and/or .otf) to their respective directories:​ <​code>​+  - Copy your font files (.ttf and/or .otf) to their **respective** directories:​ <​code>​
 /​usr/​share/​fonts/​TTF /​usr/​share/​fonts/​TTF
 /​usr/​share/​fonts/​OTF /​usr/​share/​fonts/​OTF
 </​code>​ </​code>​
   - Run the following commands, with the directory where you copied the fonts as argument: <​code>​   - Run the following commands, with the directory where you copied the fonts as argument: <​code>​
-mkfontdir +mkfontdir ​/​usr/​share/​fonts/​{TTF,​OTF} 
-mkfontscale +mkfontscale ​/​usr/​share/​fonts/​{TTF,​OTF} 
-fc-cache+fc-cache ​-f -v
 </​code>​ </​code>​
   - Restart X.   - Restart X.

In Other Languages
QR Code
QR Code howtos:general_admin:install_fonts (generated for current page)