source: general/graphlib/harfbuzz.xml@ b3a11f45

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since b3a11f45 was b3a11f45, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Update to harfbuzz-6.0.0.

  • Property mode set to 100644
File size: 9.4 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://github.com/harfbuzz/harfbuzz/releases/download/&harfbuzz-version;/harfbuzz-&harfbuzz-version;.tar.xz">
9 <!ENTITY harfbuzz-download-ftp " ">
10 <!ENTITY harfbuzz-md5sum "a3f9e51043a5a14b409c52fe4ab1e29e">
11 <!ENTITY harfbuzz-size "18 MB">
12 <!ENTITY harfbuzz-buildsize "142 MB (with tests)">
13 <!ENTITY harfbuzz-time "0.6 SBU (Using parallelism=4; with tests)">
14]>
15
16<sect1 id="harfbuzz" xreflabel="HarfBuzz-&harfbuzz-version;">
17 <?dbhtml filename="harfbuzz.html"?>
18
19
20 <title>HarfBuzz-&harfbuzz-version;</title>
21
22 <indexterm zone="harfbuzz">
23 <primary sortas="a-HarfBuzz">HarfBuzz</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to Harfbuzz</title>
28
29 <para>
30 The <application>HarfBuzz</application> package contains an OpenType text
31 shaping engine.
32 </para>
33
34 &lfs112_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&harfbuzz-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&harfbuzz-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &harfbuzz-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &harfbuzz-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &harfbuzz-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &harfbuzz-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">HarfBuzz Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Recommended</bridgehead>
73 <para role="recommended">
74 <xref linkend="gobject-introspection"/> (required if building GNOME),
75 <xref linkend="glib2"/> (required for Pango),
76 <xref role="first" linkend="graphite2"/> (required for building
77 <xref role="nodep" linkend="texlive"/> or
78 <xref role="nodep" linkend="libreoffice"/> with system harfbuzz),
79 <xref linkend="icu"/>, and
80 <xref role="first" linkend="freetype2"/>
81 (after <xref role="nodep" linkend="harfbuzz"/> is installed, reinstall
82 <xref role="nodep" linkend="freetype2"/>)
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="cairo"/> (circular: build cairo and all its recommended
88 dependencies, including harfbuzz, first, then rebuild harfbuzz if the
89 cairo backend is needed),
90 <xref linkend="git"/>,
91 <xref linkend="gtk-doc"/>,
92 <ulink url="https://pypi.org/project/FontTools/">FontTools</ulink>
93 (Python 3 module, for the test suite), and
94 <ulink url="https://www.colm.net/open-source/ragel/">ragel</ulink>
95 </para>
96
97 <warning>
98 <para>
99 Recommended dependencies are not strictly required to build
100 the package. However, you might not get expected results at
101 runtime if you don't install them. Please do not report bugs
102 with this package if you <emphasis>have not</emphasis>
103 installed the recommended dependencies.
104 </para>
105 </warning>
106
107 <para condition="html" role="usernotes">
108 User Notes: <ulink url="&blfs-wiki;/harfbuzz"/>
109 </para>
110 </sect2>
111
112 <sect2 role="installation">
113 <title>Installation of HarfBuzz</title>
114
115 <para>
116 Install <application>HarfBuzz</application> by running the following
117 commands:
118 </para>
119
120<screen><userinput>mkdir build &amp;&amp;
121cd build &amp;&amp;
122
123meson --prefix=/usr \
124 --buildtype=release \
125 -Dgraphite2=enabled &amp;&amp;
126ninja</userinput></screen>
127
128 <para>
129 To test the results, issue: <command>ninja test</command>.
130 </para>
131
132 <para>
133 Now, as the <systemitem class="username">root</systemitem> user:
134 </para>
135
136<screen role="root"><userinput>ninja install</userinput></screen>
137 </sect2>
138
139 <sect2 role="commands">
140 <title>Command Explanations</title>
141
142 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
143 href="../../xincludes/meson-buildtype-release.xml"/>
144
145 <para>
146 <parameter>-Dgraphite2=enabled</parameter>: This switch enables
147 <application>Graphite2</application> support, which is required for
148 building <xref linkend="texlive"/> or <xref linkend="libreoffice"/>
149 with system harfbuzz.
150 </para>
151<!--
152 <para>
153 <parameter>-Dbenchmark=disabled</parameter>: This switch disables
154 downloading and building the <application>google-benchmark</application>
155 subproject, which requires <xref linkend="git"/>, and is of no
156 use for non developers.
157 </para>
158-->
159 <para>
160 <option>-Ddocs=false</option>: If <xref linkend="gtk-doc"/> is installed,
161 the documentation is built and installed. This switch prevents that.
162 </para>
163
164 </sect2>
165
166 <sect2 role="content">
167 <title>Contents</title>
168
169 <segmentedlist>
170 <segtitle>Installed Programs</segtitle>
171 <segtitle>Installed Libraries</segtitle>
172 <segtitle>Installed Directories</segtitle>
173
174 <seglistitem>
175 <seg>
176 hb-ot-shape-closure, hb-shape, hb-subset, and
177 hb-view (only if cairo is installed)
178 </seg>
179 <seg>
180 libharfbuzz.so, libharfbuzz-gobject.so, libharfbuzz-icu.so, and
181 libharfbuzz-subset.so
182 </seg>
183 <seg>
184 /usr/include/harbuzz,
185 /usr/lib/cmake/harfbuzz, and
186 /usr/share/gtk-doc/html/harfbuzz (optional)
187 </seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="hb-ot-shape-closure">
197 <term><command>hb-ot-shape-closure</command></term>
198 <listitem>
199 <para>
200 gives the set of characters contained in a string, represented as
201 single characters and/or single character names. Example:
202 <command>hb-ot-shape-closure
203 /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>
204 </para>
205 <indexterm zone="harfbuzz hb-ot-shape-closure">
206 <primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="hb-shape">
212 <term><command>hb-shape</command></term>
213 <listitem>
214 <para>
215 is used for the conversion of text strings into positioned glyphs
216 </para>
217 <indexterm zone="harfbuzz hb-shape">
218 <primary sortas="b-hb-shape">hb-shape</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="hb-subset">
224 <term><command>hb-subset</command></term>
225 <listitem>
226 <para>
227 is used to create subsets of fonts, and display text using them
228 </para>
229 <indexterm zone="harfbuzz hb-subset">
230 <primary sortas="b-hb-subset">hb-subset</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="hb-view">
236 <term><command>hb-view</command></term>
237 <listitem>
238 <para>
239 displays a graphical view of a string shape using a
240 particular font as a set of glyphs. The output format is
241 automatically defined by the file extension, the supported ones
242 being ansi/png/svg/pdf/ps/eps. For example:
243 <command>hb-view --output-file=hello.png
244 /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>
245 </para>
246 <indexterm zone="harfbuzz hb-view">
247 <primary sortas="b-hb-view">hb-view</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="libharfbuzz">
253 <term><filename class="libraryfile">libharfbuzz.so</filename></term>
254 <listitem>
255 <para>
256 is the HarfBuzz text shaping library
257 </para>
258 <indexterm zone="harfbuzz libharfbuzz">
259 <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="libharfbuzz-gobject">
265 <term><filename class="libraryfile">libharfbuzz-gobject.so</filename></term>
266 <listitem>
267 <para>
268 provides GObject integration for the HarfBuzz text shaping library
269 </para>
270 <indexterm zone="harfbuzz libharfbuzz-gobject">
271 <primary sortas="c-libharfbuzz-gobject">libharfbuzz-gobject.so</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="libharfbuzz-icu">
277 <term><filename class="libraryfile">libharfbuzz-icu.so</filename></term>
278 <listitem>
279 <para>
280 provides ICU integration for the HarfBuzz text shaping library
281 </para>
282 <indexterm zone="harfbuzz libharfbuzz-icu">
283 <primary sortas="c-libharfbuzz-icu">libharfbuzz-icu.so</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 </variablelist>
289
290 </sect2>
291
292</sect1>
Note: See TracBrowser for help on using the repository browser.