Merge pull request #2225 from simoncozens/otllib-doc-nit

Correct otlLib documentation
This commit is contained in:
Simon Cozens 2021-03-16 11:25:12 +00:00 committed by GitHub
commit 2687c12c2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1029,7 +1029,7 @@ class MarkMarkPosBuilder(LookupBuilder):
builder.marks["acute"] = (0, a1) builder.marks["acute"] = (0, a1)
builder.marks["grave"] = (0, a1) builder.marks["grave"] = (0, a1)
builder.marks["cedilla"] = (1, a2) builder.marks["cedilla"] = (1, a2)
builder.baseMarks["acute"] = (0, a3) builder.baseMarks["acute"] = {0: a3}
Attributes: Attributes:
font (``fontTools.TTLib.TTFont``): A font object. font (``fontTools.TTLib.TTFont``): A font object.
@ -1037,8 +1037,8 @@ class MarkMarkPosBuilder(LookupBuilder):
source which produced this lookup. source which produced this lookup.
marks: An dictionary mapping a glyph name to a two-element marks: An dictionary mapping a glyph name to a two-element
tuple containing a mark class ID and ``otTables.Anchor`` object. tuple containing a mark class ID and ``otTables.Anchor`` object.
baseMarks: An dictionary mapping a glyph name to a two-element baseMarks: An dictionary mapping a glyph name to a dictionary
tuple containing a mark class ID and ``otTables.Anchor`` object. containing one item: a mark class ID and a ``otTables.Anchor`` object.
lookupflag (int): The lookup's flag lookupflag (int): The lookup's flag
markFilterSet: Either ``None`` if no mark filtering set is used, or markFilterSet: Either ``None`` if no mark filtering set is used, or
an integer representing the filtering set to be used for this an integer representing the filtering set to be used for this