Merge pull request #547 from simonkrauter/patch-2

Extend example text.nim
This commit is contained in:
Andre von Houck 2023-10-04 17:17:27 -07:00 committed by GitHub
commit 2ce0404922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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."