Skip to content

Commit ca3188f

Browse files
authored
doc: 'text-icon' ignores size and face (racket#4)
1 parent c2b8ec3 commit ca3188f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images-doc/images/scribblings/icons.scrbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ Renders a text string as an icon. For example,
313313
(make-font #:weight 'bold #:underlined? #t)
314314
#:color "lightskyblue" #:height 44)]
315315

316-
The size of @racket[font] is ignored. If @racket[trim?] is @racket[#f], the drawn text is not cropped before rendering.
316+
The size and face of @racket[font] are ignored. If @racket[trim?] is @racket[#f], the drawn text is not cropped before rendering.
317317
Otherwise, it is cropped to the smallest rectangle containing all the non-zero-alpha pixels.
318318
Rendering very small glyphs shows the difference dramatically:
319319
@interaction[#:eval icons-eval

0 commit comments

Comments
 (0)