f
This commit is contained in:
parent
666746d82e
commit
e5642dc470
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue