source: general/graphlib/harfbuzz.xml@ 94b4def9

systemd-13485
Last change on this file since 94b4def9 was 94b4def9, checked in by DJ Lucas <dj@…>, 8 years ago

Merge Chapter 10 changes from trunk, fix boost sed (from trunk).

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16844 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.1 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 "671daf05153d57258e5cb992aa28c64a">
11 <!ENTITY harfbuzz-size "1.3 MB">
12 <!ENTITY harfbuzz-buildsize "53 MB (with tests)">
13 <!ENTITY harfbuzz-time "0.4 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 To test the results, issue: <command>make check</command>.
121 </para>
122
123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
126
127<screen role="root"><userinput>make install</userinput></screen>
128 </sect2>
129
130 <sect2 role="commands">
131 <title>Command Explanations</title>
132
133 <para>
134 <parameter>--with-gobject</parameter>: This switch enables building
135 of the <application>Harfbuzz</application> GObject wrapper. Remove
136 it if you did not install <application>GLib</application>.
137 </para>
138
139 <para>
140 <option>--with-graphite2</option>: This switch enables
141 <application>Graphite2</application> support.
142 </para>
143
144 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
145 href="../../xincludes/gtk-doc-rebuild.xml"/>
146
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Programs</segtitle>
154 <segtitle>Installed Libraries</segtitle>
155 <segtitle>Installed Directories</segtitle>
156
157 <seglistitem>
158 <seg>
159 hb-ot-shape-closure, hb-shape, and
160 hb-view (only if cairo is installed)
161 </seg>
162 <seg>
163 libharfbuzz.so, libharfbuzz-gobject.so and libharfbuzz-icu.so
164 </seg>
165 <seg>
166 /usr/{include,share/gtk-doc/html}/harfbuzz
167 </seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="hb-ot-shape-closure">
177 <term><command>hb-ot-shape-closure</command></term>
178 <listitem>
179 <para>
180 gives the set of characters contained in a string, represented as
181 single characters and/or single character names. Example:
182 <command>hb-ot-shape-closure
183 /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
184 </para>
185 <indexterm zone="harfbuzz hb-ot-shape-closure">
186 <primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="hb-shape">
192 <term><command>hb-shape</command></term>
193 <listitem>
194 <para>
195 is used for the conversion of text strings into positioned glyphs.
196 </para>
197 <indexterm zone="harfbuzz hb-shape">
198 <primary sortas="b-hb-shape">hb-shape</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="hb-view">
204 <term><command>hb-view</command></term>
205 <listitem>
206 <para>
207 may be used for a graphical view of a string shape, using a
208 particular font, as a set of glyphs. Output format is automatically
209 defined by the file extension, the supported ones being
210 ansi/png/svg/pdf/ps/eps. Example:
211 <command>hb-view --output-file=hello.png
212 /usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
213 </para>
214 <indexterm zone="harfbuzz hb-view">
215 <primary sortas="b-hb-view">hb-view</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="libharfbuzz">
221 <term><filename class="libraryfile">libharfbuzz.so</filename></term>
222 <listitem>
223 <para>
224 contains functions for complex text shaping.
225 </para>
226 <indexterm zone="harfbuzz libharfbuzz">
227 <primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 </variablelist>
233
234 </sect2>
235
236</sect1>
Note: See TracBrowser for help on using the repository browser.