From d7ca50a6248b2d74e407e7642f92284f5016ad56 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 14 Jan 2016 12:28:32 +0000 Subject: [PATCH] Minor --- Lib/fontTools/otlLib/builder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/fontTools/otlLib/builder.py b/Lib/fontTools/otlLib/builder.py index 1d28d1471..037b723ba 100644 --- a/Lib/fontTools/otlLib/builder.py +++ b/Lib/fontTools/otlLib/builder.py @@ -37,7 +37,6 @@ def _getLigatureKey(components): """ return (-len(components), components) - def buildLigatureSubst(mapping): self = ot.LigatureSubst() # The following single line can replace the rest of this function @@ -54,6 +53,9 @@ def buildLigatureSubst(mapping): return self +# GPOS + + def buildAnchor(x, y, point=None, deviceX=None, deviceY=None): self = ot.Anchor() self.XCoordinate, self.YCoordinate = x, y