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