glfs/x/installing/x7font.xml
Bruce Dubbs bd4fda8394 Move old jpeg to archive.
Remove text generation from gperf.
LFS 7.3 tags.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11064 af4574ff-66df-0310-9fd7-8a98e5e911e0
2013-03-06 03:05:17 +00:00

322 lines
13 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-size "15.0 MB">
<!ENTITY x7fonts-buildsize "278 MB">
<!ENTITY x7fonts-time "2.3 SBU">
<!ENTITY encodings-version "1.0.4">
<!ENTITY encodings-md5sum "0f2d6546d514c5cc4ecf78a60657a5c1">
<!ENTITY font-adobe-100dpi-version "1.0.3">
<!ENTITY font-adobe-100dpi-md5sum "1347c3031b74c9e91dc4dfa53b12f143">
<!ENTITY font-adobe-75dpi-version "1.0.3">
<!ENTITY font-adobe-75dpi-md5sum "6c9f26c92393c0756f3e8d614713495b">
<!ENTITY font-adobe-utopia-100dpi-version "1.0.4">
<!ENTITY font-adobe-utopia-100dpi-md5sum "66fb6de561648a6dce2755621d6aea17">
<!ENTITY font-adobe-utopia-75dpi-version "1.0.4">
<!ENTITY font-adobe-utopia-75dpi-md5sum "e99276db3e7cef6dccc8a57bc68aeba7">
<!ENTITY font-adobe-utopia-type1-version "1.0.4">
<!ENTITY font-adobe-utopia-type1-md5sum "fcf24554c348df3c689b91596d7f9971">
<!ENTITY font-alias-version "1.0.3">
<!ENTITY font-alias-md5sum "6d25f64796fef34b53b439c2e9efa562">
<!ENTITY font-arabic-misc-version "1.0.3">
<!ENTITY font-arabic-misc-md5sum "cc0726e4a277d6ed93b8e09c1f195470">
<!ENTITY font-bh-100dpi-version "1.0.3">
<!ENTITY font-bh-100dpi-md5sum "9f11ade089d689b9d59e0f47d26f39cd">
<!ENTITY font-bh-75dpi-version "1.0.3">
<!ENTITY font-bh-75dpi-md5sum "565494fc3b6ac08010201d79c677a7a7">
<!ENTITY font-bh-lucidatypewriter-100dpi-version "1.0.3">
<!ENTITY font-bh-lucidatypewriter-100dpi-md5sum "c8b73a53dcefe3e8d3907d3500e484a9">
<!ENTITY font-bh-lucidatypewriter-75dpi-version "1.0.3">
<!ENTITY font-bh-lucidatypewriter-75dpi-md5sum "f6d65758ac9eb576ae49ab24c5e9019a">
<!ENTITY font-bh-ttf-version "1.0.3">
<!ENTITY font-bh-ttf-md5sum "e8ca58ea0d3726b94fe9f2c17344be60">
<!ENTITY font-bh-type1-version "1.0.3">
<!ENTITY font-bh-type1-md5sum "53ed9a42388b7ebb689bdfc374f96a22">
<!ENTITY font-bitstream-100dpi-version "1.0.3">
<!ENTITY font-bitstream-100dpi-md5sum "6b223a54b15ecbd5a1bc52312ad790d8">
<!ENTITY font-bitstream-75dpi-version "1.0.3">
<!ENTITY font-bitstream-75dpi-md5sum "d7c0588c26fac055c0dd683fdd65ac34">
<!ENTITY font-bitstream-type1-version "1.0.3">
<!ENTITY font-bitstream-type1-md5sum "5e0c9895d69d2632e2170114f8283c11">
<!ENTITY font-cronyx-cyrillic-version "1.0.3">
<!ENTITY font-cronyx-cyrillic-md5sum "e452b94b59b9cfd49110bb49b6267fba">
<!ENTITY font-cursor-misc-version "1.0.3">
<!ENTITY font-cursor-misc-md5sum "3e0069d4f178a399cffe56daa95c2b63">
<!ENTITY font-daewoo-misc-version "1.0.3">
<!ENTITY font-daewoo-misc-md5sum "0571bf77f8fab465a5454569d9989506">
<!ENTITY font-dec-misc-version "1.0.3">
<!ENTITY font-dec-misc-md5sum "6e7c5108f1b16d7a1c7b2c9760edd6e5">
<!ENTITY font-ibm-type1-version "1.0.3">
<!ENTITY font-ibm-type1-md5sum "bfb2593d2102585f45daa960f43cb3c4">
<!ENTITY font-isas-misc-version "1.0.3">
<!ENTITY font-isas-misc-md5sum "a2401caccbdcf5698e001784dbd43f1a">
<!ENTITY font-jis-misc-version "1.0.3">
<!ENTITY font-jis-misc-md5sum "cb7b57d7800fd9e28ec35d85761ed278">
<!ENTITY font-micro-misc-version "1.0.3">
<!ENTITY font-micro-misc-md5sum "143c228286fe9c920ab60e47c1b60b67">
<!ENTITY font-misc-cyrillic-version "1.0.3">
<!ENTITY font-misc-cyrillic-md5sum "96109d0890ad2b6b0e948525ebb0aba8">
<!ENTITY font-misc-ethiopic-version "1.0.3">
<!ENTITY font-misc-ethiopic-md5sum "6306c808f7d7e7d660dfb3859f9091d2">
<!ENTITY font-misc-meltho-version "1.0.3">
<!ENTITY font-misc-meltho-md5sum "e3e7b0fda650adc7eb6964ff3c486b1c">
<!ENTITY font-misc-misc-version "1.1.2">
<!ENTITY font-misc-misc-md5sum "c88eb44b3b903d79fb44b860a213e623">
<!ENTITY font-mutt-misc-version "1.0.3">
<!ENTITY font-mutt-misc-md5sum "56b0296e8862fc1df5cdbb4efe604e86">
<!ENTITY font-schumacher-misc-version "1.1.2">
<!ENTITY font-schumacher-misc-md5sum "e805feb7c4f20e6bfb1118d19d972219">
<!ENTITY font-screen-cyrillic-version "1.0.4">
<!ENTITY font-screen-cyrillic-md5sum "6f3fdcf2454bf08128a651914b7948ca">
<!ENTITY font-sony-misc-version "1.0.3">
<!ENTITY font-sony-misc-md5sum "beef61a9b0762aba8af7b736bb961f86">
<!ENTITY font-sun-misc-version "1.0.3">
<!ENTITY font-sun-misc-md5sum "948f2e07810b4f31195185921470f68d">
<!ENTITY font-util-version "1.3.0">
<!ENTITY font-util-md5sum "ddfc8a89d597651408369d940d03d06b">
<!ENTITY font-winitzki-cyrillic-version "1.0.3">
<!ENTITY font-winitzki-cyrillic-md5sum "829a3159389b7f96f629e5388bfee67b">
<!ENTITY font-xfree86-type1-version "1.0.4">
<!ENTITY font-xfree86-type1-md5sum "3eeb3fb44690b477d510bbd8f86cf5aa">
]>
<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>
&lfs73_checked;
<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 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-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>First, create a list of files to be downloaded. This file will also
be used to verify the integrity of the downloads when complete:</para>
<screen><userinput>cat &gt; font-&xorg-version;.md5 &lt;&lt; "EOF"
&font-util-md5sum; font-util-&font-util-version;.tar.bz2
&encodings-md5sum; encodings-&encodings-version;.tar.bz2
&font-adobe-100dpi-md5sum; font-adobe-100dpi-&font-adobe-100dpi-version;.tar.bz2
&font-adobe-75dpi-md5sum; font-adobe-75dpi-&font-adobe-75dpi-version;.tar.bz2
&font-adobe-utopia-100dpi-md5sum; font-adobe-utopia-100dpi-&font-adobe-utopia-100dpi-version;.tar.bz2
&font-adobe-utopia-75dpi-md5sum; font-adobe-utopia-75dpi-&font-adobe-utopia-75dpi-version;.tar.bz2
&font-adobe-utopia-type1-md5sum; font-adobe-utopia-type1-&font-adobe-utopia-type1-version;.tar.bz2
&font-alias-md5sum; font-alias-&font-alias-version;.tar.bz2
&font-arabic-misc-md5sum; font-arabic-misc-&font-arabic-misc-version;.tar.bz2
&font-bh-100dpi-md5sum; font-bh-100dpi-&font-bh-100dpi-version;.tar.bz2
&font-bh-75dpi-md5sum; font-bh-75dpi-&font-bh-75dpi-version;.tar.bz2
&font-bh-lucidatypewriter-100dpi-md5sum; font-bh-lucidatypewriter-100dpi-&font-bh-lucidatypewriter-100dpi-version;.tar.bz2
&font-bh-lucidatypewriter-75dpi-md5sum; font-bh-lucidatypewriter-75dpi-&font-bh-lucidatypewriter-75dpi-version;.tar.bz2
&font-bh-ttf-md5sum; font-bh-ttf-&font-bh-ttf-version;.tar.bz2
&font-bh-type1-md5sum; font-bh-type1-&font-bh-type1-version;.tar.bz2
&font-bitstream-100dpi-md5sum; font-bitstream-100dpi-&font-bitstream-100dpi-version;.tar.bz2
&font-bitstream-75dpi-md5sum; font-bitstream-75dpi-&font-bitstream-75dpi-version;.tar.bz2
&font-bitstream-type1-md5sum; font-bitstream-type1-&font-bitstream-type1-version;.tar.bz2
&font-cronyx-cyrillic-md5sum; font-cronyx-cyrillic-&font-cronyx-cyrillic-version;.tar.bz2
&font-cursor-misc-md5sum; font-cursor-misc-&font-cursor-misc-version;.tar.bz2
&font-daewoo-misc-md5sum; font-daewoo-misc-&font-daewoo-misc-version;.tar.bz2
&font-dec-misc-md5sum; font-dec-misc-&font-dec-misc-version;.tar.bz2
&font-ibm-type1-md5sum; font-ibm-type1-&font-ibm-type1-version;.tar.bz2
&font-isas-misc-md5sum; font-isas-misc-&font-isas-misc-version;.tar.bz2
&font-jis-misc-md5sum; font-jis-misc-&font-jis-misc-version;.tar.bz2
&font-micro-misc-md5sum; font-micro-misc-&font-micro-misc-version;.tar.bz2
&font-misc-cyrillic-md5sum; font-misc-cyrillic-&font-misc-cyrillic-version;.tar.bz2
&font-misc-ethiopic-md5sum; font-misc-ethiopic-&font-misc-ethiopic-version;.tar.bz2
&font-misc-meltho-md5sum; font-misc-meltho-&font-misc-meltho-version;.tar.bz2
&font-misc-misc-md5sum; font-misc-misc-&font-misc-misc-version;.tar.bz2
&font-mutt-misc-md5sum; font-mutt-misc-&font-mutt-misc-version;.tar.bz2
&font-schumacher-misc-md5sum; font-schumacher-misc-&font-schumacher-misc-version;.tar.bz2
&font-screen-cyrillic-md5sum; font-screen-cyrillic-&font-screen-cyrillic-version;.tar.bz2
&font-sony-misc-md5sum; font-sony-misc-&font-sony-misc-version;.tar.bz2
&font-sun-misc-md5sum; font-sun-misc-&font-sun-misc-version;.tar.bz2
&font-winitzki-cyrillic-md5sum; font-winitzki-cyrillic-&font-winitzki-cyrillic-version;.tar.bz2
&font-xfree86-type1-md5sum; font-xfree86-type1-&font-xfree86-type1-version;.tar.bz2
EOF</userinput></screen>
<para>To download the needed files using <application>wget</application>,
use the following commands:</para>
<screen><userinput>mkdir font &amp;&amp;
cd font &amp;&amp;
grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}' | wget -i- -c \
-B http://xorg.freedesktop.org/releases/individual/font/ &amp;&amp;
md5sum -c ../font-&xorg-version;.md5</userinput></screen>
</sect2>
<sect2 role="installation">
<title>Installation of Xorg Fonts</title>
&as_root;
<para>First, start a subshell that will exit on error:</para>
<screen><userinput>bash -e</userinput></screen>
<para>Install all of the applications by running the following
commands:</para>
<screen><userinput>for package in $(grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}')
do
packagedir=${package%.tar.bz2}
tar -xf $package
pushd $packagedir
./configure $XORG_CONFIG
make
as_root make install
popd
rm -r $packagedir
done</userinput></screen>
<para>Finally, exit the shell that was started earlier:</para>
<screen><userinput>exit</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 -svfn $XORG_PREFIX/share/fonts/X11/OTF /usr/share/fonts/X11-OTF &amp;&amp;
ln -svfn $XORG_PREFIX/share/fonts/X11/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>/share/fonts</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 in any encoding from an ISO 10646-1 encoded
BDF font.</para>
<indexterm zone="xorg7-font ucs2any-x7">
<primary sortas="b-ucs2any">ucs2any</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>