[cffLib] Comment

This commit is contained in:
Behdad Esfahbod 2024-05-16 15:33:22 -07:00
parent 39ec4e6c0c
commit 4384eef42e
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ def convertCFF2ToCFF(cff, otFont):
default instance?) default instance?)
This assumes a decompiled CFF table. (i.e. that the object has been 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 cff.major = 1
topDict = cff.topDictIndex[0] topDict = cff.topDictIndex[0]

View File

@ -23,7 +23,7 @@ def convertCFFToCFF2(cff, otFont):
is done 'in-place'. The conversion cannot be reversed. is done 'in-place'. The conversion cannot be reversed.
This assumes a decompiled CFF table. (i.e. that the object has been 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 cff.major = 2
cff2GetGlyphOrder = cff.otFont.getGlyphOrder cff2GetGlyphOrder = cff.otFont.getGlyphOrder