main
Matthew Butterick 5 years ago
parent d71165fd46
commit 2f339de925

@ -34,9 +34,9 @@ https://github.com/mbutterick/fontkit/blob/master/src/cff/CFFTop.js
(define/augment (x:decode stream parent operands) (define/augment (x:decode stream parent operands)
(define idx (car operands)) (define idx (car operands))
(cond (if (< idx (vector-length op-vec))
[(and (< idx (vector-length op-vec)) (vector-ref op-vec idx))] (vector-ref op-vec idx)
[else (decode @type stream #:parent parent operands)])) (decode @type stream #:parent parent operands)))
(define/augment (x:size value ctx) (define/augment (x:size value ctx)
(error 'predefined-op-size-not-finished)) (error 'predefined-op-size-not-finished))

Loading…
Cancel
Save