This commit is contained in:
Ryan Oldenburg 2021-05-11 15:33:53 -05:00
parent 666746d82e
commit e5642dc470
2 changed files with 2 additions and 2 deletions

View file

@ -199,6 +199,7 @@ proc typeset*(
at.y += 1
prevCanWrap = 0
lines[^1][1] = runeIndex
# Start a new line if we are not at the end
if runeIndex + 1 < result.runes.len:
lines.add((runeIndex + 1, 0))
else:

View file

@ -716,7 +716,6 @@ block:
ibm = readFont("tests/fonts/IBMPlexSans-Regular_2.ttf")
noto = readFont("tests/fonts/NotoSans-Regular_4.ttf")
var font1 = roboto
font1.size = 64
@ -740,7 +739,7 @@ block:
var font8 = ubuntu
font8.size = 54
font8.paint.color = rgba(255, 0 ,0, 255)
font8.paint.color = rgba(255, 0, 0, 255)
var font9 = roboto
font9.size = 48