Update Lib/fontTools/ttLib/tables/_g_l_y_f.py
Co-authored-by: Just van Rossum <justvanrossum@gmail.com>
This commit is contained in:
parent
b821141eb7
commit
f205ba0f6c
@ -1161,7 +1161,7 @@ class Glyph(object):
|
||||
return self.numberOfContours == -1
|
||||
|
||||
def isVarComposite(self):
|
||||
"""Test whether a glyph has components"""
|
||||
"""Test whether a glyph has variable components"""
|
||||
if hasattr(self, "data"):
|
||||
return struct.unpack(">h", self.data[:2])[0] == -2 if self.data else False
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user