mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
7bd417eb3f
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8111 af4574ff-66df-0310-9fd7-8a98e5e911e0
165 lines
5.4 KiB
XML
165 lines
5.4 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/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 "ftp://ftp.x.org/pub/individual/font/">
|
|
<!ENTITY x7fonts-wget "&files-anduin;/xorg/font-&xorg7-release;.wget">
|
|
<!ENTITY x7fonts-md5sum "&files-anduin;/xorg/font-&xorg7-release;.md5">
|
|
<!ENTITY x7fonts-size "14.8 MB">
|
|
<!ENTITY x7fonts-buildsize "269 MB">
|
|
<!ENTITY x7fonts-time "2.0 SBU">
|
|
]>
|
|
|
|
<sect1 id="xorg7-font" xreflabel="Xorg Fonts">
|
|
<?dbhtml filename="x7font.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</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="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Required download list: <ulink url="&x7fonts-wget;"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="xorg7-app"/> and
|
|
<xref linkend="xcursor-themes"/></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>mkdir font &&
|
|
cd font &&
|
|
grep -v '^#' ../font-&xorg7-release;.wget | wget -i- -c \
|
|
-B http://xorg.freedesktop.org/releases/individual/font/ &&
|
|
md5sum -c ../font-&xorg7-release;.md5</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 &&
|
|
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 &&
|
|
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>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>bdftruncate and ucs2any</seg>
|
|
<seg>None</seg>
|
|
<seg><envar>$XORG_PREFIX</envar>/fonts and
|
|
/usr/share/fonts/X11-{TTF,OTF}</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="bdftruncate-x7">
|
|
<term><command>bdftruncate</command></term>
|
|
<listitem>
|
|
<para>generates a truncated BDF font from an ISO 10646-1-encoded
|
|
BDF font.</para>
|
|
<indexterm zone="xorg7-font bdftruncate-x7">
|
|
<primary sortas="b-bdftruncate">bdftruncate</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="ucs2any-x7">
|
|
<term><command>ucs2any</command></term>
|
|
<listitem>
|
|
<para>generates BDF fonts containing subsets of ISO 10646-1
|
|
codepoints.</para>
|
|
<indexterm zone="xorg7-font ucs2any-x7">
|
|
<primary sortas="b-ucs2any">ucs2any</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|