[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 " ">
|
---|
[d7bee48] | 10 | <!ENTITY harfbuzz-md5sum "3ac286c9f9756aa92257c278b2815d34">
|
---|
[94b4def9] | 11 | <!ENTITY harfbuzz-size "1.3 MB">
|
---|
[d7bee48] | 12 | <!ENTITY harfbuzz-buildsize "27 MB (plus 20 MB for tests)">
|
---|
[94b4def9] | 13 | <!ENTITY harfbuzz-time "0.4 SBU (with tests)">
|
---|
[32e13498] | 14 | ]>
|
---|
| 15 |
|
---|
[92ada82] | 16 | <sect1 id="harfbuzz" xreflabel="HarfBuzz-&harfbuzz-version;">
|
---|
[32e13498] | 17 | <?dbhtml filename="harfbuzz.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[92ada82] | 24 | <title>HarfBuzz-&harfbuzz-version;</title>
|
---|
[32e13498] | 25 |
|
---|
| 26 | <indexterm zone="harfbuzz">
|
---|
[92ada82] | 27 | <primary sortas="a-Harfbuzz">HarfBuzz</primary>
|
---|
[32e13498] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Harfbuzz</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
[92ada82] | 34 | The <application>HarfBuzz</application> package contains an OpenType text
|
---|
[32e13498] | 35 | shaping engine.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[726744f4] | 38 | &lfs78_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 |
|
---|
[92ada82] | 74 | <bridgehead renderas="sect3">HarfBuzz Dependencies</bridgehead>
|
---|
[32e13498] | 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 77 | <para role="recommended">
|
---|
[ac38e9dc] | 78 | <xref linkend="glib2"/> (required for Pango),
|
---|
[32e13498] | 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">
|
---|
[92ada82] | 109 | <title>Installation of HarfBuzz</title>
|
---|
[32e13498] | 110 |
|
---|
| 111 | <para>
|
---|
[92ada82] | 112 | Install <application>HarfBuzz</application> by running the following
|
---|
[32e13498] | 113 | commands:
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
[f82ac3f] | 116 | <screen><userinput>./configure --prefix=/usr --with-gobject &&
|
---|
[32e13498] | 117 | make</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | <para>
|
---|
| 120 | To test the results, issue: <command>make check</command>.
|
---|
[9db393f1] | 121 | </para>
|
---|
[32e13498] | 122 |
|
---|
| 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 128 | </sect2>
|
---|
| 129 |
|
---|
[1e4ca8bb] | 130 | <sect2 role="commands">
|
---|
| 131 | <title>Command Explanations</title>
|
---|
| 132 |
|
---|
[f82ac3f] | 133 | <para>
|
---|
| 134 | <parameter>--with-gobject</parameter>: This switch enables building
|
---|
[92ada82] | 135 | of the <application>HarfBuzz</application> GObject wrapper. Remove
|
---|
[f82ac3f] | 136 | it if you did not install <application>GLib</application>.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
[1e4ca8bb] | 139 | <para>
|
---|
[e2371356] | 140 | <option>--with-graphite2</option>: This switch enables
|
---|
[1e4ca8bb] | 141 | <application>Graphite2</application> support.
|
---|
| 142 | </para>
|
---|
| 143 |
|
---|
[f82ac3f] | 144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 145 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 146 |
|
---|
[1e4ca8bb] | 147 | </sect2>
|
---|
| 148 |
|
---|
[32e13498] | 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Programs</segtitle>
|
---|
[f82ac3f] | 154 | <segtitle>Installed Libraries</segtitle>
|
---|
| 155 | <segtitle>Installed Directories</segtitle>
|
---|
[32e13498] | 156 |
|
---|
| 157 | <seglistitem>
|
---|
| 158 | <seg>
|
---|
[94b4def9] | 159 | hb-ot-shape-closure, hb-shape, and
|
---|
| 160 | hb-view (only if cairo is installed)
|
---|
[32e13498] | 161 | </seg>
|
---|
| 162 | <seg>
|
---|
[94b4def9] | 163 | libharfbuzz.so, libharfbuzz-gobject.so and libharfbuzz-icu.so
|
---|
[32e13498] | 164 | </seg>
|
---|
| 165 | <seg>
|
---|
[94b4def9] | 166 | /usr/{include,share/gtk-doc/html}/harfbuzz
|
---|
[32e13498] | 167 | </seg>
|
---|
| 168 | </seglistitem>
|
---|
| 169 | </segmentedlist>
|
---|
| 170 |
|
---|
| 171 | <variablelist>
|
---|
| 172 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 173 | <?dbfo list-presentation="list"?>
|
---|
| 174 | <?dbhtml list-presentation="table"?>
|
---|
| 175 |
|
---|
[94b4def9] | 176 | <varlistentry id="hb-ot-shape-closure">
|
---|
[32e13498] | 177 | <term><command>hb-ot-shape-closure</command></term>
|
---|
| 178 | <listitem>
|
---|
| 179 | <para>
|
---|
[ac38e9dc] | 180 | gives the set of characters contained in a string, represented as
|
---|
| 181 | single characters and/or single character names. Example:
|
---|
| 182 | <command>hb-ot-shape-closure
|
---|
| 183 | /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
|
---|
[32e13498] | 184 | </para>
|
---|
| 185 | <indexterm zone="harfbuzz hb-ot-shape-closure">
|
---|
| 186 | <primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="hb-shape">
|
---|
| 192 | <term><command>hb-shape</command></term>
|
---|
| 193 | <listitem>
|
---|
| 194 | <para>
|
---|
[ac38e9dc] | 195 | is used for the conversion of text strings into positioned glyphs.
|
---|
[32e13498] | 196 | </para>
|
---|
| 197 | <indexterm zone="harfbuzz hb-shape">
|
---|
| 198 | <primary sortas="b-hb-shape">hb-shape</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
[ac38e9dc] | 203 | <varlistentry id="hb-view">
|
---|
[32e13498] | 204 | <term><command>hb-view</command></term>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para>
|
---|
[ac38e9dc] | 207 | may be used for a graphical view of a string shape, using a
|
---|
| 208 | particular font, as a set of glyphs. Output format is automatically
|
---|
| 209 | defined by the file extension, the supported ones being
|
---|
| 210 | ansi/png/svg/pdf/ps/eps. Example:
|
---|
| 211 | <command>hb-view --output-file=hello.png
|
---|
| 212 | /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
|
---|
[32e13498] | 213 | </para>
|
---|
| 214 | <indexterm zone="harfbuzz hb-view">
|
---|
| 215 | <primary sortas="b-hb-view">hb-view</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
[ac38e9dc] | 218 | </varlistentry>
|
---|
[32e13498] | 219 |
|
---|
| 220 | <varlistentry id="libharfbuzz">
|
---|
| 221 | <term><filename class="libraryfile">libharfbuzz.so</filename></term>
|
---|
| 222 | <listitem>
|
---|
| 223 | <para>
|
---|
[92ada82] | 224 | HarfBuzz text shaping library.
|
---|
[32e13498] | 225 | </para>
|
---|
| 226 | <indexterm zone="harfbuzz libharfbuzz">
|
---|
| 227 | <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
[0d7900a] | 231 |
|
---|
[92ada82] | 232 | <varlistentry id="libharfbuzz-gobject">
|
---|
| 233 | <term><filename class="libraryfile">libharfbuzz-gobject.so</filename></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>
|
---|
| 236 | HarfBuzz text shaping library - GObject integration.
|
---|
| 237 | </para>
|
---|
| 238 | <indexterm zone="harfbuzz libharfbuzz-gobject">
|
---|
| 239 | <primary sortas="c-libharfbuzz-gobject">libharfbuzz-gobject.so</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="libharfbuzz-icu">
|
---|
| 245 | <term><filename class="libraryfile">libharfbuzz-icu.so</filename></term>
|
---|
| 246 | <listitem>
|
---|
| 247 | <para>
|
---|
| 248 | Harfbuzz text shaping library ICU integration.
|
---|
| 249 | </para>
|
---|
| 250 | <indexterm zone="harfbuzz libharfbuzz-icu">
|
---|
| 251 | <primary sortas="c-libharfbuzz-icu">libharfbuzz-icu.so</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
[32e13498] | 256 | </variablelist>
|
---|
[0d7900a] | 257 |
|
---|
[32e13498] | 258 | </sect2>
|
---|
[0d7900a] | 259 |
|
---|
[32e13498] | 260 | </sect1>
|
---|