From 87ae6ba22482ddef932af6dd9019c75f012e76eb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 27 May 2024 16:05:24 -0600 Subject: [PATCH] [CFF2ToCFF] Remove wrong and unnecessary argument This had no effect though, since file is None. --- Lib/fontTools/cffLib/CFF2ToCFF.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/fontTools/cffLib/CFF2ToCFF.py b/Lib/fontTools/cffLib/CFF2ToCFF.py index 689412ce2..505656a5d 100644 --- a/Lib/fontTools/cffLib/CFF2ToCFF.py +++ b/Lib/fontTools/cffLib/CFF2ToCFF.py @@ -32,7 +32,7 @@ def _convertCFF2ToCFF(cff, otFont): cff.major = 1 - topDictData = TopDictIndex(None, isCFF2=True) + topDictData = TopDictIndex(None) for item in cff.topDictIndex: # Iterate over, such that all are decompiled topDictData.append(item)