From 25746a36009536799b8ee0ddac2d0441b235543a Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Fri, 18 Mar 2022 09:22:33 +0000 Subject: [PATCH] add clarifying comment as per review --- Lib/fontTools/ttLib/tables/otBase.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/fontTools/ttLib/tables/otBase.py b/Lib/fontTools/ttLib/tables/otBase.py index 17df69df3..bc2c9fba8 100644 --- a/Lib/fontTools/ttLib/tables/otBase.py +++ b/Lib/fontTools/ttLib/tables/otBase.py @@ -905,7 +905,9 @@ class FormatSwitchingBaseTable(BaseTable): except AttributeError: # some FormatSwitchingBaseTables (e.g. Coverage) no longer have 'Format' # attribute after fully decompiled, only gain one in preWrite before being - # recompiled. + # recompiled. In the decompiled state, these hand-coded classes defined in + # otTables.py lose their format-specific nature and gain more high-level + # attributes that are not tied to converters. return [] return self.converters.get(self.Format, [])