[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 " ">
|
---|
[ff56d2f] | 10 | <!ENTITY harfbuzz-md5sum "0e27e531f4c4acff601ebff0957755c2">
|
---|
[24dda0ac] | 11 | <!ENTITY harfbuzz-size "1.1 MB">
|
---|
| 12 | <!ENTITY harfbuzz-buildsize "29 MB (additional 1 MB for the API documentation)">
|
---|
| 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 |
|
---|
[f3a1cd14] | 38 | &lfs77_checked; &gcc5_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">
|
---|
[dccc4d4] | 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"/>,
|
---|
[f00cf5e] | 88 | <xref linkend="gobject-introspection"/>,
|
---|
[f82ac3f] | 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 |
|
---|
| 111 | <para>
|
---|
| 112 | Install <application>Harfbuzz</application> by running the following
|
---|
| 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
|
---|
| 135 | of the <application>Harfbuzz</application> GObject wrapper. Remove
|
---|
| 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>
|
---|
[0d12bbe] | 159 | hb-ot-shape-closure, hb-shape, and
|
---|
| 160 | hb-view (only if cairo is installed)
|
---|
[32e13498] | 161 | </seg>
|
---|
| 162 | <seg>
|
---|
[3715b42] | 163 | libharfbuzz.so, libharfbuzz-gobject.so and libharfbuzz-icu.so
|
---|
[32e13498] | 164 | </seg>
|
---|
| 165 | <seg>
|
---|
[f82ac3f] | 166 | /usr/include/harfbuzz and
|
---|
| 167 | /usr/share/gtk-doc/html/harfbuzz
|
---|
[32e13498] | 168 | </seg>
|
---|
| 169 | </seglistitem>
|
---|
| 170 | </segmentedlist>
|
---|
| 171 |
|
---|
| 172 | <variablelist>
|
---|
| 173 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 174 | <?dbfo list-presentation="list"?>
|
---|
| 175 | <?dbhtml list-presentation="table"?>
|
---|
[0d12bbe] | 176 |
|
---|
| 177 | <varlistentry id="hb-ot-shape-closure">
|
---|
| 178 | <term><command>hb-ot-shape-closure</command></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>
|
---|
| 181 | gives the set of characters contained in a string, represented as
|
---|
| 182 | single characters and/or single character names. Example:
|
---|
| 183 | <command>hb-ot-shape-closure
|
---|
| 184 | /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
|
---|
| 185 | </para>
|
---|
| 186 | <indexterm zone="harfbuzz hb-ot-shape-closure">
|
---|
| 187 | <primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
[32e13498] | 191 |
|
---|
| 192 | <varlistentry id="hb-shape">
|
---|
| 193 | <term><command>hb-shape</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>
|
---|
[4e95b37b] | 196 | is used for the conversion of text strings into positioned glyphs.
|
---|
[32e13498] | 197 | </para>
|
---|
| 198 | <indexterm zone="harfbuzz hb-shape">
|
---|
| 199 | <primary sortas="b-hb-shape">hb-shape</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
[0d12bbe] | 203 |
|
---|
| 204 | <varlistentry id="hb-view">
|
---|
| 205 | <term><command>hb-view</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>
|
---|
| 208 | may be used for a graphical view of a string shape, using a
|
---|
| 209 | particular font, as a set of glyphs. Output format is automatically
|
---|
| 210 | defined by the file extension, the supported ones being
|
---|
| 211 | ansi/png/svg/pdf/ps/eps. Example:
|
---|
| 212 | <command>hb-view --output-file=hello.png
|
---|
| 213 | /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
|
---|
| 214 | </para>
|
---|
| 215 | <indexterm zone="harfbuzz hb-view">
|
---|
| 216 | <primary sortas="b-hb-view">hb-view</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
[32e13498] | 220 |
|
---|
| 221 | <varlistentry id="libharfbuzz">
|
---|
| 222 | <term><filename class="libraryfile">libharfbuzz.so</filename></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>
|
---|
| 225 | contains functions for complex text shaping.
|
---|
| 226 | </para>
|
---|
| 227 | <indexterm zone="harfbuzz libharfbuzz">
|
---|
| 228 | <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
[0d7900a] | 232 |
|
---|
[32e13498] | 233 | </variablelist>
|
---|
[0d7900a] | 234 |
|
---|
[32e13498] | 235 | </sect2>
|
---|
[0d7900a] | 236 |
|
---|
[32e13498] | 237 | </sect1>
|
---|