| Server IP : 85.112.90.236 / Your IP : 192.168.1.26 Web Server : Apache System : Linux 85-112-90-236.cprapid.com 6.12.0-211.7.3.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 12:46:58 EDT 2026 x86_64 User : ftechme ( 1002) PHP Version : 8.2.32 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/help/fa/system-admin-guide/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="fonts" xml:lang="fa">
<info>
<link type="guide" xref="appearance"/>
<link type="seealso" xref="fonts-user"/>
<revision pkgversion="3.11" date="2014-01-29" status="draft"/>
<credit type="author copyright">
<name>Matthias Clasen</name>
<email>matthias.clasen@gmail.com</email>
<years>۲۰۱۲</years>
</credit>
<credit type="editor">
<name>یانا سواروا</name>
<email>jana.svarova@gmail.com</email>
<years>۲۰۱۳</years>
</credit>
<credit type="author copyright">
<name>اکاترینا گراسیموفا</name>
<email>kittykat3756@gmail.com</email>
<years>۲۰۱۳</years>
</credit>
<credit type="editor">
<name>پیتر کوار</name>
<email>pknbe@volny.cz</email>
<years>۲۰۱۴</years>
</credit>
<desc>Add extra fonts for all users.</desc>
</info>
<title>Add an extra font for all users</title>
<p>You can install an extra font which will be available to users in
applications that use <sys>fontconfig</sys> for font handling.</p>
<steps>
<title>Install an extra font</title>
<item>
<p>Copy the font to the <file>/usr/local/share/fonts/</file>
directory to install it.</p>
</item>
<item>
<p>You may need to run the following command to update the font cache:</p>
<screen><output>$ </output><input>fc-cache /usr/local/share/fonts/</input></screen>
</item>
</steps>
<p>You may need to restart running applications to see the changes. User
sessions do not need to be restarted.</p>
<p>Alternatively, you can also install fonts in another system directory than
<file>/usr/local/share/fonts/</file> if that directory is listed in the
<file>/etc/fonts/fonts.conf</file> file. If it is not, then you need
to create your own machine-wide configuration file in
<file>/etc/fonts/local.conf</file> containing the directory you
want to use. See the <cmd>fonts-conf</cmd>(5) man page for more
information.</p>
<p>If you are using an alternative directory, remember to specify
the directory name when updating the font cache with the <cmd>fc-cache</cmd>
command:</p>
<screen><output>$ </output><input>fc-cache <var>directory_name</var></input></screen>
</page>