fix line breaking for text/font
please include on the 6.0 release branch
(cherry picked from commit 85a2337fe9
)
This commit is contained in:
parent
83347f1533
commit
7ed79cf14a
|
@ -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])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user