source: general/graphlib/freetype2.xml@ 683821c2

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 683821c2 was 683821c2, checked in by Xi Ruoyao <xry111@…>, 3 years ago

update to harfbuzz-2.9.0, tag related font libs

  • Property mode set to 100644
File size: 8.1 KB
RevLine 
[52d29f7]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" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[7d3cd746]7 <!ENTITY freetype2-download-http "&sourceforge-dl;/freetype/freetype-&freetype2-version;.tar.xz">
8 <!ENTITY freetype2-download-ftp "&gentoo-ftp-repo;/freetype-&freetype2-version;.tar.xz">
[907ece5]9 <!ENTITY freetype2-md5sum "f931582653774e310ed3a7e49b7167a3">
10 <!ENTITY freetype2-size "2.2 MB">
11 <!ENTITY freetype2-buildsize "30 MB (with additional documentation)">
[b09ed46a]12 <!ENTITY freetype2-time "0.2 SBU (with additional documentation)">
[98f3c4f7]13
[b09ed46a]14 <!ENTITY freetype2-doc-version "&freetype2-version;">
[7d3cd746]15 <!ENTITY freetype2-doc-download-http "&sourceforge-dl;/freetype/freetype-doc-&freetype2-doc-version;.tar.xz">
16 <!ENTITY freetype2-doc-download-ftp "&gentoo-ftp-repo;/freetype-doc-&freetype2-doc-version;.tar.xz">
[907ece5]17 <!ENTITY freetype2-doc-md5sum "c61af913d48e89566c99cddfb8e4c158">
[eb1a6c7]18 <!ENTITY freetype2-doc-size "2.0 MB">
[52d29f7]19]>
20
[419dd50]21<sect1 id="freetype2" xreflabel="FreeType-&freetype2-version;">
[09da197]22 <?dbhtml filename="freetype2.html"?>
23
24 <sect1info>
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
[70c0ef4]37 <para>
38 The <application>FreeType2</application> package contains
39 a library which allows applications to properly render
40 <application>TrueType</application> fonts.
41 </para>
[09da197]42
[683821c2]43 &lfs110a_checked;
[95e6446]44
[09da197]45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
[70c0ef4]48 <para>
49 Download (HTTP): <ulink url="&freetype2-download-http;"/>
50 </para>
[09da197]51 </listitem>
[f0dfc28]52<!-- <listitem>
[70c0ef4]53 <para>
54 Download (FTP): <ulink url="&freetype2-download-ftp;"/>
55 </para>
[f0dfc28]56 </listitem> -->
[09da197]57 <listitem>
[70c0ef4]58 <para>
59 Download MD5 sum: &freetype2-md5sum;
60 </para>
[09da197]61 </listitem>
62 <listitem>
[70c0ef4]63 <para>
64 Download size: &freetype2-size;
65 </para>
[09da197]66 </listitem>
67 <listitem>
[70c0ef4]68 <para>
69 Estimated disk space required: &freetype2-buildsize;
70 </para>
[09da197]71 </listitem>
72 <listitem>
[70c0ef4]73 <para>
74 Estimated build time: &freetype2-time;
75 </para>
[09da197]76 </listitem>
77 </itemizedlist>
78
[9d3c5f1]79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
80 <itemizedlist spacing="compact">
[c6e8734]81 <title>Additional Documentation</title>
82 <listitem>
[70c0ef4]83 <para>
84 Download (HTTP): <ulink url="&freetype2-doc-download-http;"/>
85 </para>
[c6e8734]86 </listitem>
87 <listitem>
[70c0ef4]88 <para>
89 Download MD5 sum: &freetype2-doc-md5sum;
90 </para>
[c6e8734]91 </listitem>
[bccbdaea]92 <listitem>
[70c0ef4]93 <para>
94 Download size: &freetype2-doc-size;
95 </para>
[9d3c5f1]96 </listitem>
97 </itemizedlist>
98
[5edcd4b]99 <bridgehead renderas="sect3">FreeType2 Dependencies</bridgehead>
[a9ae025]100
[5edcd4b]101 <bridgehead renderas="sect4">Recommended</bridgehead>
102 <para role="recommended">
[a40b6988]103 <xref linkend="harfbuzz"/>
[d8377ddb]104 (first, install without it, after it is installed, reinstall
[a40b6988]105 <xref linkend="freetype2"/>),
106 <xref linkend="libpng"/>, and
107 <xref linkend="which"/>
[5edcd4b]108 </para>
109
[545518f]110 <bridgehead renderas="sect4">Optional</bridgehead>
111 <para role="optional">
112 <xref linkend="brotli"/>
113 </para>
114
[dff3a285]115 <bridgehead renderas="sect4">Optional (for documentation)</bridgehead>
116 <para role="optional">
117 <ulink url="https://pypi.org/project/docwriter/">docwriter</ulink>
118 </para>
119
[1039de3]120 <para condition="html" role="usernotes">User Notes:
[70c0ef4]121 <ulink url="&blfs-wiki;/freetype2"/>
122 </para>
[09da197]123 </sect2>
124
125 <sect2 role="installation">
126 <title>Installation of FreeType2</title>
127
[70c0ef4]128 <para>
129 If you downloaded the additional documentation, unpack it into the
130 source tree using the following command:
131 </para>
[9d3c5f1]132
[842348b0]133<screen><userinput>tar -xf ../freetype-doc-&freetype2-doc-version;.tar.xz --strip-components=2 -C docs</userinput></screen>
[9d3c5f1]134
[70c0ef4]135 <para>
136 Install <application>FreeType2</application> by running the following
137 commands:
138 </para>
[09da197]139
[df343952]140<screen><userinput>sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg &amp;&amp;
[98f3c4f7]141
[fcd1100]142sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" \
[a9ae025]143 -i include/freetype/config/ftoption.h &amp;&amp;
[98f3c4f7]144
[b037ef4]145./configure --prefix=/usr --enable-freetype-config --disable-static &amp;&amp;
[09da197]146make</userinput></screen>
147
[70c0ef4]148 <para>
149 This package does not come with a test suite.
150 </para>
[09da197]151
[70c0ef4]152 <para>
153 Now, as the <systemitem class="username">root</systemitem> user:
154 </para>
[09da197]155
[4c69301c]156<screen role="root"><userinput>make install</userinput></screen>
[ed9b0761]157
[09f0998]158 <para>
159 If you downloaded the optional documentation, install it as the
160 <systemitem class="username">root</systemitem> user:
161 </para>
[ed9b0761]162
163<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/freetype-&freetype2-version; &amp;&amp;
[4c69301c]164cp -v -R docs/* /usr/share/doc/freetype-&freetype2-version; &amp;&amp;
165rm -v /usr/share/doc/freetype-&freetype2-version;/freetype-config.1</userinput></screen>
[09da197]166
167 </sect2>
168
[2ecf9558]169 <sect2 role="commands">
170 <title>Command Explanations</title>
171
[09f0998]172 <para>
[3fdc9b0]173 <command>sed -ri ...</command>: First command enables GX/AAT and OpenType
[fcd1100]174 table validation and second command enables Subpixel Rendering. Note that
175 Subpixel Rendering may have patent issues. Be sure to read the
176 <literal>'Other patent issues'</literal> part of <ulink
177 url="http://www.freetype.org/patents.html"/> before enabling this option.
[70c0ef4]178 </para>
179
[b037ef4]180 <para>
181 <parameter>--enable-freetype-config</parameter>: This switch
182 ensure that the man page for freetype-config is installed.
183 </para>
184
[2ec7beca]185 <para>
[aa41434]186 <option>--without-harfbuzz</option>: If
[2ec7beca]187 <application>harfbuzz</application> is installed prior to
188 <application>freetype</application> without
189 <application>freetype</application> support, use this switch to avoid a
190 build failure.
191 </para>
192
[70c0ef4]193 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
194 href="../../xincludes/static-libraries.xml"/>
[ba718791]195 <!-- No longer valid with 2.10.1, /usr/bin/freetype-config is installed
196 by the 'make install' command.
[1c71552]197 <para>
198 <command>cp builds/unix/freetype-config /usr/bin</command>: Manually
199 place the freetype configureation program needed by other programs when
200 using the freetype library.
201 </para>
[ba718791]202 -->
[1c71552]203
[2ecf9558]204 </sect2>
205
[09da197]206 <sect2 role="content">
207 <title>Contents</title>
208
209 <segmentedlist>
[9bd60d4]210 <segtitle>Installed Program</segtitle>
211 <segtitle>Installed Library</segtitle>
[90ba9f5]212 <segtitle>Installed Directories</segtitle>
[9bd60d4]213
214 <seglistitem>
[70c0ef4]215 <seg>
216 freetype-config
217 </seg>
218 <seg>
219 libfreetype.so
220 </seg>
221 <seg>
222 /usr/include/freetype2 and
223 /usr/share/doc/freetype-&freetype2-version;
224 </seg>
[9bd60d4]225 </seglistitem>
[09da197]226 </segmentedlist>
227
228 <variablelist>
229 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
230 <?dbfo list-presentation="list"?>
231 <?dbhtml list-presentation="table"?>
232
233 <varlistentry id="freetype-config">
[6121fe5]234 <term><command>freetype-config</command></term>
[09da197]235 <listitem>
[70c0ef4]236 <para>
237 is used to get <application>FreeType</application> compilation
[4c24eb0a]238 and linking information
[70c0ef4]239 </para>
[09da197]240 <indexterm zone="freetype2 freetype-config">
[b037ef4]241 <primary sortas="b-freetype-config">freetype2-config</primary>
[09da197]242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="libfreetype">
[efdbb27]247 <term><filename class="libraryfile">libfreetype.so</filename></term>
[09da197]248 <listitem>
[70c0ef4]249 <para>
250 contains functions for rendering various font types, such
[4c24eb0a]251 as TrueType and Type1
[70c0ef4]252 </para>
[09da197]253 <indexterm zone="freetype2 libfreetype">
[70c0ef4]254 <primary sortas="c-libfreetype">libfreetype.so</primary>
[09da197]255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 </variablelist>
260
261 </sect2>
[19e9cee]262
263</sect1>
Note: See TracBrowser for help on using the repository browser.