[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 " ">
|
---|
[c5a9146] | 10 | <!ENTITY harfbuzz-md5sum "d1aa446e1e65717311c15d9ac0cf31ee">
|
---|
| 11 | <!ENTITY harfbuzz-size "1.5 MB">
|
---|
| 12 | <!ENTITY harfbuzz-buildsize "30 MB (add 20 MB for tests)">
|
---|
| 13 | <!ENTITY harfbuzz-time "0.3 SBU (add 0.2 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 |
|
---|
[8b0eef4] | 38 | &lfs80_checked;
|
---|
[9364bed] | 39 | &gcc7_checked;
|
---|
[32e13498] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&harfbuzz-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&harfbuzz-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &harfbuzz-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &harfbuzz-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &harfbuzz-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &harfbuzz-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[8374093] | 75 | <bridgehead renderas="sect3">HarfBuzz Dependencies</bridgehead>
|
---|
[32e13498] | 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 78 | <para role="recommended">
|
---|
[dccc4d4] | 79 | <xref linkend="glib2"/> (required for Pango),
|
---|
[32e13498] | 80 | <xref linkend="icu"/> and
|
---|
| 81 | <xref linkend="freetype2"/>
|
---|
[cacdba3a] | 82 | (after <xref linkend="harfbuzz"/> is installed, reinstall
|
---|
| 83 | <xref linkend="freetype2"/>)
|
---|
[32e13498] | 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
[f82ac3f] | 88 | <xref linkend="cairo"/>,
|
---|
[f00cf5e] | 89 | <xref linkend="gobject-introspection"/>,
|
---|
[f82ac3f] | 90 | <xref linkend="gtk-doc"/>, and
|
---|
[2a75b9b] | 91 | <xref linkend="graphite2"/>
|
---|
[32e13498] | 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <warning>
|
---|
| 95 | <para>
|
---|
| 96 | Recommended dependencies are not strictly required to build
|
---|
| 97 | the package. However, you might not get expected results at
|
---|
| 98 | runtime if you don't install them. Please do not report bugs
|
---|
| 99 | with this package if you <emphasis>have not</emphasis>
|
---|
| 100 | installed the recommended dependencies.
|
---|
| 101 | </para>
|
---|
| 102 | </warning>
|
---|
| 103 |
|
---|
| 104 | <para condition="html" role="usernotes">
|
---|
| 105 | User Notes: <ulink url="&blfs-wiki;/harfbuzz"/>
|
---|
| 106 | </para>
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="installation">
|
---|
[8374093] | 110 | <title>Installation of HarfBuzz</title>
|
---|
[32e13498] | 111 |
|
---|
| 112 | <para>
|
---|
[8374093] | 113 | Install <application>HarfBuzz</application> by running the following
|
---|
[32e13498] | 114 | commands:
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
[f82ac3f] | 117 | <screen><userinput>./configure --prefix=/usr --with-gobject &&
|
---|
[32e13498] | 118 | make</userinput></screen>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | To test the results, issue: <command>make check</command>.
|
---|
[9db393f1] | 122 | </para>
|
---|
[32e13498] | 123 |
|
---|
| 124 | <para>
|
---|
| 125 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 126 | </para>
|
---|
| 127 |
|
---|
| 128 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
[1e4ca8bb] | 131 | <sect2 role="commands">
|
---|
| 132 | <title>Command Explanations</title>
|
---|
| 133 |
|
---|
[f82ac3f] | 134 | <para>
|
---|
| 135 | <parameter>--with-gobject</parameter>: This switch enables building
|
---|
[8374093] | 136 | of the <application>HarfBuzz</application> GObject wrapper. Remove
|
---|
[f82ac3f] | 137 | it if you did not install <application>GLib</application>.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
[1e4ca8bb] | 140 | <para>
|
---|
[e2371356] | 141 | <option>--with-graphite2</option>: This switch enables
|
---|
[1e4ca8bb] | 142 | <application>Graphite2</application> support.
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
[f82ac3f] | 145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 146 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 147 |
|
---|
[1e4ca8bb] | 148 | </sect2>
|
---|
| 149 |
|
---|
[32e13498] | 150 | <sect2 role="content">
|
---|
| 151 | <title>Contents</title>
|
---|
| 152 |
|
---|
| 153 | <segmentedlist>
|
---|
| 154 | <segtitle>Installed Programs</segtitle>
|
---|
[f82ac3f] | 155 | <segtitle>Installed Libraries</segtitle>
|
---|
| 156 | <segtitle>Installed Directories</segtitle>
|
---|
[32e13498] | 157 |
|
---|
| 158 | <seglistitem>
|
---|
| 159 | <seg>
|
---|
[0d12bbe] | 160 | hb-ot-shape-closure, hb-shape, and
|
---|
| 161 | hb-view (only if cairo is installed)
|
---|
[32e13498] | 162 | </seg>
|
---|
| 163 | <seg>
|
---|
[3715b42] | 164 | libharfbuzz.so, libharfbuzz-gobject.so and libharfbuzz-icu.so
|
---|
[32e13498] | 165 | </seg>
|
---|
| 166 | <seg>
|
---|
[c7d631c] | 167 | /usr/{include,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"?>
|
---|
[c7d631c] | 176 |
|
---|
[0d12bbe] | 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:
|
---|
[c7d631c] | 183 | <command>hb-ot-shape-closure
|
---|
[0d12bbe] | 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>
|
---|
[c7d631c] | 203 |
|
---|
[0d12bbe] | 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:
|
---|
[c7d631c] | 212 | <command>hb-view --output-file=hello.png
|
---|
[0d12bbe] | 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>
|
---|
[8374093] | 225 | HarfBuzz text shaping library.
|
---|
[32e13498] | 226 | </para>
|
---|
| 227 | <indexterm zone="harfbuzz libharfbuzz">
|
---|
| 228 | <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
[0d7900a] | 232 |
|
---|
[8374093] | 233 | <varlistentry id="libharfbuzz-gobject">
|
---|
| 234 | <term><filename class="libraryfile">libharfbuzz-gobject.so</filename></term>
|
---|
| 235 | <listitem>
|
---|
| 236 | <para>
|
---|
| 237 | HarfBuzz text shaping library GObject integration.
|
---|
| 238 | </para>
|
---|
| 239 | <indexterm zone="harfbuzz libharfbuzz-gobject">
|
---|
| 240 | <primary sortas="c-libharfbuzz-gobject">libharfbuzz-gobject.so</primary>
|
---|
| 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
| 245 | <varlistentry id="libharfbuzz-icu">
|
---|
| 246 | <term><filename class="libraryfile">libharfbuzz-icu.so</filename></term>
|
---|
| 247 | <listitem>
|
---|
| 248 | <para>
|
---|
| 249 | HarfBuzz text shaping library ICU integration.
|
---|
| 250 | </para>
|
---|
| 251 | <indexterm zone="harfbuzz libharfbuzz-icu">
|
---|
| 252 | <primary sortas="c-libharfbuzz-icu">libharfbuzz-icu.so</primary>
|
---|
| 253 | </indexterm>
|
---|
| 254 | </listitem>
|
---|
| 255 | </varlistentry>
|
---|
| 256 |
|
---|
[32e13498] | 257 | </variablelist>
|
---|
[0d7900a] | 258 |
|
---|
[32e13498] | 259 | </sect2>
|
---|
[0d7900a] | 260 |
|
---|
[32e13498] | 261 | </sect1>
|
---|