1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY x7fonts-download-http "http://xorg.freedesktop.org/releases/individual/font/">
|
---|
8 | <!ENTITY x7fonts-download-ftp "">
|
---|
9 | <!ENTITY x7fonts-md5sum "http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/files/md5sums">
|
---|
10 | <!ENTITY x7fonts-size "13.5 MB">
|
---|
11 | <!ENTITY x7fonts-buildsize "90.4 MB">
|
---|
12 | <!ENTITY x7fonts-time "1.82 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="xorg7-font" xreflabel="Xorg Fonts">
|
---|
16 | <?dbhtml filename="x7font.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy: dj $</othername>
|
---|
20 | <date>$Date: 2006-04-15 23:04:51 -0500 (Sat, 15 Apr 2006) $</date>
|
---|
21 | <!-- <keywordset>
|
---|
22 | <keyword role="package">X11R&xorg7-version;-src.tar</keyword>
|
---|
23 | <keyword role="ftpdir">Xorg7</keyword>
|
---|
24 | </keywordset>
|
---|
25 | ########## Need a way to fix this on the mirrors ##########
|
---|
26 | ##### Maybe a single tarball is the way to handle it ######
|
---|
27 | -->
|
---|
28 |
|
---|
29 |
|
---|
30 | </sect1info>
|
---|
31 |
|
---|
32 | <title>Xorg Fonts</title>
|
---|
33 |
|
---|
34 | <indexterm zone="xorg7-font">
|
---|
35 | <primary sortas="a-xorg7-font">Xorg Fonts</primary>
|
---|
36 | </indexterm>
|
---|
37 |
|
---|
38 | <para>The <application>Xorg</application> font packages provide
|
---|
39 | needed fonts to the <application>Xorg</application> applications.</para>
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>Download (HTTP): <ulink url="&x7fonts-download-http;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download (FTP): <ulink url="&x7fonts-download-ftp;"/></para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download MD5 sum: <ulink url="&x7fonts-md5sum;"/></para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Download size: &x7fonts-size;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated disk space required: &x7fonts-buildsize;</para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>Estimated build time: &x7fonts-time;</para>
|
---|
60 | </listitem>
|
---|
61 | </itemizedlist>
|
---|
62 |
|
---|
63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
64 | <para role="required"><xref linkend="xorg7-data"/> and
|
---|
65 | <xref linkend="xorg7-app"/></para>
|
---|
66 |
|
---|
67 | <para condition="html" role="usernotes">User Notes:
|
---|
68 | <ulink url='&blfs-wiki;/Xorg7Fonts'/></para>
|
---|
69 |
|
---|
70 | <sect2>
|
---|
71 | <title>Downloading Xorg Fonts</title>
|
---|
72 |
|
---|
73 | <para>To download the needed files using <application>wget</application>,
|
---|
74 | use the following commands:</para>
|
---|
75 |
|
---|
76 | <screen><userinput>wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/font.wget &&
|
---|
77 | mkdir font &&
|
---|
78 | cd font &&
|
---|
79 | wget -B http://xorg.freedesktop.org/releases/individual/font/ -i ../font.wget</userinput></screen>
|
---|
80 |
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2 role="installation">
|
---|
84 | <title>Installation of Xorg Fonts</title>
|
---|
85 |
|
---|
86 | <para>Run the following commands for each package:</para>
|
---|
87 |
|
---|
88 | <note>
|
---|
89 | <para>You should install encodings first, and then font-util before all
|
---|
90 | other font packages.</para>
|
---|
91 | </note>
|
---|
92 |
|
---|
93 | <screen><userinput>./configure $XORG_CONFIG &&
|
---|
94 | make</userinput></screen>
|
---|
95 |
|
---|
96 | <para>Now as the <systemitem class="username">root</systemitem>
|
---|
97 | user:</para>
|
---|
98 |
|
---|
99 | <screen><userinput role="root">make install</userinput></screen>
|
---|
100 |
|
---|
101 | <para>When all of the fonts have been installed, the system must be
|
---|
102 | configured so that <application>Fontconfig</application> can find the
|
---|
103 | TrueType fonts since they are outside of the default search path of
|
---|
104 | <filename class="directory">/usr/share/fonts</filename>. Make symlinks
|
---|
105 | to the <application>Xorg</application> TrueType font directories by
|
---|
106 | running the following commands as the
|
---|
107 | <systemitem class="username">root</systemitem> user:</para>
|
---|
108 |
|
---|
109 | <screen><userinput role="root">install -v -d -m755 /usr/share/fonts &&
|
---|
110 | ln -svn $XORG_PREFIX/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &&
|
---|
111 | ln -svn $XORG_PREFIX/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF</userinput></screen>
|
---|
112 |
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | </sect1>
|
---|