commit | fdea99d2655f4d22542f94a8499e5a3308607776 | [log] [tgz] |
---|---|---|
author | Just <Just@4cde692c-a291-49d1-8350-778aa11640f8> | Wed Aug 23 12:34:44 2000 +0000 |
committer | Just <Just@4cde692c-a291-49d1-8350-778aa11640f8> | Wed Aug 23 12:34:44 2000 +0000 |
tree | 86f4fbeef7218d5d97d64e5a7d1394ec0dc0fe5d | |
parent | d5b65a4ed12ba82e07fa0a2f507bb909d2065774 [diff] [blame] |
minor fix git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@118 4cde692c-a291-49d1-8350-778aa11640f8
diff --git a/Lib/fontTools/ttLib/sfnt.py b/Lib/fontTools/ttLib/sfnt.py index 2fdeb99..4a4a7e7 100644 --- a/Lib/fontTools/ttLib/sfnt.py +++ b/Lib/fontTools/ttLib/sfnt.py
@@ -213,7 +213,7 @@ while x: x = x >> 1 exponent = exponent + 1 - return exponent - 1 + return max(exponent - 1, 0) def getsearchrange(n):