From 8323fd042bbbf1a637deedb23712c0510b293a77 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Sun, 10 May 2020 15:15:18 -0700 Subject: [PATCH] logic flaw --- quad/quadwriter/font.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quad/quadwriter/font.rkt b/quad/quadwriter/font.rkt index 07f02fd0..66736d52 100644 --- a/quad/quadwriter/font.rkt +++ b/quad/quadwriter/font.rkt @@ -83,7 +83,7 @@ (cond [(hash-ref font-paths (make-key font-family bold italic) #false)] ;; try regular style if style-specific key isn't there for b i or bi - [(or bold italic (hash-ref font-paths regular-key #false))] + [(and (or bold italic) (hash-ref font-paths regular-key #false))] ;; otherwise use default [else default-font-face]))