[3f72a148] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f72a148] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0269d30] | 7 | <!ENTITY x7fonts-download-http "&xorg-download-http;/font/">
|
---|
| 8 | <!ENTITY x7fonts-download-ftp "&xorg-download-ftp;/font/">
|
---|
[124f752c] | 9 | <!ENTITY x7fonts-size "3.0 MB">
|
---|
| 10 | <!ENTITY x7fonts-buildsize "8.8 MB">
|
---|
| 11 | <!ENTITY x7fonts-time "0.1 SBU">
|
---|
[5287b7c] | 12 |
|
---|
| 13 | <!ENTITY encodings-version "1.0.4">
|
---|
| 14 | <!ENTITY encodings-md5sum "0f2d6546d514c5cc4ecf78a60657a5c1">
|
---|
| 15 |
|
---|
| 16 | <!ENTITY font-adobe-utopia-type1-version "1.0.4">
|
---|
| 17 | <!ENTITY font-adobe-utopia-type1-md5sum "fcf24554c348df3c689b91596d7f9971">
|
---|
| 18 |
|
---|
| 19 | <!ENTITY font-alias-version "1.0.3">
|
---|
| 20 | <!ENTITY font-alias-md5sum "6d25f64796fef34b53b439c2e9efa562">
|
---|
| 21 |
|
---|
| 22 | <!ENTITY font-bh-ttf-version "1.0.3">
|
---|
| 23 | <!ENTITY font-bh-ttf-md5sum "e8ca58ea0d3726b94fe9f2c17344be60">
|
---|
| 24 |
|
---|
| 25 | <!ENTITY font-bh-type1-version "1.0.3">
|
---|
| 26 | <!ENTITY font-bh-type1-md5sum "53ed9a42388b7ebb689bdfc374f96a22">
|
---|
| 27 |
|
---|
| 28 | <!ENTITY font-ibm-type1-version "1.0.3">
|
---|
| 29 | <!ENTITY font-ibm-type1-md5sum "bfb2593d2102585f45daa960f43cb3c4">
|
---|
| 30 |
|
---|
| 31 | <!ENTITY font-misc-ethiopic-version "1.0.3">
|
---|
| 32 | <!ENTITY font-misc-ethiopic-md5sum "6306c808f7d7e7d660dfb3859f9091d2">
|
---|
| 33 |
|
---|
[fc49dccd] | 34 | <!ENTITY font-util-version "1.3.1">
|
---|
| 35 | <!ENTITY font-util-md5sum "23756dab809f9ec5011bb27fb2c3c7d6">
|
---|
[5287b7c] | 36 |
|
---|
| 37 | <!ENTITY font-xfree86-type1-version "1.0.4">
|
---|
| 38 | <!ENTITY font-xfree86-type1-md5sum "3eeb3fb44690b477d510bbd8f86cf5aa">
|
---|
| 39 |
|
---|
[3f72a148] | 40 | ]>
|
---|
| 41 |
|
---|
| 42 | <sect1 id="xorg7-font" xreflabel="Xorg Fonts">
|
---|
| 43 | <?dbhtml filename="x7font.html"?>
|
---|
| 44 |
|
---|
| 45 | <sect1info>
|
---|
[93f3de5] | 46 | <othername>$LastChangedBy$</othername>
|
---|
| 47 | <date>$Date$</date>
|
---|
[3f72a148] | 48 | </sect1info>
|
---|
| 49 |
|
---|
| 50 | <title>Xorg Fonts</title>
|
---|
| 51 |
|
---|
| 52 | <indexterm zone="xorg7-font">
|
---|
| 53 | <primary sortas="a-xorg7-font">Xorg Fonts</primary>
|
---|
| 54 | </indexterm>
|
---|
| 55 |
|
---|
[5e8be1c] | 56 | <sect2 role="package">
|
---|
| 57 | <title>Introduction to Xorg Fonts</title>
|
---|
| 58 |
|
---|
[124f752c] | 59 | <para>The <application>Xorg</application> font packages provide some
|
---|
| 60 | scalable fonts and supporting packages for <application>Xorg</application>
|
---|
| 61 | applications. Many people will want to install other TTF or OTF fonts in
|
---|
| 62 | addition to, or instead of, these. Some are listed at <xref
|
---|
[e180a646] | 63 | linkend="TTF-and-OTF-fonts"/>.</para>
|
---|
[5e8be1c] | 64 |
|
---|
[796bc663] | 65 | &lfs83_checked;
|
---|
[a09d712e] | 66 |
|
---|
[5e8be1c] | 67 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 68 | <itemizedlist spacing="compact">
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Download (HTTP): <ulink url="&x7fonts-download-http;"/></para>
|
---|
| 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>Download (FTP): <ulink url="&x7fonts-download-ftp;"/></para>
|
---|
| 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>Download size: &x7fonts-size;</para>
|
---|
| 77 | </listitem>
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>Estimated disk space required: &x7fonts-buildsize;</para>
|
---|
| 80 | </listitem>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>Estimated build time: &x7fonts-time;</para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
| 85 |
|
---|
[bb535fde] | 86 | <bridgehead renderas="sect3">Xorg Fonts Dependencies</bridgehead>
|
---|
| 87 |
|
---|
[5e8be1c] | 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[148487d] | 89 | <para role="required">
|
---|
| 90 | <xref linkend="xcursor-themes"/>
|
---|
| 91 | </para>
|
---|
[5e8be1c] | 92 |
|
---|
| 93 | <para condition="html" role="usernotes">User Notes:
|
---|
| 94 | <ulink url='&blfs-wiki;/Xorg7Fonts'/></para>
|
---|
| 95 |
|
---|
| 96 | </sect2>
|
---|
[10eeae12] | 97 |
|
---|
[3f72a148] | 98 | <sect2>
|
---|
| 99 | <title>Downloading Xorg Fonts</title>
|
---|
| 100 |
|
---|
[5287b7c] | 101 | <para>First, create a list of files to be downloaded. This file will also
|
---|
| 102 | be used to verify the integrity of the downloads when complete:</para>
|
---|
| 103 |
|
---|
| 104 | <screen><userinput>cat > font-&xorg-version;.md5 << "EOF"
|
---|
[7a361cb] | 105 | <literal>&font-util-md5sum; font-util-&font-util-version;.tar.bz2
|
---|
[5287b7c] | 106 | &encodings-md5sum; encodings-&encodings-version;.tar.bz2
|
---|
| 107 | &font-alias-md5sum; font-alias-&font-alias-version;.tar.bz2
|
---|
[124f752c] | 108 | &font-adobe-utopia-type1-md5sum; font-adobe-utopia-type1-&font-adobe-utopia-type1-version;.tar.bz2
|
---|
[5287b7c] | 109 | &font-bh-ttf-md5sum; font-bh-ttf-&font-bh-ttf-version;.tar.bz2
|
---|
| 110 | &font-bh-type1-md5sum; font-bh-type1-&font-bh-type1-version;.tar.bz2
|
---|
| 111 | &font-ibm-type1-md5sum; font-ibm-type1-&font-ibm-type1-version;.tar.bz2
|
---|
| 112 | &font-misc-ethiopic-md5sum; font-misc-ethiopic-&font-misc-ethiopic-version;.tar.bz2
|
---|
[7a361cb] | 113 | &font-xfree86-type1-md5sum; font-xfree86-type1-&font-xfree86-type1-version;.tar.bz2</literal>
|
---|
[5287b7c] | 114 | EOF</userinput></screen>
|
---|
| 115 |
|
---|
[3f72a148] | 116 | <para>To download the needed files using <application>wget</application>,
|
---|
| 117 | use the following commands:</para>
|
---|
| 118 |
|
---|
[4487494] | 119 | <screen><userinput>mkdir font &&
|
---|
[3f72a148] | 120 | cd font &&
|
---|
[5287b7c] | 121 | grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}' | wget -i- -c \
|
---|
[0269d30] | 122 | -B &xorg-download-http;/font/ &&
|
---|
[5287b7c] | 123 | md5sum -c ../font-&xorg-version;.md5</userinput></screen>
|
---|
[3f72a148] | 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="installation">
|
---|
| 128 | <title>Installation of Xorg Fonts</title>
|
---|
| 129 |
|
---|
[33cbd93a] | 130 | &as_root;
|
---|
| 131 |
|
---|
[5287b7c] | 132 | <para>First, start a subshell that will exit on error:</para>
|
---|
| 133 |
|
---|
| 134 | <screen><userinput>bash -e</userinput></screen>
|
---|
[3f72a148] | 135 |
|
---|
[7a361cb] | 136 | <para>Install all of the packages by running the following
|
---|
[5287b7c] | 137 | commands:</para>
|
---|
[3f72a148] | 138 |
|
---|
[5287b7c] | 139 | <screen><userinput>for package in $(grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}')
|
---|
| 140 | do
|
---|
| 141 | packagedir=${package%.tar.bz2}
|
---|
| 142 | tar -xf $package
|
---|
[33cbd93a] | 143 | pushd $packagedir
|
---|
[6a5f9b3] | 144 | ./configure $XORG_CONFIG
|
---|
| 145 | make
|
---|
| 146 | as_root make install
|
---|
[33cbd93a] | 147 | popd
|
---|
[cbddee1] | 148 | as_root rm -rf $packagedir
|
---|
[5287b7c] | 149 | done</userinput></screen>
|
---|
[ad54ac8] | 150 |
|
---|
[5287b7c] | 151 | <para>Finally, exit the shell that was started earlier:</para>
|
---|
[3f72a148] | 152 |
|
---|
[5287b7c] | 153 | <screen><userinput>exit</userinput></screen>
|
---|
[3f72a148] | 154 |
|
---|
| 155 | <para>When all of the fonts have been installed, the system must be
|
---|
| 156 | configured so that <application>Fontconfig</application> can find the
|
---|
| 157 | TrueType fonts since they are outside of the default search path of
|
---|
| 158 | <filename class="directory">/usr/share/fonts</filename>. Make symlinks
|
---|
| 159 | to the <application>Xorg</application> TrueType font directories by
|
---|
| 160 | running the following commands as the
|
---|
| 161 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 162 |
|
---|
[a75f739] | 163 | <screen role="root"><userinput>install -v -d -m755 /usr/share/fonts &&
|
---|
| 164 | ln -svfn $XORG_PREFIX/share/fonts/X11/OTF /usr/share/fonts/X11-OTF &&
|
---|
| 165 | ln -svfn $XORG_PREFIX/share/fonts/X11/TTF /usr/share/fonts/X11-TTF</userinput></screen>
|
---|
[3f72a148] | 166 |
|
---|
| 167 | </sect2>
|
---|
| 168 |
|
---|
[a9a1915] | 169 | <sect2 role="content">
|
---|
| 170 | <title>Contents</title>
|
---|
| 171 |
|
---|
| 172 | <segmentedlist>
|
---|
| 173 | <segtitle>Installed Programs</segtitle>
|
---|
[759586e] | 174 | <segtitle>Installed Libraries</segtitle>
|
---|
[a9a1915] | 175 | <segtitle>Installed Directories</segtitle>
|
---|
| 176 |
|
---|
| 177 | <seglistitem>
|
---|
[f98a13d] | 178 | <seg>bdftruncate and ucs2any</seg>
|
---|
[759586e] | 179 | <seg>None</seg>
|
---|
[c8d6d76] | 180 | <seg><envar>$XORG_PREFIX</envar>/share/fonts</seg>
|
---|
[a9a1915] | 181 | </seglistitem>
|
---|
| 182 | </segmentedlist>
|
---|
| 183 |
|
---|
| 184 | <variablelist>
|
---|
| 185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 186 | <?dbfo list-presentation="list"?>
|
---|
| 187 | <?dbhtml list-presentation="table"?>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="bdftruncate-x7">
|
---|
| 190 | <term><command>bdftruncate</command></term>
|
---|
| 191 | <listitem>
|
---|
[f98a13d] | 192 | <para>generates a truncated BDF font from an ISO 10646-1 encoded
|
---|
[a9a1915] | 193 | BDF font.</para>
|
---|
| 194 | <indexterm zone="xorg7-font bdftruncate-x7">
|
---|
| 195 | <primary sortas="b-bdftruncate">bdftruncate</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
[f98a13d] | 200 | <varlistentry id="ucs2any-x7">
|
---|
| 201 | <term><command>ucs2any</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>generates BDF fonts in any encoding from an ISO 10646-1 encoded
|
---|
| 204 | BDF font.</para>
|
---|
| 205 | <indexterm zone="xorg7-font ucs2any-x7">
|
---|
| 206 | <primary sortas="b-ucs2any">ucs2any</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
[a9a1915] | 211 | </variablelist>
|
---|
| 212 |
|
---|
| 213 | </sect2>
|
---|
| 214 |
|
---|
[3f72a148] | 215 | </sect1>
|
---|