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