Minor fixes to documentation for merge

This commit is contained in:
David Jones 2024-07-18 17:22:14 +01:00 committed by Behdad Esfahbod
parent b096ff7b3c
commit 4214a66405

View File

@ -27,7 +27,7 @@ class Merger(object):
This class merges multiple files into a single OpenType font, taking into
account complexities such as OpenType layout (``GSUB``/``GPOS``) tables and
cross-font metrics (e.g. ``hhea.ascent`` is set to the maximum value across
cross-font metrics (for example ``hhea.ascent`` is set to the maximum value across
all the fonts).
If multiple glyphs map to the same Unicode value, and the glyphs are considered
@ -35,10 +35,10 @@ class Merger(object):
height), then subsequent glyphs are renamed and a lookup in the ``locl``
feature will be created to disambiguate them. For example, if the arguments
are an Arabic font and a Latin font and both contain a set of parentheses,
the Latin glyphs will be renamed to ``parenleft#1`` and ``parenright#1``,
the Latin glyphs will be renamed to ``parenleft.1`` and ``parenright.1``,
and a lookup will be inserted into the to ``locl`` feature (creating it if
necessary) under the ``latn`` script to substitute ``parenleft`` with
``parenleft#1`` etc.
``parenleft.1`` etc.
Restrictions: