source: general/graphlib/harfbuzz.xml@ 05ec61e9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym 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 05ec61e9 was a9ae025, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • Update to freetype-2.6.1.
  • Update to harfbuzz-1.0.6.
  • libdrm-2.4.65 will build without Valgrind.
  • Update to elfutils-0.164.
  • Mesa-11.0.3: update to mesa-11.0.3-add_xdemos-2.patch.
  • LLVM-3.7.0: minor changes.

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

  • Property mode set to 100644
File size: 7.3 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 "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-&harfbuzz-version;.tar.bz2">
9 <!ENTITY harfbuzz-download-ftp " ">
10 <!ENTITY harfbuzz-md5sum "2256fd144c936936db9c92e77510a011">
11 <!ENTITY harfbuzz-size "1.2 MB">
12 <!ENTITY harfbuzz-buildsize "32 MB (with tests)">
13 <!ENTITY harfbuzz-time "0.3 SBU (with 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 &lfs78_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 linkend="freetype2"/>
81 (after <xref linkend="harfbuzz"/> is installed, reinstall
82 <xref 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 linkend="graphite2"/>
91 </para>
92
93 <warning>
94 <para>
95 Recommended dependencies are not strictly required to build
96 the package. However, you might not get expected results at
97 runtime if you don't install them. Please do not report bugs
98 with this package if you <emphasis>have not</emphasis>
99 installed the recommended dependencies.
100 </para>
101 </warning>
102
103 <para condition="html" role="usernotes">
104 User Notes: <ulink url="&blfs-wiki;/harfbuzz"/>
105 </para>
106 </sect2>
107
108 <sect2 role="installation">
109 <title>Installation of Harfbuzz</title>
110
111 <para>
112 Install <application>Harfbuzz</application> by running the following
113 commands:
114 </para>
115
116<screen><userinput>./configure --prefix=/usr --with-gobject &amp;&amp;
117make</userinput></screen>
118
119 <para>
120 If you wish to execute the test suite, fix one test that fails:
121 </para>
122
123<screen><userinput>sed -e 's/2048/4352/' \
124 -i test/shaping/tests/fuzzed.tests</userinput></screen>
125
126 <para>
127 To test the results, issue: <command>make check</command>.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>make install</userinput></screen>
135 </sect2>
136
137 <sect2 role="commands">
138 <title>Command Explanations</title>
139
140 <para>
141 <parameter>--with-gobject</parameter>: This switch enables building
142 of the <application>Harfbuzz</application> GObject wrapper. Remove
143 it if you did not install <application>GLib</application>.
144 </para>
145
146 <para>
147 <option>--with-graphite2</option>: This switch enables
148 <application>Graphite2</application> support.
149 </para>
150
151 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
152 href="../../xincludes/gtk-doc-rebuild.xml"/>
153
154 </sect2>
155
156 <sect2 role="content">
157 <title>Contents</title>
158
159 <segmentedlist>
160 <segtitle>Installed Programs</segtitle>
161 <segtitle>Installed Libraries</segtitle>
162 <segtitle>Installed Directories</segtitle>
163
164 <seglistitem>
165 <seg>
166 hb-ot-shape-closure, hb-shape, and
167 hb-view (only if cairo is installed)
168 </seg>
169 <seg>
170 libharfbuzz.so, libharfbuzz-gobject.so and libharfbuzz-icu.so
171 </seg>
172 <seg>
173 /usr/{include,share/gtk-doc/html}/harfbuzz
174 </seg>
175 </seglistitem>
176 </segmentedlist>
177
178 <variablelist>
179 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
180 <?dbfo list-presentation="list"?>
181 <?dbhtml list-presentation="table"?>
182
183 <varlistentry id="hb-ot-shape-closure">
184 <term><command>hb-ot-shape-closure</command></term>
185 <listitem>
186 <para>
187 gives the set of characters contained in a string, represented as
188 single characters and/or single character names. Example:
189 <command>hb-ot-shape-closure
190 /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
191 </para>
192 <indexterm zone="harfbuzz hb-ot-shape-closure">
193 <primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="hb-shape">
199 <term><command>hb-shape</command></term>
200 <listitem>
201 <para>
202 is used for the conversion of text strings into positioned glyphs.
203 </para>
204 <indexterm zone="harfbuzz hb-shape">
205 <primary sortas="b-hb-shape">hb-shape</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="hb-view">
211 <term><command>hb-view</command></term>
212 <listitem>
213 <para>
214 may be used for a graphical view of a string shape, using a
215 particular font, as a set of glyphs. Output format is automatically
216 defined by the file extension, the supported ones being
217 ansi/png/svg/pdf/ps/eps. Example:
218 <command>hb-view --output-file=hello.png
219 /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
220 </para>
221 <indexterm zone="harfbuzz hb-view">
222 <primary sortas="b-hb-view">hb-view</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="libharfbuzz">
228 <term><filename class="libraryfile">libharfbuzz.so</filename></term>
229 <listitem>
230 <para>
231 contains functions for complex text shaping.
232 </para>
233 <indexterm zone="harfbuzz libharfbuzz">
234 <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 </variablelist>
240
241 </sect2>
242
243</sect1>
Note: See TracBrowser for help on using the repository browser.