f
This commit is contained in:
parent
666746d82e
commit
e5642dc470
|
@ -199,6 +199,7 @@ proc typeset*(
|
||||||
at.y += 1
|
at.y += 1
|
||||||
prevCanWrap = 0
|
prevCanWrap = 0
|
||||||
lines[^1][1] = runeIndex
|
lines[^1][1] = runeIndex
|
||||||
|
# Start a new line if we are not at the end
|
||||||
if runeIndex + 1 < result.runes.len:
|
if runeIndex + 1 < result.runes.len:
|
||||||
lines.add((runeIndex + 1, 0))
|
lines.add((runeIndex + 1, 0))
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -716,7 +716,6 @@ block:
|
||||||
ibm = readFont("tests/fonts/IBMPlexSans-Regular_2.ttf")
|
ibm = readFont("tests/fonts/IBMPlexSans-Regular_2.ttf")
|
||||||
noto = readFont("tests/fonts/NotoSans-Regular_4.ttf")
|
noto = readFont("tests/fonts/NotoSans-Regular_4.ttf")
|
||||||
|
|
||||||
|
|
||||||
var font1 = roboto
|
var font1 = roboto
|
||||||
font1.size = 64
|
font1.size = 64
|
||||||
|
|
||||||
|
@ -740,7 +739,7 @@ block:
|
||||||
|
|
||||||
var font8 = ubuntu
|
var font8 = ubuntu
|
||||||
font8.size = 54
|
font8.size = 54
|
||||||
font8.paint.color = rgba(255, 0 ,0, 255)
|
font8.paint.color = rgba(255, 0, 0, 255)
|
||||||
|
|
||||||
var font9 = roboto
|
var font9 = roboto
|
||||||
font9.size = 48
|
font9.size = 48
|
||||||
|
|
Loading…
Reference in a new issue