logic flaw

main
Matthew Butterick 4 years ago
parent c74302fb54
commit 8323fd042b

@ -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]))

Loading…
Cancel
Save