Removed unused private method

This commit is contained in:
Andrew Murray 2023-06-10 20:24:34 +10:00
parent 4dcca33d30
commit 1756df4615

View File

@ -226,10 +226,6 @@ class FreeTypeFont:
path, size, index, encoding, layout_engine = state
self.__init__(path, size, index, encoding, layout_engine)
def _multiline_split(self, text):
split_character = "\n" if isinstance(text, str) else b"\n"
return text.split(split_character)
def getname(self):
"""
:return: A tuple of the font family (e.g. Helvetica) and the font style