From 4384eef42ed26508127e6e42dd22cb71909bd7e8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 16 May 2024 15:33:22 -0700 Subject: [PATCH] [cffLib] Comment --- Lib/fontTools/cffLib/CFF2ToCFF.py | 2 +- Lib/fontTools/cffLib/CFFToCFF2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/fontTools/cffLib/CFF2ToCFF.py b/Lib/fontTools/cffLib/CFF2ToCFF.py index 744621fd9..aacbf8efc 100644 --- a/Lib/fontTools/cffLib/CFF2ToCFF.py +++ b/Lib/fontTools/cffLib/CFF2ToCFF.py @@ -19,7 +19,7 @@ def convertCFF2ToCFF(cff, otFont): default instance?) This assumes a decompiled CFF table. (i.e. that the object has been - filled via :meth:`decompile`.)""" + filled via :meth:`decompile` and e.g. not loaded from XML.)""" cff.major = 1 topDict = cff.topDictIndex[0] diff --git a/Lib/fontTools/cffLib/CFFToCFF2.py b/Lib/fontTools/cffLib/CFFToCFF2.py index abdf7e7a1..d14b35e9c 100644 --- a/Lib/fontTools/cffLib/CFFToCFF2.py +++ b/Lib/fontTools/cffLib/CFFToCFF2.py @@ -23,7 +23,7 @@ def convertCFFToCFF2(cff, otFont): is done 'in-place'. The conversion cannot be reversed. This assumes a decompiled CFF table. (i.e. that the object has been - filled via :meth:`decompile`.)""" + filled via :meth:`decompile` and e.g. not loaded from XML.)""" cff.major = 2 cff2GetGlyphOrder = cff.otFont.getGlyphOrder