Merge pull request #547 from simonkrauter/patch-2
Extend example text.nim
This commit is contained in:
commit
2ce0404922
|
@ -5,6 +5,7 @@ image.fill(rgba(255, 255, 255, 255))
|
||||||
|
|
||||||
var font = readFont("examples/data/Roboto-Regular_1.ttf")
|
var font = readFont("examples/data/Roboto-Regular_1.ttf")
|
||||||
font.size = 20
|
font.size = 20
|
||||||
|
font.paint.color = color(1, 0, 0)
|
||||||
|
|
||||||
let text = "Typesetting is the arrangement and composition of text in graphic design and publishing in both digital and traditional medias."
|
let text = "Typesetting is the arrangement and composition of text in graphic design and publishing in both digital and traditional medias."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue