source: general/graphlib/harfbuzz.xml@ 8b8a6c4

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 8b8a6c4 was 8b8a6c4, checked in by Pierre Labastie <pieere@…>, 6 years ago

Make clear that graphite2 support is needed in harfbuzz, for building texlive

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

  • Property mode set to 100644
File size: 8.2 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 "ffb94cf2942327344ac31330d07036ba">
11 <!ENTITY harfbuzz-size "2.5 MB">
12 <!ENTITY harfbuzz-buildsize "41 MB (add 25 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">HarfBuzz Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="glib2"/> (required for Pango),
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"/>,
88 <xref linkend="gobject-introspection"/>,
89 <xref linkend="gtk-doc"/>, and
90 <xref role="first" linkend="graphite2"/> (required for building
91 <xref role="nodep" linkend="texlive"/> with system harfbuzz)
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">
110 <title>Installation of HarfBuzz</title>
111
112 <para>
113 Install <application>HarfBuzz</application> by running the following
114 commands:
115 </para>
116
117<screen><userinput>./configure --prefix=/usr --with-gobject &amp;&amp;
118make</userinput></screen>
119
120 <para>
121 To test the results, issue: <command>make check</command>.
122 </para>
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
131 <sect2 role="commands">
132 <title>Command Explanations</title>
133
134 <para>
135 <parameter>--with-gobject</parameter>: This switch enables building
136 of the <application>HarfBuzz</application> GObject wrapper. Remove
137 it if you did not install <application>GLib</application>.
138 </para>
139
140 <para>
141 <option>--with-graphite2</option>: This switch enables
142 <application>Graphite2</application> support, which is required for
143 building <xref linkend="texlive"/> with system harfbuzz.
144 </para>
145
146 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
147 href="../../xincludes/gtk-doc-rebuild.xml"/>
148
149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
155 <segtitle>Installed Programs</segtitle>
156 <segtitle>Installed Libraries</segtitle>
157 <segtitle>Installed Directories</segtitle>
158
159 <seglistitem>
160 <seg>
161 hb-ot-shape-closure, hb-shape, and
162 hb-view (only if cairo is installed)
163 </seg>
164 <seg>
165 libharfbuzz.so, libharfbuzz-gobject.so and libharfbuzz-icu.so
166 </seg>
167 <seg>
168 /usr/{include,share/gtk-doc/html}/harfbuzz
169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="hb-ot-shape-closure">
179 <term><command>hb-ot-shape-closure</command></term>
180 <listitem>
181 <para>
182 gives the set of characters contained in a string, represented as
183 single characters and/or single character names. Example:
184 <command>hb-ot-shape-closure
185 /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
186 </para>
187 <indexterm zone="harfbuzz hb-ot-shape-closure">
188 <primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="hb-shape">
194 <term><command>hb-shape</command></term>
195 <listitem>
196 <para>
197 is used for the conversion of text strings into positioned glyphs.
198 </para>
199 <indexterm zone="harfbuzz hb-shape">
200 <primary sortas="b-hb-shape">hb-shape</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="hb-view">
206 <term><command>hb-view</command></term>
207 <listitem>
208 <para>
209 may be used for a graphical view of a string shape, using a
210 particular font, as a set of glyphs. Output format is automatically
211 defined by the file extension, the supported ones being
212 ansi/png/svg/pdf/ps/eps. Example:
213 <command>hb-view --output-file=hello.png
214 /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
215 </para>
216 <indexterm zone="harfbuzz hb-view">
217 <primary sortas="b-hb-view">hb-view</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="libharfbuzz">
223 <term><filename class="libraryfile">libharfbuzz.so</filename></term>
224 <listitem>
225 <para>
226 HarfBuzz text shaping library.
227 </para>
228 <indexterm zone="harfbuzz libharfbuzz">
229 <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="libharfbuzz-gobject">
235 <term><filename class="libraryfile">libharfbuzz-gobject.so</filename></term>
236 <listitem>
237 <para>
238 HarfBuzz text shaping library GObject integration.
239 </para>
240 <indexterm zone="harfbuzz libharfbuzz-gobject">
241 <primary sortas="c-libharfbuzz-gobject">libharfbuzz-gobject.so</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="libharfbuzz-icu">
247 <term><filename class="libraryfile">libharfbuzz-icu.so</filename></term>
248 <listitem>
249 <para>
250 HarfBuzz text shaping library ICU integration.
251 </para>
252 <indexterm zone="harfbuzz libharfbuzz-icu">
253 <primary sortas="c-libharfbuzz-icu">libharfbuzz-icu.so</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 </variablelist>
259
260 </sect2>
261
262</sect1>
Note: See TracBrowser for help on using the repository browser.