source: general/graphlib/harfbuzz.xml@ 512a8b2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 512a8b2 was 512a8b2, checked in by Ken Moffat <ken@…>, 6 years ago

Harfbuzz-1.8.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20211 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.9 KB
Line 
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 "97cb89c6e2a914c05c8b7e858703885f">
11 <!ENTITY harfbuzz-size "3.7 MB">
12 <!ENTITY harfbuzz-buildsize "64 MB (add 45 MB for tests)">
13 <!ENTITY harfbuzz-time "0.4 SBU (add 0.6 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 If you intend to run the testsuite, apply the patch:
128 </para>
129
130<screen><userinput>patch -Np1 -i ../harfbuzz-&harfbuzz-version;-test_fix-1.patch</userinput></screen>
131
132 <para>
133 Install <application>HarfBuzz</application> by running the following
134 commands:
135 </para>
136
137<screen><userinput>./configure --prefix=/usr --with-gobject &amp;&amp;
138make</userinput></screen>
139
140 <para>
141 To test the results, issue: <command>make check</command>.
142 </para>
143
144 <para>
145 Now, as the <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>make install</userinput></screen>
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
154 <para>
155 <parameter>--with-gobject</parameter>: This switch enables building
156 of the <application>HarfBuzz</application> GObject wrapper. Remove
157 it if you did not install <application>GLib</application>.
158 </para>
159
160 <para>
161 <option>--with-graphite2</option>: This switch enables
162 <application>Graphite2</application> support, which is required for
163 building <xref linkend="texlive"/> with system harfbuzz.
164 </para>
165
166 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
167 href="../../xincludes/gtk-doc-rebuild.xml"/>
168
169 </sect2>
170
171 <sect2 role="content">
172 <title>Contents</title>
173
174 <segmentedlist>
175 <segtitle>Installed Programs</segtitle>
176 <segtitle>Installed Libraries</segtitle>
177 <segtitle>Installed Directories</segtitle>
178
179 <seglistitem>
180 <seg>
181 hb-ot-shape-closure, hb-shape, and
182 hb-view (only if cairo is installed)
183 </seg>
184 <seg>
185 libharfbuzz.so, libharfbuzz-gobject.so and libharfbuzz-icu.so
186 </seg>
187 <seg>
188 /usr/{include,share/gtk-doc/html}/harfbuzz
189 </seg>
190 </seglistitem>
191 </segmentedlist>
192
193 <variablelist>
194 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
195 <?dbfo list-presentation="list"?>
196 <?dbhtml list-presentation="table"?>
197
198 <varlistentry id="hb-ot-shape-closure">
199 <term><command>hb-ot-shape-closure</command></term>
200 <listitem>
201 <para>
202 gives the set of characters contained in a string, represented as
203 single characters and/or single character names. Example:
204 <command>hb-ot-shape-closure
205 /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
206 </para>
207 <indexterm zone="harfbuzz hb-ot-shape-closure">
208 <primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="hb-shape">
214 <term><command>hb-shape</command></term>
215 <listitem>
216 <para>
217 is used for the conversion of text strings into positioned glyphs.
218 </para>
219 <indexterm zone="harfbuzz hb-shape">
220 <primary sortas="b-hb-shape">hb-shape</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="hb-view">
226 <term><command>hb-view</command></term>
227 <listitem>
228 <para>
229 may be used for a graphical view of a string shape, using a
230 particular font, as a set of glyphs. Output format is automatically
231 defined by the file extension, the supported ones being
232 ansi/png/svg/pdf/ps/eps. Example:
233 <command>hb-view --output-file=hello.png
234 /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
235 </para>
236 <indexterm zone="harfbuzz hb-view">
237 <primary sortas="b-hb-view">hb-view</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="libharfbuzz">
243 <term><filename class="libraryfile">libharfbuzz.so</filename></term>
244 <listitem>
245 <para>
246 HarfBuzz text shaping library.
247 </para>
248 <indexterm zone="harfbuzz libharfbuzz">
249 <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="libharfbuzz-gobject">
255 <term><filename class="libraryfile">libharfbuzz-gobject.so</filename></term>
256 <listitem>
257 <para>
258 HarfBuzz text shaping library GObject integration.
259 </para>
260 <indexterm zone="harfbuzz libharfbuzz-gobject">
261 <primary sortas="c-libharfbuzz-gobject">libharfbuzz-gobject.so</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="libharfbuzz-icu">
267 <term><filename class="libraryfile">libharfbuzz-icu.so</filename></term>
268 <listitem>
269 <para>
270 HarfBuzz text shaping library ICU integration.
271 </para>
272 <indexterm zone="harfbuzz libharfbuzz-icu">
273 <primary sortas="c-libharfbuzz-icu">libharfbuzz-icu.so</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 </variablelist>
279
280 </sect2>
281
282</sect1>
Note: See TracBrowser for help on using the repository browser.