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
|
2017-08-16 02:49:48 +08:00
|
|
|
"https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-&harfbuzz-version;.tar.bz2">
|
2012-08-29 19:37:58 +08:00
|
|
|
<!ENTITY harfbuzz-download-ftp " ">
|
2018-10-06 00:01:06 +08:00
|
|
|
<!ENTITY harfbuzz-md5sum "263a3f1cb014e3ad2e4123c238a9bfc5">
|
2018-06-27 05:02:08 +08:00
|
|
|
<!ENTITY harfbuzz-size "3.7 MB">
|
2018-10-06 00:01:06 +08:00
|
|
|
<!ENTITY harfbuzz-buildsize "119 MB (with tests)">
|
2018-08-18 09:17:43 +08:00
|
|
|
<!ENTITY harfbuzz-time "1.1 SBU (with tests)">
|
2012-08-29 19:37:58 +08:00
|
|
|
]>
|
|
|
|
|
2016-03-20 08:47:12 +08:00
|
|
|
<sect1 id="harfbuzz" xreflabel="HarfBuzz-&harfbuzz-version;">
|
2012-08-29 19:37:58 +08:00
|
|
|
<?dbhtml filename="harfbuzz.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2016-03-20 08:47:12 +08:00
|
|
|
<title>HarfBuzz-&harfbuzz-version;</title>
|
2012-08-29 19:37:58 +08:00
|
|
|
|
|
|
|
<indexterm zone="harfbuzz">
|
2016-03-20 08:47:12 +08:00
|
|
|
<primary sortas="a-HarfBuzz">HarfBuzz</primary>
|
2012-08-29 19:37:58 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Harfbuzz</title>
|
|
|
|
|
|
|
|
<para>
|
2016-03-20 08:47:12 +08:00
|
|
|
The <application>HarfBuzz</application> package contains an OpenType text
|
2012-08-29 19:37:58 +08:00
|
|
|
shaping engine.
|
|
|
|
</para>
|
|
|
|
|
2018-08-18 09:17:43 +08:00
|
|
|
&lfs83_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>
|
|
|
|
|
2016-03-20 08:47:12 +08:00
|
|
|
<bridgehead renderas="sect3">HarfBuzz Dependencies</bridgehead>
|
2012-08-29 19:37:58 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
2015-03-15 20:27:47 +08:00
|
|
|
<xref linkend="glib2"/> (required for Pango),
|
2017-09-16 03:46:45 +08:00
|
|
|
<xref linkend="icu"/>, and
|
2018-01-24 18:16:23 +08:00
|
|
|
<xref role="first" linkend="freetype2"/>
|
2017-09-16 03:46:45 +08:00
|
|
|
(after <xref role="nodep" linkend="harfbuzz"/> is installed, reinstall
|
|
|
|
<xref role="nodep" 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"/>,
|
2018-06-27 05:02:08 +08:00
|
|
|
<xref linkend="gtk-doc"/>,
|
2018-03-23 21:37:41 +08:00
|
|
|
<xref role="first" linkend="graphite2"/> (required for building
|
2018-04-08 07:33:44 +08:00
|
|
|
<xref role="nodep" linkend="texlive"/> or
|
|
|
|
<xref role="nodep" linkend="libreoffice"/> with system harfbuzz)
|
2018-06-27 05:02:08 +08:00
|
|
|
<xref linkend="python2"/> (required for the testsuite), and
|
|
|
|
<ulink url="https://pypi.org/project/FontTools/">FontTools</ulink> (for
|
|
|
|
the testsuite)
|
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">
|
2016-03-20 08:47:12 +08:00
|
|
|
<title>Installation of HarfBuzz</title>
|
2012-08-29 19:37:58 +08:00
|
|
|
|
|
|
|
<para>
|
2016-03-20 08:47:12 +08:00
|
|
|
Install <application>HarfBuzz</application> by running the following
|
2012-08-29 19:37:58 +08:00
|
|
|
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>
|
|
|
|
|
|
|
|
<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
|
2016-03-20 08:47:12 +08:00
|
|
|
of the <application>HarfBuzz</application> GObject wrapper. Remove
|
2013-10-22 05:39:03 +08:00
|
|
|
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
|
2018-03-23 21:37:41 +08:00
|
|
|
<application>Graphite2</application> support, which is required for
|
2018-08-10 12:29:47 +08:00
|
|
|
building <xref linkend="texlive"/> or <xref linkend="libreoffice"/>
|
|
|
|
with system harfbuzz.
|
2013-07-23 19:18:57 +08:00
|
|
|
</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>
|
2018-08-10 12:29:47 +08:00
|
|
|
hb-ot-shape-closure, hb-shape, hb-subset, and
|
2015-06-01 19:40:43 +08:00
|
|
|
hb-view (only if cairo is installed)
|
2012-08-29 19:37:58 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2018-10-06 00:01:06 +08:00
|
|
|
libharfbuzz.so, libharfbuzz-gobject.so, libharfbuzz-subset.so,
|
2018-08-10 12:29:47 +08:00
|
|
|
and libharfbuzz-icu.so
|
2012-08-29 19:37:58 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2018-08-10 12:29:47 +08:00
|
|
|
/usr/{include,lib/cmake,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>
|
2016-03-20 08:47:12 +08:00
|
|
|
HarfBuzz text shaping library.
|
2012-08-29 19:37:58 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="harfbuzz libharfbuzz">
|
|
|
|
<primary sortas="c-libharfbuzz">libharfbuzz.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2013-02-12 02:51:17 +08:00
|
|
|
|
2016-03-20 08:47:12 +08:00
|
|
|
<varlistentry id="libharfbuzz-gobject">
|
|
|
|
<term><filename class="libraryfile">libharfbuzz-gobject.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
HarfBuzz text shaping library GObject integration.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="harfbuzz libharfbuzz-gobject">
|
|
|
|
<primary sortas="c-libharfbuzz-gobject">libharfbuzz-gobject.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libharfbuzz-icu">
|
|
|
|
<term><filename class="libraryfile">libharfbuzz-icu.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
HarfBuzz text shaping library ICU integration.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="harfbuzz libharfbuzz-icu">
|
|
|
|
<primary sortas="c-libharfbuzz-icu">libharfbuzz-icu.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
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>
|