[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 |
|
---|
[61c95bf] | 13 | <!ENTITY encodings-version "1.0.6">
|
---|
| 14 | <!ENTITY encodings-md5sum "c2bcfdc52b8b6462228342cedae2fed9">
|
---|
[5287b7c] | 15 |
|
---|
| 16 | <!ENTITY font-adobe-utopia-type1-version "1.0.4">
|
---|
| 17 | <!ENTITY font-adobe-utopia-type1-md5sum "fcf24554c348df3c689b91596d7f9971">
|
---|
| 18 |
|
---|
[a2d379c] | 19 | <!ENTITY font-alias-version "1.0.4">
|
---|
| 20 | <!ENTITY font-alias-md5sum "0497de0176a0dfa5fac2b0552a4cf380">
|
---|
[5287b7c] | 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 |
|
---|
[a2d379c] | 31 | <!ENTITY font-misc-ethiopic-version "1.0.4">
|
---|
| 32 | <!ENTITY font-misc-ethiopic-md5sum "4ee18ab6c1edf636b8e75b73e6037371">
|
---|
[5287b7c] | 33 |
|
---|
[61c95bf] | 34 | <!ENTITY font-util-version "1.3.3">
|
---|
| 35 | <!ENTITY font-util-md5sum "d92913afdcd8ac008225a8bd06488702">
|
---|
[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 |
|
---|
| 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 |
|
---|
[aa0b625] | 63 | &lfs112_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
|
---|
[5287b7c] | 117 | &font-alias-md5sum; font-alias-&font-alias-version;.tar.bz2
|
---|
[124f752c] | 118 | &font-adobe-utopia-type1-md5sum; font-adobe-utopia-type1-&font-adobe-utopia-type1-version;.tar.bz2
|
---|
[5287b7c] | 119 | &font-bh-ttf-md5sum; font-bh-ttf-&font-bh-ttf-version;.tar.bz2
|
---|
| 120 | &font-bh-type1-md5sum; font-bh-type1-&font-bh-type1-version;.tar.bz2
|
---|
| 121 | &font-ibm-type1-md5sum; font-ibm-type1-&font-ibm-type1-version;.tar.bz2
|
---|
| 122 | &font-misc-ethiopic-md5sum; font-misc-ethiopic-&font-misc-ethiopic-version;.tar.bz2
|
---|
[7a361cb] | 123 | &font-xfree86-type1-md5sum; font-xfree86-type1-&font-xfree86-type1-version;.tar.bz2</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
|
---|
[4fa25c5] | 175 | TrueType fonts. Since they are outside of the default search path of
|
---|
| 176 | <emphasis role="bold">if <envar>XORG_PREFIX</envar> is not
|
---|
[b83af874] | 177 | <filename class="directory">/usr</filename></emphasis>, make symlinks
|
---|
| 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>
|
---|