You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, running it on Noto's third_party/noto_cjk/NotoSansKR-Regular.otf results in:
roozbeh@machine-name:~/compreffor/compreffor$ ./cxxCompressor.py NotoSansKR-Regular.otf
Warning: There are subrs in NotoSansKR-Regular.otf
Traceback (most recent call last):
File "./cxxCompressor.py", line 387, in <module>
main(**kwargs)
File "./cxxCompressor.py", line 342, in main
handle_font(filename)
File "./cxxCompressor.py", line 320, in handle_font
font.save(out_name)
File "/home/roozbeh/fonttools/Lib/fontTools/ttLib/__init__.py", line 214, in save
self._writeTable(tag, writer, done)
File "/home/roozbeh/fonttools/Lib/fontTools/ttLib/__init__.py", line 629, in _writeTable
tabledata = self.getTableData(tag)
File "/home/roozbeh/fonttools/Lib/fontTools/ttLib/__init__.py", line 642, in getTableData
return self.tables[tag].compile(self)
File "/home/roozbeh/fonttools/Lib/fontTools/ttLib/tables/C_F_F_.py", line 20, in compile
self.cff.compile(f, otFont)
File "/home/roozbeh/fonttools/Lib/fontTools/cffLib.py", line 72, in compile
for child in topCompiler.getChildren(strings):
File "/home/roozbeh/fonttools/Lib/fontTools/cffLib.py", line 243, in getChildren
children.extend(topDict.getChildren(strings))
File "/home/roozbeh/fonttools/Lib/fontTools/cffLib.py", line 1422, in getChildren
charStringsComp = CharStringsCompiler(items, strings, self)
File "/home/roozbeh/fonttools/Lib/fontTools/cffLib.py", line 180, in __init__
self.items = self.getItems(items, strings)
File "/home/roozbeh/fonttools/Lib/fontTools/cffLib.py", line 286, in getItems
cs.compile()
File "/home/roozbeh/fonttools/Lib/fontTools/misc/psCharStrings.py", line 289, in compile
"seac"), "illegal CharString"
AssertionError: illegal CharString
The text was updated successfully, but these errors were encountered:
For example, running it on Noto's third_party/noto_cjk/NotoSansKR-Regular.otf results in:
The text was updated successfully, but these errors were encountered: