diff --git a/pitfall/fontkit/directory.rkt b/pitfall/fontkit/directory.rkt index cd487728..e7af5964 100644 --- a/pitfall/fontkit/directory.rkt +++ b/pitfall/fontkit/directory.rkt @@ -65,7 +65,7 @@ https://github.com/mbutterick/fontkit/blob/master/src/tables/directory.js (define numTables (length table-headers)) - (define searchRange (* (floor (/ (log numTables) (log 2))) 16)) + (define searchRange (* (floor (log numTables 2)) 16)) (hash-set*! this-val 'tag "true"