commit | 319c5fd10e2ea84304bd299b7483e05b5b0d5480 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Nov 27 18:13:48 2013 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Thu Nov 28 17:32:42 2013 -0500 |
tree | 982d2e7be3bba8ba0963111acbc0fec349d49317 | |
parent | b21c9d36eec8e11e905c0427672a435fdc895f87 [diff] [blame] |
py23 introduce byteord() and use it
diff --git a/Lib/fontTools/cffLib.py b/Lib/fontTools/cffLib.py index f976e16..e5f9f73 100644 --- a/Lib/fontTools/cffLib.py +++ b/Lib/fontTools/cffLib.py
@@ -608,7 +608,7 @@ def readCard8(file): - return ord(file.read(1)) + return byteord(file.read(1)) def readCard16(file): value, = struct.unpack(">H", file.read(2))