test 4 complete

main
Matthew Butterick 8 years ago
parent 42bb240cf4
commit 09e9629f22

@ -4,4 +4,5 @@
pitfall/test/test1
pitfall/test/test2
pitfall/test/test3
pitfall/test/test4
pitfall/page-test))

@ -84,7 +84,7 @@
(define glyphs (send this-font glyphsForString str))
(define advances (send this-font advancesForGlyphs glyphs))
(define width (apply + advances))
(define scale (/ size 1000))
(define scale (/ size 1000.0))
(* width scale))

Loading…
Cancel
Save