glfs/x/installing/x7font.xml

110 lines
3.7 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY x7fonts-download-http "http://xorg.freedesktop.org/releases/individual/font/">
<!ENTITY x7fonts-download-ftp " ">
<!ENTITY x7fonts-md5sum "&sources-anduin-http;/x/files/md5sums">
<!ENTITY x7fonts-size "13.3 MB">
<!ENTITY x7fonts-buildsize "100 MB">
<!ENTITY x7fonts-time "2.0 SBU">
]>
<sect1 id="xorg7-font" xreflabel="Xorg Fonts">
<?dbhtml filename="x7font.html"?>
<sect1info>
<othername>$LastChangedBy: dj $</othername>
<date>$Date: 2006-04-15 23:04:51 -0500 (Sat, 15 Apr 2006) $</date>
</sect1info>
<title>Xorg Fonts</title>
<indexterm zone="xorg7-font">
<primary sortas="a-xorg7-font">Xorg Fonts</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Xorg Fonts</title>
<para>The <application>Xorg</application> font packages provide
needed fonts to the <application>Xorg</application> applications.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&x7fonts-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&x7fonts-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: <ulink url="&x7fonts-md5sum;"/></para>
</listitem>
<listitem>
<para>Download size: &x7fonts-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &x7fonts-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &x7fonts-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="xorg7-data"/> and
<xref linkend="xorg7-app"/></para>
<para condition="html" role="usernotes">User Notes:
<ulink url='&blfs-wiki;/Xorg7Fonts'/></para>
</sect2>
<sect2>
<title>Downloading Xorg Fonts</title>
<para>To download the needed files using <application>wget</application>,
use the following commands:</para>
<screen><userinput>wget &sources-anduin-ftp;/x/wget/font-7.1.wget &amp;&amp;
mkdir font &amp;&amp;
cd font &amp;&amp;
wget -B http://xorg.freedesktop.org/releases/individual/font/ \
-i ../font-7.1.wget</userinput></screen>
</sect2>
<sect2 role="installation">
<title>Installation of Xorg Fonts</title>
<para>Run the following commands for each package:</para>
<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
make</userinput></screen>
<para>These packages do not provide test suites.</para>
<para>Now as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>make install</userinput></screen>
<para>When all of the fonts have been installed, the system must be
configured so that <application>Fontconfig</application> can find the
TrueType fonts since they are outside of the default search path of
<filename class="directory">/usr/share/fonts</filename>. Make symlinks
to the <application>Xorg</application> TrueType font directories by
running the following commands as the
<systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>install -v -d -m755 /usr/share/fonts &amp;&amp;
ln -svn $XORG_PREFIX/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &amp;&amp;
ln -svn $XORG_PREFIX/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF</userinput></screen>
</sect2>
</sect1>