[3f72a148] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY x7fonts-download-http "http://xorg.freedesktop.org/releases/individual/font/">
|
---|
| 8 | <!ENTITY x7fonts-download-ftp "">
|
---|
| 9 | <!ENTITY x7fonts-md5sum "http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/files/md5sums">
|
---|
| 10 | <!ENTITY x7fonts-size "13.5 MB">
|
---|
| 11 | <!ENTITY x7fonts-buildsize "90.4 MB">
|
---|
| 12 | <!ENTITY x7fonts-time "1.82 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="xorg7-font" xreflabel="Xorg Fonts">
|
---|
| 16 | <?dbhtml filename="x7font.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy: dj $</othername>
|
---|
| 20 | <date>$Date: 2006-04-15 23:04:51 -0500 (Sat, 15 Apr 2006) $</date>
|
---|
| 21 | <!-- <keywordset>
|
---|
| 22 | <keyword role="package">X11R&xorg7-version;-src.tar</keyword>
|
---|
| 23 | <keyword role="ftpdir">Xorg7</keyword>
|
---|
| 24 | </keywordset>
|
---|
| 25 | ########## Need a way to fix this on the mirrors ##########
|
---|
| 26 | ##### Maybe a single tarball is the way to handle it ######
|
---|
| 27 | -->
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | </sect1info>
|
---|
| 31 |
|
---|
| 32 | <title>Xorg Fonts</title>
|
---|
| 33 |
|
---|
| 34 | <indexterm zone="xorg7-font">
|
---|
| 35 | <primary sortas="a-xorg7-font">Xorg Fonts</primary>
|
---|
| 36 | </indexterm>
|
---|
| 37 |
|
---|
| 38 | <para>The <application>Xorg</application> font packages provide
|
---|
| 39 | needed fonts to the <application>Xorg</application> applications.</para>
|
---|
| 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&x7fonts-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&x7fonts-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: <ulink url="&x7fonts-md5sum;"/></para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &x7fonts-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &x7fonts-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &x7fonts-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[e257101] | 64 | <para role="required"><xref linkend="xorg7-data"/> and
|
---|
| 65 | <xref linkend="xorg7-app"/></para>
|
---|
[3f72a148] | 66 |
|
---|
| 67 | <sect2>
|
---|
| 68 | <title>Downloading Xorg Fonts</title>
|
---|
| 69 |
|
---|
| 70 | <para>To download the needed files using <application>wget</application>,
|
---|
| 71 | use the following commands:</para>
|
---|
| 72 |
|
---|
| 73 | <screen><userinput>wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/font.wget &&
|
---|
| 74 | mkdir font &&
|
---|
| 75 | cd font &&
|
---|
| 76 | wget -B http://xorg.freedesktop.org/releases/individual/font/ -i ../font.wget</userinput></screen>
|
---|
| 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of Xorg Fonts</title>
|
---|
| 82 |
|
---|
| 83 | <para>Run the following commands for each package:</para>
|
---|
| 84 |
|
---|
| 85 | <note>
|
---|
| 86 | <para>You should install encodings first, and then font-util before all
|
---|
| 87 | other font packages.</para>
|
---|
| 88 | </note>
|
---|
| 89 |
|
---|
| 90 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
| 91 | make</userinput></screen>
|
---|
| 92 |
|
---|
| 93 | <para>Now as the <systemitem class="username">root</systemitem>
|
---|
| 94 | user:</para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput role="root">make install</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para>When all of the fonts have been installed, the system must be
|
---|
| 99 | configured so that <application>Fontconfig</application> can find the
|
---|
| 100 | TrueType fonts since they are outside of the default search path of
|
---|
| 101 | <filename class="directory">/usr/share/fonts</filename>. Make symlinks
|
---|
| 102 | to the <application>Xorg</application> TrueType font directories by
|
---|
| 103 | running the following commands as the
|
---|
| 104 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 105 |
|
---|
[96ffdca] | 106 | <screen><userinput role="root">install -v -d -m755 /usr/share/fonts &&
|
---|
[3f72a148] | 107 | ln -svn $XORG_PREFIX/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
|
---|
| 108 | ln -svn $XORG_PREFIX/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | </sect1>
|
---|