mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-06-17 02:44:05 +09:00
tokeniser: japanese small kana coalesced
This commit is contained in:
@@ -2068,6 +2068,13 @@ class TerrarumSansBitmap(
|
||||
|
||||
data class ShittyGlyphLayout(val textBuffer: CodepointSequence, val linotype: Texture, val width: Int)
|
||||
data class TextCacheObj(val hash: Long, val glyphLayout: ShittyGlyphLayout?): Comparable<TextCacheObj> {
|
||||
val text: CodepointSequence
|
||||
get() = glyphLayout!!.textBuffer
|
||||
val width: Int
|
||||
get() = glyphLayout!!.width
|
||||
val texture: Texture
|
||||
get() = glyphLayout!!.linotype
|
||||
|
||||
fun dispose() {
|
||||
glyphLayout?.linotype?.dispose()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user