From 7d13f196a13a88c38653cd71560e80dc6d5d9494 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Thu, 8 Jan 2015 17:25:59 -0800 Subject: [PATCH] add note --- quad/measure.rkt | 1 + 1 file changed, 1 insertion(+) diff --git a/quad/measure.rkt b/quad/measure.rkt index 0a65b0fe..a7615f47 100644 --- a/quad/measure.rkt +++ b/quad/measure.rkt @@ -11,6 +11,7 @@ (define dc (new record-dc%)) (define max-size 1024) ; use fixnum to trigger faster bitshift division +;; changing max-size invalidates font cache (because it's based on max size, duh) (define/caching (make-font/caching font weight style) (make-font #:size max-size #:style style #:weight weight #:face font))