fix line breaking for text/font

please include on the 6.0 release branch
(cherry picked from commit 85a2337fe9)
This commit is contained in:
Robby Findler 2013-11-22 15:46:39 -06:00 committed by Ryan Culpepper
parent 83347f1533
commit 7ed79cf14a

View File

@ -195,7 +195,8 @@ Unlike @racket[scene+curve], if the line passes outside of @racket[image], the i
@defproc[(text/font [string string?] [font-size (and/c integer? (<=/c 1 255))] [color image-color?] @defproc[(text/font [string string?] [font-size (and/c integer? (<=/c 1 255))] [color image-color?]
[face (or/c string? #f)] [face (or/c string? #f)]
[family (or/c 'default 'decorative 'roman 'script 'swiss 'modern 'symbol 'system)] [family (or/c 'default 'decorative 'roman 'script
'swiss 'modern 'symbol 'system)]
[style (or/c 'normal 'italic 'slant)] [style (or/c 'normal 'italic 'slant)]
[weight (or/c 'normal 'bold 'light)] [weight (or/c 'normal 'bold 'light)]
[underline? any/c]) [underline? any/c])