[32e13498] | 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 |
|
---|
[0d7900a] | 7 | <!ENTITY harfbuzz-download-http
|
---|
[32e13498] | 8 | "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-&harfbuzz-version;.tar.bz2">
|
---|
| 9 | <!ENTITY harfbuzz-download-ftp " ">
|
---|
[dbac9281] | 10 | <!ENTITY harfbuzz-md5sum "531ee8650626ecddcd90b2a4637e31d4">
|
---|
[8e55289] | 11 | <!ENTITY harfbuzz-size "1.2 MB">
|
---|
[dbac9281] | 12 | <!ENTITY harfbuzz-buildsize "25 MB (additional 2 MB for the API documentation and additional 2 MB for the tests)">
|
---|
[fad8db2] | 13 | <!ENTITY harfbuzz-time "0.3 SBU">
|
---|
[32e13498] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="harfbuzz" xreflabel="Harfbuzz-&harfbuzz-version;">
|
---|
| 17 | <?dbhtml filename="harfbuzz.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Harfbuzz-&harfbuzz-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="harfbuzz">
|
---|
| 27 | <primary sortas="a-Harfbuzz">Harfbuzz</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Harfbuzz</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>Harfbuzz</application> package contains an OpenType text
|
---|
| 35 | shaping engine.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[cf55ff2] | 38 | &lfs76_checked;
|
---|
[32e13498] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&harfbuzz-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&harfbuzz-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &harfbuzz-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &harfbuzz-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &harfbuzz-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &harfbuzz-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Harfbuzz Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 77 | <para role="recommended">
|
---|
| 78 | <xref linkend="glib2"/>,
|
---|
| 79 | <xref linkend="icu"/> and
|
---|
| 80 | <xref linkend="freetype2"/>
|
---|
[cacdba3a] | 81 | (after <xref linkend="harfbuzz"/> is installed, reinstall
|
---|
| 82 | <xref linkend="freetype2"/>)
|
---|
[32e13498] | 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 86 | <para role="optional">
|
---|
[f82ac3f] | 87 | <xref linkend="cairo"/>,
|
---|
| 88 | <xref linkend="gobject-introspection"/>,
|
---|
| 89 | <xref linkend="gtk-doc"/>, and
|
---|
[2a75b9b] | 90 | <xref linkend="graphite2"/>
|
---|
[32e13498] | 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <warning>
|
---|
| 94 | <para>
|
---|
| 95 | Recommended dependencies are not strictly required to build
|
---|
| 96 | the package. However, you might not get expected results at
|
---|
| 97 | runtime if you don't install them. Please do not report bugs
|
---|
| 98 | with this package if you <emphasis>have not</emphasis>
|
---|
| 99 | installed the recommended dependencies.
|
---|
| 100 | </para>
|
---|
| 101 | </warning>
|
---|
| 102 |
|
---|
| 103 | <para condition="html" role="usernotes">
|
---|
| 104 | User Notes: <ulink url="&blfs-wiki;/harfbuzz"/>
|
---|
| 105 | </para>
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="installation">
|
---|
| 109 | <title>Installation of Harfbuzz</title>
|
---|
| 110 |
|
---|
[dbac9281] | 111 | <para>
|
---|
| 112 | If you wish to run the test suite, run the following commands, to
|
---|
| 113 | disable a test that fails:
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
[cf55ff2] | 116 | <screen><userinput>sed -i "s:tests/arabic-fallback-shaping.tests::g" test/shaping/Makefile.in</userinput></screen>
|
---|
[dbac9281] | 117 |
|
---|
[32e13498] | 118 | <para>
|
---|
| 119 | Install <application>Harfbuzz</application> by running the following
|
---|
| 120 | commands:
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
[f82ac3f] | 123 | <screen><userinput>./configure --prefix=/usr --with-gobject &&
|
---|
[32e13498] | 124 | make</userinput></screen>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | To test the results, issue: <command>make check</command>.
|
---|
[9db393f1] | 128 | </para>
|
---|
[32e13498] | 129 |
|
---|
| 130 | <para>
|
---|
| 131 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
[1e4ca8bb] | 137 | <sect2 role="commands">
|
---|
| 138 | <title>Command Explanations</title>
|
---|
| 139 |
|
---|
[f82ac3f] | 140 | <para>
|
---|
| 141 | <parameter>--with-gobject</parameter>: This switch enables building
|
---|
| 142 | of the <application>Harfbuzz</application> GObject wrapper. Remove
|
---|
| 143 | it if you did not install <application>GLib</application>.
|
---|
| 144 | </para>
|
---|
| 145 |
|
---|
[1e4ca8bb] | 146 | <para>
|
---|
[e2371356] | 147 | <option>--with-graphite2</option>: This switch enables
|
---|
[1e4ca8bb] | 148 | <application>Graphite2</application> support.
|
---|
| 149 | </para>
|
---|
| 150 |
|
---|
[f82ac3f] | 151 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 152 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 153 |
|
---|
[1e4ca8bb] | 154 | </sect2>
|
---|
| 155 |
|
---|
[32e13498] | 156 | <sect2 role="content">
|
---|
| 157 | <title>Contents</title>
|
---|
| 158 |
|
---|
| 159 | <segmentedlist>
|
---|
| 160 | <segtitle>Installed Programs</segtitle>
|
---|
[f82ac3f] | 161 | <segtitle>Installed Libraries</segtitle>
|
---|
| 162 | <segtitle>Installed Directories</segtitle>
|
---|
[32e13498] | 163 |
|
---|
| 164 | <seglistitem>
|
---|
| 165 | <seg>
|
---|
[f82ac3f] | 166 | hb-ot-shape-closure, hb-shape, and hb-view
|
---|
[32e13498] | 167 | </seg>
|
---|
| 168 | <seg>
|
---|
[3715b42] | 169 | libharfbuzz.so, libharfbuzz-gobject.so and libharfbuzz-icu.so
|
---|
[32e13498] | 170 | </seg>
|
---|
| 171 | <seg>
|
---|
[f82ac3f] | 172 | /usr/include/harfbuzz and
|
---|
| 173 | /usr/share/gtk-doc/html/harfbuzz
|
---|
[32e13498] | 174 | </seg>
|
---|
| 175 | </seglistitem>
|
---|
| 176 | </segmentedlist>
|
---|
| 177 |
|
---|
| 178 | <variablelist>
|
---|
| 179 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 180 | <?dbfo list-presentation="list"?>
|
---|
| 181 | <?dbhtml list-presentation="table"?>
|
---|
| 182 |
|
---|
| 183 | <!-- <varlistentry id="hb-ot-shape-closure">
|
---|
| 184 | <term><command>hb-ot-shape-closure</command></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>
|
---|
| 187 | does this .....
|
---|
| 188 | </para>
|
---|
| 189 | <indexterm zone="harfbuzz hb-ot-shape-closure">
|
---|
| 190 | <primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="hb-shape">
|
---|
| 196 | <term><command>hb-shape</command></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>
|
---|
| 199 | does this .....
|
---|
| 200 | </para>
|
---|
| 201 | <indexterm zone="harfbuzz hb-shape">
|
---|
| 202 | <primary sortas="b-hb-shape">hb-shape</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="hb-view">
|
---|
| 208 | <term><command>hb-view</command></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>
|
---|
| 211 | does this .....
|
---|
| 212 | </para>
|
---|
| 213 | <indexterm zone="harfbuzz hb-view">
|
---|
| 214 | <primary sortas="b-hb-view">hb-view</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry> -->
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="libharfbuzz">
|
---|
| 220 | <term><filename class="libraryfile">libharfbuzz.so</filename></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>
|
---|
| 223 | contains functions for complex text shaping.
|
---|
| 224 | </para>
|
---|
| 225 | <indexterm zone="harfbuzz libharfbuzz">
|
---|
| 226 | <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
[0d7900a] | 230 |
|
---|
[32e13498] | 231 | </variablelist>
|
---|
[0d7900a] | 232 |
|
---|
[32e13498] | 233 | </sect2>
|
---|
[0d7900a] | 234 |
|
---|
[32e13498] | 235 | </sect1>
|
---|