Usermanual: small formatting and wording fixes.

This commit is contained in:
Nathan Willis 2018-12-03 12:49:44 -06:00 committed by Khaled Hosny
parent ed13caddf2
commit ad95487038
3 changed files with 23 additions and 21 deletions

View File

@ -75,6 +75,9 @@
<section> <section>
<title>Terminology</title> <title>Terminology</title>
<para>
</para>
<variablelist> <variablelist>
<?dbfo list-presentation="blocks"?> <?dbfo list-presentation="blocks"?>
<varlistentry> <varlistentry>

View File

@ -57,8 +57,7 @@
<para> <para>
For example, on an Ubuntu or Debian system, you would run: For example, on an Ubuntu or Debian system, you would run:
<programlisting> <programlisting>
<command>sudo apt install</command> <package>gcc g++ <command>sudo apt install</command> <package>gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev</package>
libfreetype6-dev libglib2.0-dev libcairo2-dev</package>
</programlisting> </programlisting>
On Fedora, RHEL, CentOS, or other Red-Hat&ndash;based systems, you would run: On Fedora, RHEL, CentOS, or other Red-Hat&ndash;based systems, you would run:
<programlisting> <programlisting>
@ -184,8 +183,7 @@
<para>If you are <para>If you are
using MacPorts, you should run: using MacPorts, you should run:
<programlisting> <programlisting>
<command>sudo port install</command> <package>autoconf <command>sudo port install</command> <package>autoconf automake libtool pkgconfig ragel gtk-doc</package>
automake libtool pkgconfig ragel gtk-doc</package>
</programlisting> </programlisting>
to install the build dependencies. to install the build dependencies.
</para> </para>
@ -231,7 +229,7 @@
<variablelist> <variablelist>
<?dbfo list-presentation="blocks"?> <?dbfo list-presentation="blocks"?>
<varlistentry> <varlistentry>
<term>--with-libstdc++</term> <term><command>--with-libstdc++</command></term>
<listitem> <listitem>
<para> <para>
Allow linking with libstdc++. <emphasis>(Default = no)</emphasis> Allow linking with libstdc++. <emphasis>(Default = no)</emphasis>
@ -244,7 +242,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-glib</term> <term><command>--with-glib</command></term>
<listitem> <listitem>
<para> <para>
Use <ulink url="https://developer.gnome.org/glib/">GLib</ulink>. <emphasis>(Default = auto)</emphasis> Use <ulink url="https://developer.gnome.org/glib/">GLib</ulink>. <emphasis>(Default = auto)</emphasis>
@ -260,7 +258,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-gobject</term> <term><command>--with-gobject</command></term>
<listitem> <listitem>
<para> <para>
Use <ulink url="https://developer.gnome.org/gobject/stable/">GObject</ulink>. <emphasis>(Default = no)</emphasis> Use <ulink url="https://developer.gnome.org/gobject/stable/">GObject</ulink>. <emphasis>(Default = no)</emphasis>
@ -276,7 +274,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-cairo</term> <term><command>--with-cairo</command></term>
<listitem> <listitem>
<para> <para>
Use <ulink url="https://cairographics.org/">Cairo</ulink>. <emphasis>(Default = auto)</emphasis> Use <ulink url="https://cairographics.org/">Cairo</ulink>. <emphasis>(Default = auto)</emphasis>
@ -295,7 +293,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-fontconfig</term> <term><command>--with-fontconfig</command></term>
<listitem> <listitem>
<para> <para>
Use <ulink url="https://www.freedesktop.org/wiki/Software/fontconfig/">Fontconfig</ulink>. <emphasis>(Default = auto)</emphasis> Use <ulink url="https://www.freedesktop.org/wiki/Software/fontconfig/">Fontconfig</ulink>. <emphasis>(Default = auto)</emphasis>
@ -315,7 +313,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-icu</term> <term><command>--with-icu</command></term>
<listitem> <listitem>
<para> <para>
Use the <ulink url="http://site.icu-project.org/home">ICU</ulink> library. <emphasis>(Default = auto)</emphasis> Use the <ulink url="http://site.icu-project.org/home">ICU</ulink> library. <emphasis>(Default = auto)</emphasis>
@ -333,7 +331,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-ucdn</term> <term><command>--with-ucdn</command></term>
<listitem> <listitem>
<para> <para>
Use HarfBuzz's <ulink url="https://github.com/harfbuzz/harfbuzz/tree/master/src/hb-ucdn">built-in UCDN library</ulink>. <emphasis>(Default = auto)</emphasis> Use HarfBuzz's <ulink url="https://github.com/harfbuzz/harfbuzz/tree/master/src/hb-ucdn">built-in UCDN library</ulink>. <emphasis>(Default = auto)</emphasis>
@ -351,7 +349,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-graphite2</term> <term><command>--with-graphite2</command></term>
<listitem> <listitem>
<para> <para>
Use the <ulink url="http://graphite.sil.org/">Graphite2</ulink> library. <emphasis>(Default = no)</emphasis> Use the <ulink url="http://graphite.sil.org/">Graphite2</ulink> library. <emphasis>(Default = no)</emphasis>
@ -365,7 +363,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-freetype</term> <term><command>--with-freetype</command></term>
<listitem> <listitem>
<para> <para>
Use the <ulink url="https://www.freetype.org/">FreeType</ulink> library. <emphasis>(Default = auto)</emphasis> Use the <ulink url="https://www.freetype.org/">FreeType</ulink> library. <emphasis>(Default = auto)</emphasis>
@ -380,7 +378,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-uniscribe</term> <term><command>--with-uniscribe</command></term>
<listitem> <listitem>
<para> <para>
Use the <ulink Use the <ulink
@ -398,7 +396,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-directwrite</term> <term><command>--with-directwrite</command></term>
<listitem> <listitem>
<para> <para>
Use the <ulink url="https://docs.microsoft.com/en-us/windows/desktop/directwrite/direct-write-portal">DirectWrite</ulink> library (experimental). <emphasis>(Default = no)</emphasis> Use the <ulink url="https://docs.microsoft.com/en-us/windows/desktop/directwrite/direct-write-portal">DirectWrite</ulink> library (experimental). <emphasis>(Default = no)</emphasis>
@ -414,7 +412,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>--with-coretext</term> <term><command>--with-coretext</command></term>
<listitem> <listitem>
<para> <para>
Use the <ulink url="https://developer.apple.com/documentation/coretext">CoreText</ulink> library. <emphasis>(Default = no)</emphasis> Use the <ulink url="https://developer.apple.com/documentation/coretext">CoreText</ulink> library. <emphasis>(Default = no)</emphasis>

View File

@ -18,7 +18,7 @@
<para> <para>
HarfBuzz can properly shape all of the world's major writing HarfBuzz can properly shape all of the world's major writing
systems. It runs on all major operating systems and software systems. It runs on all major operating systems and software
platforms and it supports the modern font formats in use platforms and it supports the major font formats in use
today. today.
</para> </para>
<section id="what-is-text-shaping"> <section id="what-is-text-shaping">
@ -48,7 +48,8 @@
url="http://www.microsoft.com/typography/otspec/">OpenType</ulink>. The url="http://www.microsoft.com/typography/otspec/">OpenType</ulink>. The
OpenType specification defines a series of <ulink url="https://github.com/n8willis/opentype-shaping-documents">shaping models</ulink> for OpenType specification defines a series of <ulink url="https://github.com/n8willis/opentype-shaping-documents">shaping models</ulink> for
various scripts from around the world. These shaping models depend on various scripts from around the world. These shaping models depend on
the font including certain features in its <literal>GSUB</literal> the font incorporating certain features as
<emphasis>lookups</emphasis> in its <literal>GSUB</literal>
and <literal>GPOS</literal> tables. and <literal>GPOS</literal> tables.
</para> </para>
<para> <para>
@ -65,7 +66,7 @@
Text strings will usually be tagged with a script and language Text strings will usually be tagged with a script and language
tag that provide the context needed to perform text shaping tag that provide the context needed to perform text shaping
correctly. The necessary <ulink correctly. The necessary <ulink
url="https://docs.microsoft.com/en-us/typography/opentype/spec/scripttags">Script</ulink> url="https://docs.microsoft.com/en-us/typography/opentype/spec/scripttags">script</ulink>
and <ulink and <ulink
url="https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags">language</ulink> url="https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags">language</ulink>
tags are defined by OpenType. tags are defined by OpenType.
@ -126,8 +127,8 @@
<para> <para>
Many OpenType fonts contain ligatures: combinations of Many OpenType fonts contain ligatures: combinations of
characters that are rendered as a single unit. For instance, characters that are rendered as a single unit. For instance,
it is common for the <literal>fi</literal> letter it is common for the &quot;f, i&quot; letter
combination to appear in print as the single ligature glyph sequence to appear in print as the single ligature glyph
&quot;&quot;. &quot;&quot;.
</para> </para>
<para> <para>