source: x/installing/x7font.xml@ e180a646

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 e180a646 was e180a646, checked in by Ken Moffat <ken@…>, 7 years ago

For a' that, an a' that,
It's coming yet for a' that,
That ilka body the world o'er,
Can use Guid Fonts for a' that.

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

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