source: general/graphlib/freetype2.xml@ 4c77a949

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 4c77a949 was 4c77a949, checked in by Andrew Benton <andy@…>, 12 years ago

a bunch of lfs71_checked

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

  • Property mode set to 100644
File size: 6.0 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 freetype2-download-http "&sourceforge-repo;/freetype/freetype-&freetype2-version;.tar.bz2">
8 <!ENTITY freetype2-download-ftp "&gentoo-ftp-repo;/freetype-&freetype2-version;.tar.bz2">
9 <!ENTITY freetype2-md5sum "dbf2caca1d3afd410a29217a9809d397">
10 <!ENTITY freetype2-size "1.4 MB">
11 <!ENTITY freetype2-buildsize "41 MB (includes installing additional documentation)">
12 <!ENTITY freetype2-time "0.3 SBU">
13
14 <!ENTITY freetype2-doc-download-http "&sourceforge-repo;/freetype/freetype-doc-&freetype2-version;.tar.bz2">
15 <!ENTITY freetype2-doc-download-ftp "&gentoo-ftp-repo;/freetype-doc-&freetype2-version;.tar.bz2">
16 <!ENTITY freetype2-doc-md5sum "538c925059e90be23928b454c14df728">
17 <!ENTITY freetype2-doc-size "105 KB">
18]>
19
20<sect1 id="freetype2" xreflabel="FreeType-&freetype2-version;">
21 <?dbhtml filename="freetype2.html"?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
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 &lfs71_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&freetype2-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&freetype2-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &freetype2-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &freetype2-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &freetype2-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &freetype2-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
66 <itemizedlist spacing="compact">
67 <title>Additional Documentation</title>
68 <listitem>
69 <para>Download (HTTP): <ulink url="&freetype2-doc-download-http;"/></para>
70 </listitem>
71 <listitem>
72 <para>Download (FTP): <ulink url="&freetype2-doc-download-ftp;"/></para>
73 </listitem>
74 <listitem>
75 <para>Download MD5 sum: &freetype2-doc-md5sum;</para>
76 </listitem>
77 <listitem>
78 <para>Download size: &freetype2-doc-size;</para>
79 </listitem>
80 </itemizedlist>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/freetype2"/></para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of FreeType2</title>
89
90 <para>If you downloaded the additional documentation, unpack it into the
91 source tree using the following command:</para>
92
93<screen><userinput>tar -xf ../freetype-doc-&freetype2-version;.tar.bz2 \
94 --strip-components=2 -C docs</userinput></screen>
95
96 <para>Install <application>FreeType2</application> by running the following
97 commands:</para>
98
99<screen><userinput>sed -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:' \
100 include/freetype/config/ftoption.h &amp;&amp;
101./configure --prefix=/usr &amp;&amp;
102make</userinput></screen>
103
104 <para>This package does not come with a test suite.</para>
105
106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
107
108<screen role="root"><userinput>make install &amp;&amp;
109install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &amp;&amp;
110cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version;</userinput></screen>
111
112 </sect2>
113
114 <sect2 role="commands">
115 <title>Command Explanations</title>
116
117 <para><command>sed -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:'
118 include/freetype/config/ftoption.h</command>:
119 This command enables LCD optimized rendering. This option results in improved
120 rendering of fonts, but may have patent restrictions. Be sure to read the
121 <literal>'Other patent issues'</literal> part of
122 <ulink url="http://www.freetype.org/patents.html"/> before enabling this
123 option.</para>
124
125 </sect2>
126
127 <sect2 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Program</segtitle>
132 <segtitle>Installed Library</segtitle>
133 <segtitle>Installed Directories</segtitle>
134
135 <seglistitem>
136 <seg>freetype-config</seg>
137 <seg>libfreetype.{so,a}</seg>
138 <seg>/usr/include/freetype2 and /usr/share/doc/freetype-&freetype2-version;</seg>
139 </seglistitem>
140 </segmentedlist>
141
142 <variablelist>
143 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
144 <?dbfo list-presentation="list"?>
145 <?dbhtml list-presentation="table"?>
146
147 <varlistentry id="freetype-config">
148 <term><command>freetype-config</command></term>
149 <listitem>
150 <para>is used to get <application>FreeType</application> compilation
151 and linking information.</para>
152 <indexterm zone="freetype2 freetype-config">
153 <primary sortas="b-freetype-config">freetype-config</primary>
154 </indexterm>
155 </listitem>
156 </varlistentry>
157
158 <varlistentry id="libfreetype">
159 <term><filename class='libraryfile'>libfreetype.{so,a}</filename></term>
160 <listitem>
161 <para>contains functions for rendering various font types, such
162 as TrueType and Type1.</para>
163 <indexterm zone="freetype2 libfreetype">
164 <primary sortas="c-libfreetype">libfreetype.{so,a}</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 </variablelist>
170
171 </sect2>
172
173</sect1>
Note: See TracBrowser for help on using the repository browser.