mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-06-14 01:24:05 +09:00
thai text linebreaking fix
This commit is contained in:
@@ -2071,8 +2071,10 @@ class TerrarumSansBitmap(
|
||||
get() = glyphLayout!!.width
|
||||
val texture: Texture
|
||||
get() = glyphLayout!!.linotype
|
||||
val penultimateChar: CodePoint
|
||||
get() = text[text.size - 2]
|
||||
// val penultimateChar: CodePoint
|
||||
// get() = text[text.size - 2]
|
||||
val penultimateCharOrNull: CodePoint?
|
||||
get() = text.getOrNull(text.size - 2)
|
||||
|
||||
fun dispose() {
|
||||
glyphLayout?.linotype?.dispose()
|
||||
|
||||
Reference in New Issue
Block a user