mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-06-11 00:14:05 +09:00
fix: no whitespaces not being committed on-time
This commit is contained in:
@@ -349,7 +349,7 @@ class FlippingSpriteBatch(size: Int = 1000) : SpriteBatch(size) {
|
|||||||
|
|
||||||
lateinit var appConfig: Lwjgl3ApplicationConfiguration
|
lateinit var appConfig: Lwjgl3ApplicationConfiguration
|
||||||
const val TEXW = 800
|
const val TEXW = 800
|
||||||
const val TEXH = 24 * 170
|
const val TEXH = 24 * 171
|
||||||
|
|
||||||
const val WIDTH = TEXW
|
const val WIDTH = TEXW
|
||||||
const val HEIGHT = 768
|
const val HEIGHT = 768
|
||||||
|
|||||||
BIN
demo.PNG
BIN
demo.PNG
Binary file not shown.
|
Before Width: | Height: | Size: 165 KiB After Width: | Height: | Size: 166 KiB |
@@ -743,13 +743,15 @@ class MovableType(
|
|||||||
appendToBuffer(c0)
|
appendToBuffer(c0)
|
||||||
}
|
}
|
||||||
else if (c0.isParenOpen()) {
|
else if (c0.isParenOpen()) {
|
||||||
sendoutBox()
|
|
||||||
|
|
||||||
if (glue > 0) sendoutGlue()
|
if (glue > 0) sendoutGlue()
|
||||||
|
|
||||||
|
sendoutBox()
|
||||||
|
|
||||||
appendToBuffer(c0)
|
appendToBuffer(c0)
|
||||||
}
|
}
|
||||||
else if (c0.isCJparenEnd()) {
|
else if (c0.isCJparenEnd()) {
|
||||||
|
if (glue > 0) sendoutGlue()
|
||||||
|
|
||||||
appendToBuffer(c0)
|
appendToBuffer(c0)
|
||||||
sendoutBox()
|
sendoutBox()
|
||||||
|
|
||||||
@@ -757,10 +759,10 @@ class MovableType(
|
|||||||
sendoutGlue()
|
sendoutGlue()
|
||||||
}
|
}
|
||||||
else if (c0.isParenClose()) {
|
else if (c0.isParenClose()) {
|
||||||
|
if (glue > 0) sendoutGlue()
|
||||||
|
|
||||||
appendToBuffer(c0)
|
appendToBuffer(c0)
|
||||||
sendoutBox()
|
sendoutBox()
|
||||||
|
|
||||||
if (glue > 0) sendoutGlue()
|
|
||||||
}
|
}
|
||||||
else if (c0.isCJpunct()) {
|
else if (c0.isCJpunct()) {
|
||||||
if (cM.isWhiteSpace()) sendoutGlue()
|
if (cM.isWhiteSpace()) sendoutGlue()
|
||||||
|
|||||||
Reference in New Issue
Block a user