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