[Docs] Fix docstring formatting.

This commit is contained in:
Nathan Williis 2024-12-06 14:05:31 +00:00
parent 19f8ad5bf4
commit 3584705ea2

View File

@ -2226,24 +2226,28 @@ _equivalents = {
def fixLookupOverFlows(ttf, overflowRecord): def fixLookupOverFlows(ttf, overflowRecord):
"""Either the offset from the LookupList to a lookup overflowed, or """Either the offset from the LookupList to a lookup overflowed, or
an offset from a lookup to a subtable overflowed. an offset from a lookup to a subtable overflowed.
The table layout is:
GPSO/GUSB The table layout is::
Script List
Feature List GPSO/GUSB
LookUpList Script List
Lookup[0] and contents Feature List
SubTable offset list LookUpList
SubTable[0] and contents Lookup[0] and contents
... SubTable offset list
SubTable[n] and contents SubTable[0] and contents
... ...
Lookup[n] and contents SubTable[n] and contents
SubTable offset list ...
SubTable[0] and contents Lookup[n] and contents
... SubTable offset list
SubTable[n] and contents SubTable[0] and contents
...
SubTable[n] and contents
If the offset to a lookup overflowed (SubTableIndex is None) If the offset to a lookup overflowed (SubTableIndex is None)
we must promote the *previous* lookup to an Extension type. we must promote the *previous* lookup to an Extension type.
If the offset from a lookup to subtable overflowed, then we must promote it If the offset from a lookup to subtable overflowed, then we must promote it
to an Extension Lookup type. to an Extension Lookup type.
""" """