[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
|
---|
[8dfc5c3] | 8 | "https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-&harfbuzz-version;.tar.bz2">
|
---|
[32e13498] | 9 | <!ENTITY harfbuzz-download-ftp " ">
|
---|
[d5aefd5c] | 10 | <!ENTITY harfbuzz-md5sum "ffb94cf2942327344ac31330d07036ba">
|
---|
| 11 | <!ENTITY harfbuzz-size "2.5 MB">
|
---|
| 12 | <!ENTITY harfbuzz-buildsize "41 MB (add 25 MB for tests)">
|
---|
| 13 | <!ENTITY harfbuzz-time "0.4 SBU (add 0.5 SBU for tests)">
|
---|
[32e13498] | 14 | ]>
|
---|
| 15 |
|
---|
[8374093] | 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 |
|
---|
[8374093] | 24 | <title>HarfBuzz-&harfbuzz-version;</title>
|
---|
[32e13498] | 25 |
|
---|
| 26 | <indexterm zone="harfbuzz">
|
---|
[8374093] | 27 | <primary sortas="a-HarfBuzz">HarfBuzz</primary>
|
---|
[32e13498] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Harfbuzz</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
[8374093] | 34 | The <application>HarfBuzz</application> package contains an OpenType text
|
---|
[32e13498] | 35 | shaping engine.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[0a43695] | 38 | &lfs82_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 |
|
---|
[8374093] | 74 | <bridgehead renderas="sect3">HarfBuzz Dependencies</bridgehead>
|
---|
[32e13498] | 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 77 | <para role="recommended">
|
---|
[dccc4d4] | 78 | <xref linkend="glib2"/> (required for Pango),
|
---|
[572553b] | 79 | <xref linkend="icu"/>, and
|
---|
[13df334] | 80 | <xref role="first" linkend="freetype2"/>
|
---|
[572553b] | 81 | (after <xref role="nodep" linkend="harfbuzz"/> is installed, reinstall
|
---|
| 82 | <xref role="nodep" 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
|
---|
[8b8a6c4] | 90 | <xref role="first" linkend="graphite2"/> (required for building
|
---|
[5581e6ee] | 91 | <xref role="nodep" linkend="texlive"/> or
|
---|
| 92 | <xref role="nodep" linkend="libreoffice"/> with system harfbuzz)
|
---|
[32e13498] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <warning>
|
---|
| 96 | <para>
|
---|
| 97 | Recommended dependencies are not strictly required to build
|
---|
| 98 | the package. However, you might not get expected results at
|
---|
| 99 | runtime if you don't install them. Please do not report bugs
|
---|
| 100 | with this package if you <emphasis>have not</emphasis>
|
---|
| 101 | installed the recommended dependencies.
|
---|
| 102 | </para>
|
---|
| 103 | </warning>
|
---|
| 104 |
|
---|
| 105 | <para condition="html" role="usernotes">
|
---|
| 106 | User Notes: <ulink url="&blfs-wiki;/harfbuzz"/>
|
---|
| 107 | </para>
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="installation">
|
---|
[8374093] | 111 | <title>Installation of HarfBuzz</title>
|
---|
[32e13498] | 112 |
|
---|
| 113 | <para>
|
---|
[8374093] | 114 | Install <application>HarfBuzz</application> by running the following
|
---|
[32e13498] | 115 | commands:
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
[f82ac3f] | 118 | <screen><userinput>./configure --prefix=/usr --with-gobject &&
|
---|
[32e13498] | 119 | make</userinput></screen>
|
---|
| 120 |
|
---|
| 121 | <para>
|
---|
| 122 | To test the results, issue: <command>make check</command>.
|
---|
[9db393f1] | 123 | </para>
|
---|
[32e13498] | 124 |
|
---|
| 125 | <para>
|
---|
| 126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
[1e4ca8bb] | 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
[f82ac3f] | 135 | <para>
|
---|
| 136 | <parameter>--with-gobject</parameter>: This switch enables building
|
---|
[8374093] | 137 | of the <application>HarfBuzz</application> GObject wrapper. Remove
|
---|
[f82ac3f] | 138 | it if you did not install <application>GLib</application>.
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
[1e4ca8bb] | 141 | <para>
|
---|
[e2371356] | 142 | <option>--with-graphite2</option>: This switch enables
|
---|
[8b8a6c4] | 143 | <application>Graphite2</application> support, which is required for
|
---|
| 144 | building <xref linkend="texlive"/> with system harfbuzz.
|
---|
[1e4ca8bb] | 145 | </para>
|
---|
| 146 |
|
---|
[f82ac3f] | 147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 148 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 149 |
|
---|
[1e4ca8bb] | 150 | </sect2>
|
---|
| 151 |
|
---|
[32e13498] | 152 | <sect2 role="content">
|
---|
| 153 | <title>Contents</title>
|
---|
| 154 |
|
---|
| 155 | <segmentedlist>
|
---|
| 156 | <segtitle>Installed Programs</segtitle>
|
---|
[f82ac3f] | 157 | <segtitle>Installed Libraries</segtitle>
|
---|
| 158 | <segtitle>Installed Directories</segtitle>
|
---|
[32e13498] | 159 |
|
---|
| 160 | <seglistitem>
|
---|
| 161 | <seg>
|
---|
[0d12bbe] | 162 | hb-ot-shape-closure, hb-shape, and
|
---|
| 163 | hb-view (only if cairo is installed)
|
---|
[32e13498] | 164 | </seg>
|
---|
| 165 | <seg>
|
---|
[3715b42] | 166 | libharfbuzz.so, libharfbuzz-gobject.so and libharfbuzz-icu.so
|
---|
[32e13498] | 167 | </seg>
|
---|
| 168 | <seg>
|
---|
[c7d631c] | 169 | /usr/{include,share/gtk-doc/html}/harfbuzz
|
---|
[32e13498] | 170 | </seg>
|
---|
| 171 | </seglistitem>
|
---|
| 172 | </segmentedlist>
|
---|
| 173 |
|
---|
| 174 | <variablelist>
|
---|
| 175 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 176 | <?dbfo list-presentation="list"?>
|
---|
| 177 | <?dbhtml list-presentation="table"?>
|
---|
[c7d631c] | 178 |
|
---|
[0d12bbe] | 179 | <varlistentry id="hb-ot-shape-closure">
|
---|
| 180 | <term><command>hb-ot-shape-closure</command></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>
|
---|
| 183 | gives the set of characters contained in a string, represented as
|
---|
| 184 | single characters and/or single character names. Example:
|
---|
[c7d631c] | 185 | <command>hb-ot-shape-closure
|
---|
[0d12bbe] | 186 | /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
|
---|
| 187 | </para>
|
---|
| 188 | <indexterm zone="harfbuzz hb-ot-shape-closure">
|
---|
| 189 | <primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
[32e13498] | 193 |
|
---|
| 194 | <varlistentry id="hb-shape">
|
---|
| 195 | <term><command>hb-shape</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>
|
---|
[4e95b37b] | 198 | is used for the conversion of text strings into positioned glyphs.
|
---|
[32e13498] | 199 | </para>
|
---|
| 200 | <indexterm zone="harfbuzz hb-shape">
|
---|
| 201 | <primary sortas="b-hb-shape">hb-shape</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
[c7d631c] | 205 |
|
---|
[0d12bbe] | 206 | <varlistentry id="hb-view">
|
---|
| 207 | <term><command>hb-view</command></term>
|
---|
| 208 | <listitem>
|
---|
| 209 | <para>
|
---|
| 210 | may be used for a graphical view of a string shape, using a
|
---|
| 211 | particular font, as a set of glyphs. Output format is automatically
|
---|
| 212 | defined by the file extension, the supported ones being
|
---|
| 213 | ansi/png/svg/pdf/ps/eps. Example:
|
---|
[c7d631c] | 214 | <command>hb-view --output-file=hello.png
|
---|
[0d12bbe] | 215 | /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
|
---|
| 216 | </para>
|
---|
| 217 | <indexterm zone="harfbuzz hb-view">
|
---|
| 218 | <primary sortas="b-hb-view">hb-view</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
[32e13498] | 222 |
|
---|
| 223 | <varlistentry id="libharfbuzz">
|
---|
| 224 | <term><filename class="libraryfile">libharfbuzz.so</filename></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>
|
---|
[8374093] | 227 | HarfBuzz text shaping library.
|
---|
[32e13498] | 228 | </para>
|
---|
| 229 | <indexterm zone="harfbuzz libharfbuzz">
|
---|
| 230 | <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
|
---|
| 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
[0d7900a] | 234 |
|
---|
[8374093] | 235 | <varlistentry id="libharfbuzz-gobject">
|
---|
| 236 | <term><filename class="libraryfile">libharfbuzz-gobject.so</filename></term>
|
---|
| 237 | <listitem>
|
---|
| 238 | <para>
|
---|
| 239 | HarfBuzz text shaping library GObject integration.
|
---|
| 240 | </para>
|
---|
| 241 | <indexterm zone="harfbuzz libharfbuzz-gobject">
|
---|
| 242 | <primary sortas="c-libharfbuzz-gobject">libharfbuzz-gobject.so</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
| 247 | <varlistentry id="libharfbuzz-icu">
|
---|
| 248 | <term><filename class="libraryfile">libharfbuzz-icu.so</filename></term>
|
---|
| 249 | <listitem>
|
---|
| 250 | <para>
|
---|
| 251 | HarfBuzz text shaping library ICU integration.
|
---|
| 252 | </para>
|
---|
| 253 | <indexterm zone="harfbuzz libharfbuzz-icu">
|
---|
| 254 | <primary sortas="c-libharfbuzz-icu">libharfbuzz-icu.so</primary>
|
---|
| 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
| 258 |
|
---|
[32e13498] | 259 | </variablelist>
|
---|
[0d7900a] | 260 |
|
---|
[32e13498] | 261 | </sect2>
|
---|
[0d7900a] | 262 |
|
---|
[32e13498] | 263 | </sect1>
|
---|