1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY x7fonts-download-http "&xorg-download-http;/font/">
|
---|
8 | <!ENTITY x7fonts-download-ftp "&xorg-download-ftp;/font/">
|
---|
9 | <!ENTITY x7fonts-size "3.0 MB">
|
---|
10 | <!ENTITY x7fonts-buildsize "8.8 MB">
|
---|
11 | <!ENTITY x7fonts-time "0.1 SBU">
|
---|
12 |
|
---|
13 | <!ENTITY encodings-version "1.0.5">
|
---|
14 | <!ENTITY encodings-md5sum "bbae4f247b88ccde0e85ed6a403da22a">
|
---|
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 |
|
---|
34 | <!ENTITY font-util-version "1.3.2">
|
---|
35 | <!ENTITY font-util-md5sum "3d6adb76fdd072db8c8fae41b40855e8">
|
---|
36 |
|
---|
37 | <!ENTITY font-xfree86-type1-version "1.0.4">
|
---|
38 | <!ENTITY font-xfree86-type1-md5sum "3eeb3fb44690b477d510bbd8f86cf5aa">
|
---|
39 |
|
---|
40 | ]>
|
---|
41 |
|
---|
42 | <sect1 id="xorg7-font" xreflabel="Xorg Fonts">
|
---|
43 | <?dbhtml filename="x7font.html"?>
|
---|
44 |
|
---|
45 | <sect1info>
|
---|
46 | <othername>$LastChangedBy$</othername>
|
---|
47 | <date>$Date$</date>
|
---|
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 |
|
---|
56 | <sect2 role="package">
|
---|
57 | <title>Introduction to Xorg Fonts</title>
|
---|
58 |
|
---|
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
|
---|
63 | linkend="TTF-and-OTF-fonts"/>.</para>
|
---|
64 |
|
---|
65 | &lfs90_checked;
|
---|
66 |
|
---|
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 |
|
---|
86 | <bridgehead renderas="sect3">Xorg Fonts Dependencies</bridgehead>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
89 | <para role="required">
|
---|
90 | <xref linkend="xcursor-themes"/>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <para condition="html" role="usernotes">User Notes:
|
---|
94 | <ulink url='&blfs-wiki;/Xorg7Fonts'/></para>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2>
|
---|
99 | <title>Downloading Xorg Fonts</title>
|
---|
100 |
|
---|
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"
|
---|
105 | <literal>&font-util-md5sum; font-util-&font-util-version;.tar.bz2
|
---|
106 | &encodings-md5sum; encodings-&encodings-version;.tar.bz2
|
---|
107 | &font-alias-md5sum; font-alias-&font-alias-version;.tar.bz2
|
---|
108 | &font-adobe-utopia-type1-md5sum; font-adobe-utopia-type1-&font-adobe-utopia-type1-version;.tar.bz2
|
---|
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
|
---|
113 | &font-xfree86-type1-md5sum; font-xfree86-type1-&font-xfree86-type1-version;.tar.bz2</literal>
|
---|
114 | EOF</userinput></screen>
|
---|
115 |
|
---|
116 | <para>To download the needed files using <application>wget</application>,
|
---|
117 | use the following commands:</para>
|
---|
118 |
|
---|
119 | <screen><userinput>mkdir font &&
|
---|
120 | cd font &&
|
---|
121 | grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}' | wget -i- -c \
|
---|
122 | -B &xorg-download-http;/font/ &&
|
---|
123 | md5sum -c ../font-&xorg-version;.md5</userinput></screen>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="installation">
|
---|
128 | <title>Installation of Xorg Fonts</title>
|
---|
129 |
|
---|
130 | &as_root;
|
---|
131 |
|
---|
132 | <para>First, start a subshell that will exit on error:</para>
|
---|
133 |
|
---|
134 | <screen><userinput>bash -e</userinput></screen>
|
---|
135 |
|
---|
136 | <para>Install all of the packages by running the following
|
---|
137 | commands:</para>
|
---|
138 |
|
---|
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
|
---|
143 | pushd $packagedir
|
---|
144 | ./configure $XORG_CONFIG
|
---|
145 | make
|
---|
146 | as_root make install
|
---|
147 | popd
|
---|
148 | as_root rm -rf $packagedir
|
---|
149 | done</userinput></screen>
|
---|
150 |
|
---|
151 | <para>Finally, exit the shell that was started earlier:</para>
|
---|
152 |
|
---|
153 | <screen><userinput>exit</userinput></screen>
|
---|
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 |
|
---|
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>
|
---|
166 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | <sect2 role="content">
|
---|
170 | <title>Contents</title>
|
---|
171 |
|
---|
172 | <segmentedlist>
|
---|
173 | <segtitle>Installed Programs</segtitle>
|
---|
174 | <segtitle>Installed Libraries</segtitle>
|
---|
175 | <segtitle>Installed Directories</segtitle>
|
---|
176 |
|
---|
177 | <seglistitem>
|
---|
178 | <seg>bdftruncate and ucs2any</seg>
|
---|
179 | <seg>None</seg>
|
---|
180 | <seg><envar>$XORG_PREFIX</envar>/share/fonts</seg>
|
---|
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>
|
---|
192 | <para>generates a truncated BDF font from an ISO 10646-1 encoded
|
---|
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 |
|
---|
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 |
|
---|
211 | </variablelist>
|
---|
212 |
|
---|
213 | </sect2>
|
---|
214 |
|
---|
215 | </sect1>
|
---|