source: x/installing/x7font.xml

trunk
Last change on this file was 3f40f5a, checked in by Bruce Dubbs <bdubbs@…>, 7 weeks ago

Update to encodings-1.1.0 (Xorg Font).

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