/usr/share/help/C/system-admin-guide/fonts.page is in gnome-user-docs 3.28.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | <page xmlns="http://projectmallard.org/1.0/"
xmlns:its="http://www.w3.org/2005/11/its"
type="topic" style="task"
id="fonts">
<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>2012</years>
</credit>
<credit type="editor">
<name>Jana Svarova</name>
<email>jana.svarova@gmail.com</email>
<years>2013</years>
</credit>
<credit type="author copyright">
<name>Ekaterina Gerasimova</name>
<email>kittykat3756@gmail.com</email>
<years>2013</years>
</credit>
<credit type="editor">
<name>Petr Kovar</name>
<email>pknbe@volny.cz</email>
<years>2014</years>
</credit>
<desc>Add extra fonts for all users.</desc>
</info>
<title>Add an extra font for all users</title>
<comment>
<cite date="2013-08-11">Kat</cite>
<p>See http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY :
/usr/local/share/fonts is the correct place for fonts to go into.</p>
</comment>
<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>
|