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