2012-08-29 19:37:58 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2013-02-12 02:51:17 +08:00
|
|
|
<!ENTITY harfbuzz-download-http
|
2012-08-29 19:37:58 +08:00
|
|
|
"http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-&harfbuzz-version;.tar.bz2">
|
|
|
|
<!ENTITY harfbuzz-download-ftp " ">
|
2015-10-18 05:34:18 +08:00
|
|
|
<!ENTITY harfbuzz-md5sum "2256fd144c936936db9c92e77510a011">
|
2015-06-20 02:17:15 +08:00
|
|
|
<!ENTITY harfbuzz-size "1.2 MB">
|
2015-10-18 05:34:18 +08:00
|
|
|
<!ENTITY harfbuzz-buildsize "32 MB (with tests)">
|
2015-09-07 06:05:04 +08:00
|
|
|
<!ENTITY harfbuzz-time "0.3 SBU (with tests)">
|
2012-08-29 19:37:58 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="harfbuzz" xreflabel="Harfbuzz-&harfbuzz-version;">
|
|
|
|
<?dbhtml filename="harfbuzz.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Harfbuzz-&harfbuzz-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="harfbuzz">
|
|
|
|
<primary sortas="a-Harfbuzz">Harfbuzz</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Harfbuzz</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The <application>Harfbuzz</application> package contains an OpenType text
|
|
|
|
shaping engine.
|
|
|
|
</para>
|
|
|
|
|
2015-09-10 12:58:46 +08:00
|
|
|
&lfs78_checked;
|
2012-08-29 19:37:58 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&harfbuzz-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&harfbuzz-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &harfbuzz-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &harfbuzz-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &harfbuzz-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &harfbuzz-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Harfbuzz Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
2015-03-15 20:27:47 +08:00
|
|
|
<xref linkend="glib2"/> (required for Pango),
|
2012-08-29 19:37:58 +08:00
|
|
|
<xref linkend="icu"/> and
|
|
|
|
<xref linkend="freetype2"/>
|
2014-05-31 04:42:32 +08:00
|
|
|
(after <xref linkend="harfbuzz"/> is installed, reinstall
|
|
|
|
<xref linkend="freetype2"/>)
|
2012-08-29 19:37:58 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2013-10-22 05:39:03 +08:00
|
|
|
<xref linkend="cairo"/>,
|
2015-03-15 20:35:23 +08:00
|
|
|
<xref linkend="gobject-introspection"/>,
|
2013-10-22 05:39:03 +08:00
|
|
|
<xref linkend="gtk-doc"/>, and
|
2014-02-07 07:15:02 +08:00
|
|
|
<xref linkend="graphite2"/>
|
2012-08-29 19:37:58 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<warning>
|
|
|
|
<para>
|
|
|
|
Recommended dependencies are not strictly required to build
|
|
|
|
the package. However, you might not get expected results at
|
|
|
|
runtime if you don't install them. Please do not report bugs
|
|
|
|
with this package if you <emphasis>have not</emphasis>
|
|
|
|
installed the recommended dependencies.
|
|
|
|
</para>
|
|
|
|
</warning>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/harfbuzz"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Harfbuzz</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install <application>Harfbuzz</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
2013-10-22 05:39:03 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --with-gobject &&
|
2012-08-29 19:37:58 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2015-10-18 05:34:18 +08:00
|
|
|
<para>
|
|
|
|
If you wish to execute the test suite, fix one test that fails:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>sed -e 's/2048/4352/' \
|
|
|
|
-i test/shaping/tests/fuzzed.tests</userinput></screen>
|
|
|
|
|
2012-08-29 19:37:58 +08:00
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make check</command>.
|
2012-10-17 20:09:50 +08:00
|
|
|
</para>
|
2012-08-29 19:37:58 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
|
2013-07-23 19:18:57 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2013-10-22 05:39:03 +08:00
|
|
|
<para>
|
|
|
|
<parameter>--with-gobject</parameter>: This switch enables building
|
|
|
|
of the <application>Harfbuzz</application> GObject wrapper. Remove
|
|
|
|
it if you did not install <application>GLib</application>.
|
|
|
|
</para>
|
|
|
|
|
2013-07-23 19:18:57 +08:00
|
|
|
<para>
|
2013-07-23 20:27:08 +08:00
|
|
|
<option>--with-graphite2</option>: This switch enables
|
2013-07-23 19:18:57 +08:00
|
|
|
<application>Graphite2</application> support.
|
|
|
|
</para>
|
|
|
|
|
2013-10-22 05:39:03 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
|
|
|
|
2013-07-23 19:18:57 +08:00
|
|
|
</sect2>
|
|
|
|
|
2012-08-29 19:37:58 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2013-10-22 05:39:03 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2012-08-29 19:37:58 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
2015-06-01 19:40:43 +08:00
|
|
|
hb-ot-shape-closure, hb-shape, and
|
|
|
|
hb-view (only if cairo is installed)
|
2012-08-29 19:37:58 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2014-02-03 17:28:51 +08:00
|
|
|
libharfbuzz.so, libharfbuzz-gobject.so and libharfbuzz-icu.so
|
2012-08-29 19:37:58 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2015-07-28 02:04:21 +08:00
|
|
|
/usr/{include,share/gtk-doc/html}/harfbuzz
|
2012-08-29 19:37:58 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2015-07-28 02:04:21 +08:00
|
|
|
|
2015-06-01 19:40:43 +08:00
|
|
|
<varlistentry id="hb-ot-shape-closure">
|
|
|
|
<term><command>hb-ot-shape-closure</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
gives the set of characters contained in a string, represented as
|
|
|
|
single characters and/or single character names. Example:
|
2015-07-28 02:04:21 +08:00
|
|
|
<command>hb-ot-shape-closure
|
2015-06-01 19:40:43 +08:00
|
|
|
/usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="harfbuzz hb-ot-shape-closure">
|
|
|
|
<primary sortas="b-hb-ot-shape-closure">hb-ot-shape-closure</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-08-29 19:37:58 +08:00
|
|
|
|
|
|
|
<varlistentry id="hb-shape">
|
|
|
|
<term><command>hb-shape</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2015-05-30 21:54:57 +08:00
|
|
|
is used for the conversion of text strings into positioned glyphs.
|
2012-08-29 19:37:58 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="harfbuzz hb-shape">
|
|
|
|
<primary sortas="b-hb-shape">hb-shape</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2015-07-28 02:04:21 +08:00
|
|
|
|
2015-06-01 19:40:43 +08:00
|
|
|
<varlistentry id="hb-view">
|
|
|
|
<term><command>hb-view</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
may be used for a graphical view of a string shape, using a
|
|
|
|
particular font, as a set of glyphs. Output format is automatically
|
|
|
|
defined by the file extension, the supported ones being
|
|
|
|
ansi/png/svg/pdf/ps/eps. Example:
|
2015-07-28 02:04:21 +08:00
|
|
|
<command>hb-view --output-file=hello.png
|
2015-06-01 19:40:43 +08:00
|
|
|
/usr/share/fonts/dejavu/DejaVuSans.ttf "Hello World."</command>.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="harfbuzz hb-view">
|
|
|
|
<primary sortas="b-hb-view">hb-view</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-08-29 19:37:58 +08:00
|
|
|
|
|
|
|
<varlistentry id="libharfbuzz">
|
|
|
|
<term><filename class="libraryfile">libharfbuzz.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains functions for complex text shaping.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="harfbuzz libharfbuzz">
|
|
|
|
<primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2013-02-12 02:51:17 +08:00
|
|
|
|
2012-08-29 19:37:58 +08:00
|
|
|
</variablelist>
|
2013-02-12 02:51:17 +08:00
|
|
|
|
2012-08-29 19:37:58 +08:00
|
|
|
</sect2>
|
2013-02-12 02:51:17 +08:00
|
|
|
|
2012-08-29 19:37:58 +08:00
|
|
|
</sect1>
|