[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 " ">
|
---|
[5b5575b1] | 10 | <!ENTITY harfbuzz-md5sum "d9b8b2bc4d0cdf7f0824f4f0631d264b">
|
---|
| 11 | <!ENTITY harfbuzz-size "4.3 MB">
|
---|
| 12 | <!ENTITY harfbuzz-buildsize "98 MB (with tests)">
|
---|
| 13 | <!ENTITY harfbuzz-time "0.4 SBU (Using parallelism=4; with 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 |
|
---|
[796bc663] | 38 | &lfs83_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),
|
---|
[f62b93bb] | 79 | <xref role="first" linkend="graphite2"/> (required for building
|
---|
| 80 | <xref role="nodep" linkend="texlive"/> or
|
---|
| 81 | <xref role="nodep" linkend="libreoffice"/> with system harfbuzz),
|
---|
[572553b] | 82 | <xref linkend="icu"/>, and
|
---|
[13df334] | 83 | <xref role="first" linkend="freetype2"/>
|
---|
[572553b] | 84 | (after <xref role="nodep" linkend="harfbuzz"/> is installed, reinstall
|
---|
| 85 | <xref role="nodep" linkend="freetype2"/>)
|
---|
[32e13498] | 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
[f82ac3f] | 90 | <xref linkend="cairo"/>,
|
---|
[f00cf5e] | 91 | <xref linkend="gobject-introspection"/>,
|
---|
[512a8b2] | 92 | <xref linkend="gtk-doc"/>,
|
---|
| 93 | <xref linkend="python2"/> (required for the testsuite), and
|
---|
| 94 | <ulink url="https://pypi.org/project/FontTools/">FontTools</ulink> (for
|
---|
| 95 | the testsuite)
|
---|
[32e13498] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <warning>
|
---|
| 99 | <para>
|
---|
| 100 | Recommended dependencies are not strictly required to build
|
---|
| 101 | the package. However, you might not get expected results at
|
---|
| 102 | runtime if you don't install them. Please do not report bugs
|
---|
| 103 | with this package if you <emphasis>have not</emphasis>
|
---|
| 104 | installed the recommended dependencies.
|
---|
| 105 | </para>
|
---|
| 106 | </warning>
|
---|
| 107 |
|
---|
| 108 | <para condition="html" role="usernotes">
|
---|
| 109 | User Notes: <ulink url="&blfs-wiki;/harfbuzz"/>
|
---|
| 110 | </para>
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="installation">
|
---|
[8374093] | 114 | <title>Installation of HarfBuzz</title>
|
---|
[32e13498] | 115 |
|
---|
| 116 | <para>
|
---|
[8374093] | 117 | Install <application>HarfBuzz</application> by running the following
|
---|
[32e13498] | 118 | commands:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
[f62b93bb] | 121 | <screen><userinput>./configure --prefix=/usr --with-gobject --with-graphite2 &&
|
---|
[32e13498] | 122 | make</userinput></screen>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | To test the results, issue: <command>make check</command>.
|
---|
[9db393f1] | 126 | </para>
|
---|
[32e13498] | 127 |
|
---|
| 128 | <para>
|
---|
| 129 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
[1e4ca8bb] | 135 | <sect2 role="commands">
|
---|
| 136 | <title>Command Explanations</title>
|
---|
| 137 |
|
---|
[f82ac3f] | 138 | <para>
|
---|
| 139 | <parameter>--with-gobject</parameter>: This switch enables building
|
---|
[8374093] | 140 | of the <application>HarfBuzz</application> GObject wrapper. Remove
|
---|
[f82ac3f] | 141 | it if you did not install <application>GLib</application>.
|
---|
| 142 | </para>
|
---|
| 143 |
|
---|
[1e4ca8bb] | 144 | <para>
|
---|
[e2371356] | 145 | <option>--with-graphite2</option>: This switch enables
|
---|
[8b8a6c4] | 146 | <application>Graphite2</application> support, which is required for
|
---|
[6121fe5] | 147 | building <xref linkend="texlive"/> or <xref linkend="libreoffice"/>
|
---|
| 148 | with system harfbuzz.
|
---|
[1e4ca8bb] | 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>
|
---|
[6121fe5] | 166 | hb-ot-shape-closure, hb-shape, hb-subset, and
|
---|
[0d12bbe] | 167 | hb-view (only if cairo is installed)
|
---|
[32e13498] | 168 | </seg>
|
---|
| 169 | <seg>
|
---|
[e84b992c] | 170 | libharfbuzz.so, libharfbuzz-gobject.so, libharfbuzz-subset.so,
|
---|
[6121fe5] | 171 | and libharfbuzz-icu.so
|
---|
[32e13498] | 172 | </seg>
|
---|
| 173 | <seg>
|
---|
[6121fe5] | 174 | /usr/{include,lib/cmake,share/gtk-doc/html}/harfbuzz
|
---|
[32e13498] | 175 | </seg>
|
---|
| 176 | </seglistitem>
|
---|
| 177 | </segmentedlist>
|
---|
| 178 |
|
---|
| 179 | <variablelist>
|
---|
| 180 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 181 | <?dbfo list-presentation="list"?>
|
---|
| 182 | <?dbhtml list-presentation="table"?>
|
---|
[c7d631c] | 183 |
|
---|
[0d12bbe] | 184 | <varlistentry id="hb-ot-shape-closure">
|
---|
| 185 | <term><command>hb-ot-shape-closure</command></term>
|
---|
| 186 | <listitem>
|
---|
| 187 | <para>
|
---|
| 188 | gives the set of characters contained in a string, represented as
|
---|
| 189 | single characters and/or single character names. Example:
|
---|
[c7d631c] | 190 | <command>hb-ot-shape-closure
|
---|
[0d12bbe] | 191 | /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
|
---|
| 192 | </para>
|
---|
| 193 | <indexterm zone="harfbuzz hb-ot-shape-closure">
|
---|
| 194 | <primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
[32e13498] | 198 |
|
---|
| 199 | <varlistentry id="hb-shape">
|
---|
| 200 | <term><command>hb-shape</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>
|
---|
[4e95b37b] | 203 | is used for the conversion of text strings into positioned glyphs.
|
---|
[32e13498] | 204 | </para>
|
---|
| 205 | <indexterm zone="harfbuzz hb-shape">
|
---|
| 206 | <primary sortas="b-hb-shape">hb-shape</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
[18f18c2] | 210 |
|
---|
| 211 | <varlistentry id="hb-subset">
|
---|
| 212 | <term><command>hb-subset</command></term>
|
---|
| 213 | <listitem>
|
---|
| 214 | <para>
|
---|
| 215 | is used to create subsets of fonts, and display text using them.
|
---|
| 216 | </para>
|
---|
| 217 | <indexterm zone="harfbuzz hb-subset">
|
---|
| 218 | <primary sortas="b-hb-subset">hb-subset</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
[c7d631c] | 222 |
|
---|
[0d12bbe] | 223 | <varlistentry id="hb-view">
|
---|
| 224 | <term><command>hb-view</command></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>
|
---|
| 227 | may be used for a graphical view of a string shape, using a
|
---|
| 228 | particular font, as a set of glyphs. Output format is automatically
|
---|
| 229 | defined by the file extension, the supported ones being
|
---|
| 230 | ansi/png/svg/pdf/ps/eps. Example:
|
---|
[c7d631c] | 231 | <command>hb-view --output-file=hello.png
|
---|
[0d12bbe] | 232 | /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
|
---|
| 233 | </para>
|
---|
| 234 | <indexterm zone="harfbuzz hb-view">
|
---|
| 235 | <primary sortas="b-hb-view">hb-view</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
[32e13498] | 239 |
|
---|
| 240 | <varlistentry id="libharfbuzz">
|
---|
| 241 | <term><filename class="libraryfile">libharfbuzz.so</filename></term>
|
---|
| 242 | <listitem>
|
---|
| 243 | <para>
|
---|
[8374093] | 244 | HarfBuzz text shaping library.
|
---|
[32e13498] | 245 | </para>
|
---|
| 246 | <indexterm zone="harfbuzz libharfbuzz">
|
---|
| 247 | <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
[0d7900a] | 251 |
|
---|
[8374093] | 252 | <varlistentry id="libharfbuzz-gobject">
|
---|
| 253 | <term><filename class="libraryfile">libharfbuzz-gobject.so</filename></term>
|
---|
| 254 | <listitem>
|
---|
| 255 | <para>
|
---|
| 256 | HarfBuzz text shaping library GObject integration.
|
---|
| 257 | </para>
|
---|
| 258 | <indexterm zone="harfbuzz libharfbuzz-gobject">
|
---|
| 259 | <primary sortas="c-libharfbuzz-gobject">libharfbuzz-gobject.so</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="libharfbuzz-icu">
|
---|
| 265 | <term><filename class="libraryfile">libharfbuzz-icu.so</filename></term>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>
|
---|
| 268 | HarfBuzz text shaping library ICU integration.
|
---|
| 269 | </para>
|
---|
| 270 | <indexterm zone="harfbuzz libharfbuzz-icu">
|
---|
| 271 | <primary sortas="c-libharfbuzz-icu">libharfbuzz-icu.so</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
[32e13498] | 276 | </variablelist>
|
---|
[0d7900a] | 277 |
|
---|
[32e13498] | 278 | </sect2>
|
---|
[0d7900a] | 279 |
|
---|
[32e13498] | 280 | </sect1>
|
---|