source: x/installing/x7font.xml@ e5324803

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since e5324803 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • 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.6">
14 <!ENTITY encodings-md5sum "c2bcfdc52b8b6462228342cedae2fed9">
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.3">
35 <!ENTITY font-util-md5sum "d92913afdcd8ac008225a8bd06488702">
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
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 &lfs112_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 <para condition="html" role="usernotes">User Notes:
102 <ulink url='&blfs-wiki;/Xorg7Fonts'/></para>
103
104 </sect2>
105
106 <sect2>
107 <title>Downloading Xorg Fonts</title>
108
109 <para>
110 First, create a list of files to be downloaded. This file will also
111 be used to verify the integrity of the downloads when complete:
112 </para>
113
114<screen><userinput>cat &gt; font-&xorg-version;.md5 &lt;&lt; "EOF"
115<literal>&font-util-md5sum; font-util-&font-util-version;.tar.xz
116&encodings-md5sum; encodings-&encodings-version;.tar.xz
117&font-alias-md5sum; font-alias-&font-alias-version;.tar.bz2
118&font-adobe-utopia-type1-md5sum; font-adobe-utopia-type1-&font-adobe-utopia-type1-version;.tar.bz2
119&font-bh-ttf-md5sum; font-bh-ttf-&font-bh-ttf-version;.tar.bz2
120&font-bh-type1-md5sum; font-bh-type1-&font-bh-type1-version;.tar.bz2
121&font-ibm-type1-md5sum; font-ibm-type1-&font-ibm-type1-version;.tar.bz2
122&font-misc-ethiopic-md5sum; font-misc-ethiopic-&font-misc-ethiopic-version;.tar.bz2
123&font-xfree86-type1-md5sum; font-xfree86-type1-&font-xfree86-type1-version;.tar.bz2</literal>
124EOF</userinput></screen>
125
126 <para>
127 To download the needed files using <application>wget</application>,
128 use the following commands:
129 </para>
130
131<screen><userinput>mkdir font &amp;&amp;
132cd font &amp;&amp;
133grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}' | wget -i- -c \
134 -B &xorg-download-http;/font/ &amp;&amp;
135md5sum -c ../font-&xorg-version;.md5</userinput></screen>
136
137 </sect2>
138
139 <sect2 role="installation">
140 <title>Installation of Xorg Fonts</title>
141
142&as_root;
143
144 <para>
145 First, start a subshell that will exit on error:
146 </para>
147
148<screen><userinput>bash -e</userinput></screen>
149
150 <para>
151 Install all of the packages by running the following commands:
152 </para>
153
154<screen><userinput>for package in $(grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}')
155do
156 packagedir=${package%.tar.?z*}
157 tar -xf $package
158 pushd $packagedir
159 ./configure $XORG_CONFIG
160 make
161 as_root make install
162 popd
163 as_root rm -rf $packagedir
164done</userinput></screen>
165
166 <para>
167 Finally, exit the shell that was started earlier:
168 </para>
169
170<screen><userinput>exit</userinput></screen>
171
172 <para>
173 When all of the fonts have been installed, the system must be
174 configured so that <application>Fontconfig</application> can find the
175 TrueType fonts. since they are outside of the default search path of
176 <emphasis role="bold">If <envar>XORG_PREFIX</envar> is not
177 <filename class="directory">/usr</filename></emphasis>, make symlinks
178 to the <application>Xorg</application> TrueType font directories in
179 <filename class="directory">/usr/share/fonts</filename> by
180 running the following commands as the
181 <systemitem class="username">root</systemitem> user:
182 </para>
183
184<screen role="root"><userinput>install -v -d -m755 /usr/share/fonts &amp;&amp;
185ln -svfn $XORG_PREFIX/share/fonts/X11/OTF /usr/share/fonts/X11-OTF &amp;&amp;
186ln -svfn $XORG_PREFIX/share/fonts/X11/TTF /usr/share/fonts/X11-TTF</userinput></screen>
187
188 </sect2>
189
190 <sect2 role="content">
191 <title>Contents</title>
192
193 <segmentedlist>
194 <segtitle>Installed Programs</segtitle>
195 <segtitle>Installed Libraries</segtitle>
196 <segtitle>Installed Directories</segtitle>
197
198 <seglistitem>
199 <seg>bdftruncate and ucs2any</seg>
200 <seg>None</seg>
201 <seg><envar>$XORG_PREFIX</envar>/share/fonts</seg>
202 </seglistitem>
203 </segmentedlist>
204
205 <variablelist>
206 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
207 <?dbfo list-presentation="list"?>
208 <?dbhtml list-presentation="table"?>
209
210 <varlistentry id="bdftruncate-x7">
211 <term><command>bdftruncate</command></term>
212 <listitem>
213 <para>
214 generates a truncated BDF font from an ISO 10646-1 encoded BDF font
215 </para>
216 <indexterm zone="xorg7-font bdftruncate-x7">
217 <primary sortas="b-bdftruncate">bdftruncate</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="ucs2any-x7">
223 <term><command>ucs2any</command></term>
224 <listitem>
225 <para>
226 generates BDF fonts in any encoding from an ISO 10646-1 encoded
227 BDF font
228 </para>
229 <indexterm zone="xorg7-font ucs2any-x7">
230 <primary sortas="b-ucs2any">ucs2any</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 </variablelist>
236
237 </sect2>
238
239</sect1>
Note: See TracBrowser for help on using the repository browser.