From cd5a226a5ef26430507f55c6f4c32ece844a8433 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Mon, 11 Mar 2019 21:06:20 -0700 Subject: [PATCH] restore cffing --- pitfall/pitfall/font-embedded.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pitfall/pitfall/font-embedded.rkt b/pitfall/pitfall/font-embedded.rkt index 4e94622e..9ae72fd8 100644 --- a/pitfall/pitfall/font-embedded.rkt +++ b/pitfall/pitfall/font-embedded.rkt @@ -92,7 +92,7 @@ https://github.com/mbutterick/pdfkit/blob/master/lib/font/embedded.coffee (list subset-idxs new-positions)))) (define (efont-embedded ef) - (define isCFF #false) ; no CFF support, but leave notations + (define isCFF (has-table? (efont-font ef) 'CFF_)) (define font-file (make-ref)) (when isCFF