source: x/installing/x7font.xml@ 9c1319c

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 9c1319c was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 8 months ago

Remove all ftp urls

neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...

  • Property mode set to 100644
File size: 7.6 KB
RevLine 
[3f72a148]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f72a148]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[0269d30]7 <!ENTITY x7fonts-download-http "&xorg-download-http;/font/">
[e1e58be]8 <!ENTITY x7fonts-download-ftp " ">
[124f752c]9 <!ENTITY x7fonts-size "3.0 MB">
10 <!ENTITY x7fonts-buildsize "8.8 MB">
11 <!ENTITY x7fonts-time "0.1 SBU">
[5287b7c]12
[233661a]13 <!ENTITY encodings-version "1.0.7">
14 <!ENTITY encodings-md5sum "357d91d87c5d5a1ac3ea4e6a6daf833d">
[5287b7c]15
[233661a]16 <!ENTITY font-adobe-utopia-type1-version "1.0.5">
17 <!ENTITY font-adobe-utopia-type1-md5sum "546d17feab30d4e3abcf332b454f58ed">
[5287b7c]18
[233661a]19 <!ENTITY font-alias-version "1.0.5">
20 <!ENTITY font-alias-md5sum "79f4c023e27d1db1dfd90d041ce89835">
[5287b7c]21
[233661a]22 <!ENTITY font-bh-ttf-version "1.0.4">
23 <!ENTITY font-bh-ttf-md5sum "063bfa1456c8a68208bf96a33f472bb1">
[5287b7c]24
[233661a]25 <!ENTITY font-bh-type1-version "1.0.4">
26 <!ENTITY font-bh-type1-md5sum "51a17c981275439b85e15430a3d711ee">
[5287b7c]27
[233661a]28 <!ENTITY font-ibm-type1-version "1.0.4">
29 <!ENTITY font-ibm-type1-md5sum "00f64a84b6c9886040241e081347a853">
[5287b7c]30
[233661a]31 <!ENTITY font-misc-ethiopic-version "1.0.5">
32 <!ENTITY font-misc-ethiopic-md5sum "fe972eaf13176fa9aa7e74a12ecc801a">
[5287b7c]33
[587d641c]34 <!ENTITY font-util-version "1.4.1">
35 <!ENTITY font-util-md5sum "a6541d12ceba004c0c1e3df900324642">
[5287b7c]36
[233661a]37 <!ENTITY font-xfree86-type1-version "1.0.5">
38 <!ENTITY font-xfree86-type1-md5sum "3b47fed2c032af3a32aad9acc1d25150">
[5287b7c]39
[3f72a148]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
[5e8be1c]52 <sect2 role="package">
53 <title>Introduction to Xorg Fonts</title>
54
[71df408]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>
[5e8be1c]62
[f84ad2e]63 &lfs120_checked;
[a09d712e]64
[5e8be1c]65 <bridgehead renderas="sect3">Package Information</bridgehead>
66 <itemizedlist spacing="compact">
67 <listitem>
[71df408]68 <para>
69 Download (HTTP): <ulink url="&x7fonts-download-http;"/>
70 </para>
[5e8be1c]71 </listitem>
72 <listitem>
[71df408]73 <para>
74 Download (FTP): <ulink url="&x7fonts-download-ftp;"/>
75 </para>
[5e8be1c]76 </listitem>
77 <listitem>
[71df408]78 <para>
79 Download size: &x7fonts-size;
80 </para>
[5e8be1c]81 </listitem>
82 <listitem>
[71df408]83 <para>
84 Estimated disk space required: &x7fonts-buildsize;
85 </para>
[5e8be1c]86 </listitem>
87 <listitem>
[71df408]88 <para>
89 Estimated build time: &x7fonts-time;
90 </para>
[5e8be1c]91 </listitem>
92 </itemizedlist>
93
[bb535fde]94 <bridgehead renderas="sect3">Xorg Fonts Dependencies</bridgehead>
95
[5e8be1c]96 <bridgehead renderas="sect4">Required</bridgehead>
[148487d]97 <para role="required">
98 <xref linkend="xcursor-themes"/>
99 </para>
[5e8be1c]100
101 </sect2>
[10eeae12]102
[3f72a148]103 <sect2>
104 <title>Downloading Xorg Fonts</title>
105
[71df408]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>
[5287b7c]110
111<screen><userinput>cat &gt; font-&xorg-version;.md5 &lt;&lt; "EOF"
[61c95bf]112<literal>&font-util-md5sum; font-util-&font-util-version;.tar.xz
113&encodings-md5sum; encodings-&encodings-version;.tar.xz
[233661a]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>
[5287b7c]121EOF</userinput></screen>
122
[71df408]123 <para>
[50bf1ac]124 To download the needed files using <xref linkend='wget'/>,
[71df408]125 use the following commands:
126 </para>
[3f72a148]127
[4487494]128<screen><userinput>mkdir font &amp;&amp;
[3f72a148]129cd font &amp;&amp;
[5287b7c]130grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}' | wget -i- -c \
[0269d30]131 -B &xorg-download-http;/font/ &amp;&amp;
[5287b7c]132md5sum -c ../font-&xorg-version;.md5</userinput></screen>
[3f72a148]133
134 </sect2>
135
136 <sect2 role="installation">
137 <title>Installation of Xorg Fonts</title>
138
[33cbd93a]139&as_root;
140
[71df408]141 <para>
142 First, start a subshell that will exit on error:
143 </para>
[5287b7c]144
145<screen><userinput>bash -e</userinput></screen>
[3f72a148]146
[71df408]147 <para>
148 Install all of the packages by running the following commands:
149 </para>
[3f72a148]150
[5287b7c]151<screen><userinput>for package in $(grep -v '^#' ../font-&xorg-version;.md5 | awk '{print $2}')
152do
[61c95bf]153 packagedir=${package%.tar.?z*}
[5287b7c]154 tar -xf $package
[33cbd93a]155 pushd $packagedir
[6a5f9b3]156 ./configure $XORG_CONFIG
157 make
158 as_root make install
[33cbd93a]159 popd
[cbddee1]160 as_root rm -rf $packagedir
[5287b7c]161done</userinput></screen>
[ad54ac8]162
[71df408]163 <para>
164 Finally, exit the shell that was started earlier:
165 </para>
[3f72a148]166
[5287b7c]167<screen><userinput>exit</userinput></screen>
[3f72a148]168
[71df408]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
[2ad1b08]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
[b83af874]175 to the <application>Xorg</application> TrueType font directories in
176 <filename class="directory">/usr/share/fonts</filename> by
[71df408]177 running the following commands as the
178 <systemitem class="username">root</systemitem> user:
179 </para>
[3f72a148]180
[a75f739]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>
[3f72a148]184
185 </sect2>
186
[a9a1915]187 <sect2 role="content">
188 <title>Contents</title>
189
190 <segmentedlist>
191 <segtitle>Installed Programs</segtitle>
[759586e]192 <segtitle>Installed Libraries</segtitle>
[a9a1915]193 <segtitle>Installed Directories</segtitle>
194
195 <seglistitem>
[f98a13d]196 <seg>bdftruncate and ucs2any</seg>
[759586e]197 <seg>None</seg>
[c8d6d76]198 <seg><envar>$XORG_PREFIX</envar>/share/fonts</seg>
[a9a1915]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>
[71df408]210 <para>
[4c24eb0a]211 generates a truncated BDF font from an ISO 10646-1 encoded BDF font
[71df408]212 </para>
[a9a1915]213 <indexterm zone="xorg7-font bdftruncate-x7">
214 <primary sortas="b-bdftruncate">bdftruncate</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
[f98a13d]219 <varlistentry id="ucs2any-x7">
220 <term><command>ucs2any</command></term>
221 <listitem>
[71df408]222 <para>
223 generates BDF fonts in any encoding from an ISO 10646-1 encoded
[4c24eb0a]224 BDF font
[71df408]225 </para>
[f98a13d]226 <indexterm zone="xorg7-font ucs2any-x7">
227 <primary sortas="b-ucs2any">ucs2any</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
[a9a1915]232 </variablelist>
233
234 </sect2>
235
[3f72a148]236</sect1>
Note: See TracBrowser for help on using the repository browser.