From c02f7a6c34d0709399808d061141ff5192db8f9c Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Wed, 13 Mar 2019 15:05:59 -0700 Subject: [PATCH] bug --- fontland/fontland/cff-glyph.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fontland/fontland/cff-glyph.rkt b/fontland/fontland/cff-glyph.rkt index 7229c576..f74d0640 100644 --- a/fontland/fontland/cff-glyph.rkt +++ b/fontland/fontland/cff-glyph.rkt @@ -485,7 +485,7 @@ https://github.com/mbutterick/fontkit/blob/master/src/glyph/CFFGlyph.js (push stack (+ (* (- op 247) 256) b1 108))] [(< op 255) (define b1 (read-byte stream)) - (push stack (- (* (- op 251) 256) b1 108))] + (push stack (- (* (- 251 op) 256) b1 108))] [else (push stack (/ (decode int32be stream) 65536))]) (loop)))))