source: general/graphlib/freetype2.xml@ 15b3bc29

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 15b3bc29 was 15b3bc29, checked in by Randy McMurchy <randy@…>, 17 years ago

Modified all the Sourceforge download links to use the new standard Sourceforge has implemented

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

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