[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[09da197] | 7 | <!ENTITY freetype2-download-http "http://prdownloads.sourceforge.net/freetype/freetype-&freetype2-version;.tar.bz2">
|
---|
| 8 | <!ENTITY freetype2-download-ftp " ">
|
---|
[2ecf9558] | 9 | <!ENTITY freetype2-md5sum "a4012e7d1f6400df44a16743b11b8423">
|
---|
| 10 | <!ENTITY freetype2-size "1.0 MB">
|
---|
| 11 | <!ENTITY freetype2-buildsize "19.1 MB">
|
---|
| 12 | <!ENTITY freetype2-time "0.3 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[419dd50] | 15 | <sect1 id="freetype2" xreflabel="FreeType-&freetype2-version;">
|
---|
[09da197] | 16 | <?dbhtml filename="freetype2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>FreeType-&freetype2-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="freetype2">
|
---|
| 26 | <primary sortas="a-FreeType">FreeType</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to FreeType2</title>
|
---|
| 31 |
|
---|
[e9116cc] | 32 | <para>The <application>FreeType2</application> package
|
---|
[09da197] | 33 | contains a library to allow applications to properly render
|
---|
| 34 | <application>TrueType</application> fonts.</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&freetype2-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&freetype2-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &freetype2-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &freetype2-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &freetype2-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &freetype2-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <sect2 role="installation">
|
---|
| 61 | <title>Installation of FreeType2</title>
|
---|
| 62 |
|
---|
| 63 | <para>Install <application>FreeType2</application> by running the following
|
---|
| 64 | commands:</para>
|
---|
| 65 |
|
---|
[2ecf9558] | 66 | <screen><userinput>sed -i -r 's:.*(#.*BYTE.*) .*:\1:' \
|
---|
| 67 | include/freetype/config/ftoption.h &&
|
---|
[52d29f7] | 68 | ./configure --prefix=/usr &&
|
---|
[09da197] | 69 | make</userinput></screen>
|
---|
| 70 |
|
---|
| 71 | <para>This package does not come with a test suite.</para>
|
---|
| 72 |
|
---|
| 73 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 74 |
|
---|
| 75 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
[2ecf9558] | 79 | <sect2 role="commands">
|
---|
| 80 | <title>Command Explanations</title>
|
---|
| 81 |
|
---|
[c138ad9] | 82 | <para><command>sed -i -r 's:.*(#.*BYTE.*) .*:\1:'
|
---|
| 83 | include/freetype/config/ftoption.h</command>: Uncomments configuration
|
---|
| 84 | options.</para>
|
---|
[2ecf9558] | 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
[09da197] | 88 | <sect2 role="content">
|
---|
| 89 | <title>Contents</title>
|
---|
| 90 |
|
---|
| 91 | <segmentedlist>
|
---|
[9bd60d4] | 92 | <segtitle>Installed Program</segtitle>
|
---|
| 93 | <segtitle>Installed Library</segtitle>
|
---|
| 94 | <segtitle>Installed Directory</segtitle>
|
---|
| 95 |
|
---|
| 96 | <seglistitem>
|
---|
| 97 | <seg>freetype-config</seg>
|
---|
| 98 | <seg>libfreetype.[so,a]</seg>
|
---|
| 99 | <seg>/usr/include/freetype2</seg>
|
---|
| 100 | </seglistitem>
|
---|
[09da197] | 101 | </segmentedlist>
|
---|
| 102 |
|
---|
| 103 | <variablelist>
|
---|
| 104 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 105 | <?dbfo list-presentation="list"?>
|
---|
| 106 | <?dbhtml list-presentation="table"?>
|
---|
| 107 |
|
---|
| 108 | <varlistentry id="freetype-config">
|
---|
| 109 | <term><command>freetype-config</command></term>
|
---|
| 110 | <listitem>
|
---|
[e9116cc] | 111 | <para>is used to get <application>FreeType</application> compilation
|
---|
[09da197] | 112 | and linking information.</para>
|
---|
| 113 | <indexterm zone="freetype2 freetype-config">
|
---|
| 114 | <primary sortas="b-freetype-config">freetype-config</primary>
|
---|
| 115 | </indexterm>
|
---|
| 116 | </listitem>
|
---|
| 117 | </varlistentry>
|
---|
| 118 |
|
---|
| 119 | <varlistentry id="libfreetype">
|
---|
| 120 | <term><filename class='libraryfile'>libfreetype.[so,a]</filename></term>
|
---|
| 121 | <listitem>
|
---|
[0619e6d] | 122 | <para>contains functions to add <application>TrueType</application>
|
---|
[09da197] | 123 | font capabilities to the X Window system.</para>
|
---|
| 124 | <indexterm zone="freetype2 libfreetype">
|
---|
| 125 | <primary sortas="c-libfreetype">libfreetype.[so,a]</primary>
|
---|
| 126 | </indexterm>
|
---|
| 127 | </listitem>
|
---|
| 128 | </varlistentry>
|
---|
| 129 |
|
---|
| 130 | </variablelist>
|
---|
| 131 |
|
---|
| 132 | </sect2>
|
---|
[19e9cee] | 133 |
|
---|
| 134 | </sect1>
|
---|