commit | 85a64db5419991b228478b866eb4262df7055cb2 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Mon Dec 16 00:03:15 2013 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Mon Dec 16 00:05:10 2013 -0500 |
tree | 279e3b0458ca3ad31b6328df3c9da591229f808f | |
parent | 6c51f500fb2d251056e20abdec7b0f2bb7f3404f [diff] [blame] |
py23 Another cff encoding fix
diff --git a/Lib/fontTools/cffLib.py b/Lib/fontTools/cffLib.py index 049ff97..7316740 100644 --- a/Lib/fontTools/cffLib.py +++ b/Lib/fontTools/cffLib.py
@@ -226,7 +226,7 @@ if hasattr(item, "toFile"): item.toFile(file) else: - file.write(tobytes(item)) + file.write(tobytes(item, encoding="latin1")) class IndexedStringsCompiler(IndexCompiler):