Skip to content

Commit

Permalink
Merge pull request #547 from simonkrauter/patch-2
Browse files Browse the repository at this point in the history
Extend example text.nim
  • Loading branch information
treeform authored Oct 5, 2023
2 parents 18db66a + 2ef52dc commit 2ce0404
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/text.nim
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ image.fill(rgba(255, 255, 255, 255))

var font = readFont("examples/data/Roboto-Regular_1.ttf")
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."

Expand Down

0 comments on commit 2ce0404

Please sign in to comment.