Skip to content

Commit 36b201d

Browse files
committed
add test
1 parent 9bb9778 commit 36b201d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ renderstring!(
168168
valign = :vcenter,
169169
)
170170
renderstring!(zeros(UInt8, 20, 100), "helgo", face, 10, 25, 80)
171+
let fcolor = map(x->RGB{Float32}(x...), [(.1, .2, .3), (.5, .2, .25), (.6, .3, .1), (.2, .5, .6), (.7, .1, .9)])
172+
renderstring!(zeros(RGB{Float32}, 20, 100), "helgo", face, 10, 25, 80; fcolor = fcolor)
173+
end
171174

172175
# Find fonts
173176
# these fonts should be available on all platforms:

0 commit comments

Comments
 (0)