source: x/installing/x7font.xml@ eede1a3

11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since eede1a3 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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