source: x/installing/x7font.xml@ a2d379c

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since a2d379c was a2d379c, checked in by Bruce Dubbs <bdubbs@…>, 15 months ago

Update to mlt-6.22.1.
Update to rsync-3.2.3.
Update to font-alias font-misc-ethiopic 1.0.4 (Xorg fonts).

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23470 af4574ff-66df-0310-9fd7-8a98e5e911e0

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