Fix failure in test_imagefont.py

This commit is contained in:
shamsa 2016-01-25 14:51:27 +04:00 committed by wiredfool
parent 0b178edbc8
commit 3e5007c84d

View File

@ -144,7 +144,7 @@ class FreeTypeFont(object):
return self.font.getsize(text)[1]
def getmask(self, text, mode="", direction=None, features=[]):
return self.getmask2(text, mode, direction, features)[0]
return self.getmask2(text, mode, direction=direction, features=features)[0]
def getmask2(self, text, mode="", fill=Image.core.fill, direction=None, features=[]):
size, offset = self.font.getsize(text)