mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Fix failure in test_imagefont.py
This commit is contained in:
parent
0b178edbc8
commit
3e5007c84d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user