mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-07 01:27:16 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6082 af4574ff-66df-0310-9fd7-8a98e5e911e0
116 lines
3.9 KiB
XML
116 lines
3.9 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 "http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/files/md5sums">
|
|
<!ENTITY x7fonts-size "13.5 MB">
|
|
<!ENTITY x7fonts-buildsize "90.4 MB">
|
|
<!ENTITY x7fonts-time "1.82 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>
|
|
<!-- <keywordset>
|
|
<keyword role="package">X11R&xorg7-version;-src.tar</keyword>
|
|
<keyword role="ftpdir">Xorg7</keyword>
|
|
</keywordset>
|
|
########## Need a way to fix this on the mirrors ##########
|
|
##### Maybe a single tarball is the way to handle it ######
|
|
-->
|
|
|
|
|
|
</sect1info>
|
|
|
|
<title>Xorg Fonts</title>
|
|
|
|
<indexterm zone="xorg7-font">
|
|
<primary sortas="a-xorg7-font">Xorg Fonts</primary>
|
|
</indexterm>
|
|
|
|
<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>
|
|
<title>Downloading Xorg Fonts</title>
|
|
|
|
<para>To download the needed files using <application>wget</application>,
|
|
use the following commands:</para>
|
|
|
|
<screen><userinput>wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/font.wget &&
|
|
mkdir font &&
|
|
cd font &&
|
|
wget -B http://xorg.freedesktop.org/releases/individual/font/ -i ../font.wget</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Xorg Fonts</title>
|
|
|
|
<para>Run the following commands for each package:</para>
|
|
|
|
<note>
|
|
<para>You should install encodings first, and then font-util before all
|
|
other font packages.</para>
|
|
</note>
|
|
|
|
<screen><userinput>./configure $XORG_CONFIG &&
|
|
make</userinput></screen>
|
|
|
|
<para>Now as the <systemitem class="username">root</systemitem>
|
|
user:</para>
|
|
|
|
<screen><userinput role="root">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><userinput role="root">install -v -d -m755 /usr/share/fonts &&
|
|
ln -svn $XORG_PREFIX/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
|
|
ln -svn $XORG_PREFIX/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|