source: general/graphlib/freetype2.xml@ 1039de3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1039de3 was 1039de3, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #3

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

  • Property mode set to 100644
File size: 5.5 KB
Line 
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 freetype2-download-http "http://prdownloads.sourceforge.net/freetype/freetype-&freetype2-version;.tar.bz2">
8 <!ENTITY freetype2-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/freetype-&freetype2-version;.tar.bz2">
9 <!ENTITY freetype2-md5sum "a4012e7d1f6400df44a16743b11b8423">
10 <!ENTITY freetype2-size "1.0 MB">
11 <!ENTITY freetype2-buildsize "25.0 MB (includes installing additional documentation)">
12 <!ENTITY freetype2-time "0.4 SBU">
13 <!ENTITY freetype2-doc-download "http://prdownloads.sourceforge.net/freetype/freetype-doc-&freetype2-version;.tar.bz2">
14]>
15
16<sect1 id="freetype2" xreflabel="FreeType-&freetype2-version;">
17 <?dbhtml filename="freetype2.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 <keywordset>
23 <keyword role="package">freetype-&freetype2-version;.tar</keyword>
24 <keyword role="ftpdir">freetype</keyword>
25 </keywordset>
26 </sect1info>
27
28 <title>FreeType-&freetype2-version;</title>
29
30 <indexterm zone="freetype2">
31 <primary sortas="a-FreeType">FreeType</primary>
32 </indexterm>
33
34 <sect2 role="package">
35 <title>Introduction to FreeType2</title>
36
37 <para>The <application>FreeType2</application> package
38 contains a library to allow applications to properly render
39 <application>TrueType</application> fonts.</para>
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&freetype2-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&freetype2-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &freetype2-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &freetype2-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &freetype2-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &freetype2-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
64 <itemizedlist spacing="compact">
65 <listitem>
66 <para>Additional documentation: <ulink
67 url="&freetype2-doc-download;"/></para>
68 </listitem>
69 </itemizedlist>
70
71 <para condition="html" role="usernotes">User Notes:
72 <ulink url="&blfs-wiki;/freetype2"/></para>
73
74 </sect2>
75
76 <sect2 role="installation">
77 <title>Installation of FreeType2</title>
78
79 <para>If you downloaded the additional documentation, unpack it into the
80 source tree using the following command:</para>
81
82<screen><userinput>tar xf ../freetype-doc-&freetype2-version;.tar.bz2 \
83 --strip-components=2 -C docs</userinput></screen>
84
85 <para>Install <application>FreeType2</application> by running the following
86 commands:</para>
87
88<screen><userinput>sed -i -r 's:.*(#.*BYTE.*) .*:\1:' \
89 include/freetype/config/ftoption.h &amp;&amp;
90./configure --prefix=/usr &amp;&amp;
91make</userinput></screen>
92
93 <para>This package does not come with a test suite.</para>
94
95 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
96
97<screen role="root"><userinput>make install &amp;&amp;
98install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &amp;&amp;
99cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
100
101 </sect2>
102
103 <sect2 role="commands">
104 <title>Command Explanations</title>
105
106 <para><command>sed -i -r 's:.*(#.*BYTE.*) .*:\1:'
107 include/freetype/config/ftoption.h</command>: This command enables the
108 built-in TrueType bytecode interpreter which in turn enables hinting of
109 TrueType glyphs. Enabling the interpreter results in much better rendering
110 of TrueType fonts.</para>
111
112 </sect2>
113
114 <sect2 role="content">
115 <title>Contents</title>
116
117 <segmentedlist>
118 <segtitle>Installed Program</segtitle>
119 <segtitle>Installed Library</segtitle>
120 <segtitle>Installed Directory</segtitle>
121
122 <seglistitem>
123 <seg>freetype-config</seg>
124 <seg>libfreetype.{so,a}</seg>
125 <seg>/usr/include/freetype2</seg>
126 </seglistitem>
127 </segmentedlist>
128
129 <variablelist>
130 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
131 <?dbfo list-presentation="list"?>
132 <?dbhtml list-presentation="table"?>
133
134 <varlistentry id="freetype-config">
135 <term><command>freetype-config</command></term>
136 <listitem>
137 <para>is used to get <application>FreeType</application> compilation
138 and linking information.</para>
139 <indexterm zone="freetype2 freetype-config">
140 <primary sortas="b-freetype-config">freetype-config</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 <varlistentry id="libfreetype">
146 <term><filename class='libraryfile'>libfreetype.{so,a}</filename></term>
147 <listitem>
148 <para>contains functions to add <application>TrueType</application>
149 font capabilities to the X Window system.</para>
150 <indexterm zone="freetype2 libfreetype">
151 <primary sortas="c-libfreetype">libfreetype.{so,a}</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 </variablelist>
157
158 </sect2>
159
160</sect1>
Note: See TracBrowser for help on using the repository browser.