Minor
This commit is contained in:
parent
5ea2acad56
commit
d7ca50a624
@ -37,7 +37,6 @@ def _getLigatureKey(components):
|
|||||||
"""
|
"""
|
||||||
return (-len(components), components)
|
return (-len(components), components)
|
||||||
|
|
||||||
|
|
||||||
def buildLigatureSubst(mapping):
|
def buildLigatureSubst(mapping):
|
||||||
self = ot.LigatureSubst()
|
self = ot.LigatureSubst()
|
||||||
# The following single line can replace the rest of this function
|
# The following single line can replace the rest of this function
|
||||||
@ -54,6 +53,9 @@ def buildLigatureSubst(mapping):
|
|||||||
return self
|
return self
|
||||||
|
|
||||||
|
|
||||||
|
# GPOS
|
||||||
|
|
||||||
|
|
||||||
def buildAnchor(x, y, point=None, deviceX=None, deviceY=None):
|
def buildAnchor(x, y, point=None, deviceX=None, deviceY=None):
|
||||||
self = ot.Anchor()
|
self = ot.Anchor()
|
||||||
self.XCoordinate, self.YCoordinate = x, y
|
self.XCoordinate, self.YCoordinate = x, y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user