source: general/graphlib/freetype2.xml@ aa143d9

12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since aa143d9 was 466fffbd, checked in by Douglas R. Reno <renodr@…>, 19 months ago

Update to freetype-2.13.0 and tag

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