probably useable now

This commit is contained in:
minjaesong
2021-11-05 22:47:59 +09:00
parent 947c966660
commit 699981d9a2
5 changed files with 2 additions and 3 deletions

View File

@@ -223,12 +223,14 @@ class TerrarumTypewriterBitmap(
}
}
if (code and 127 == 67) width *= -1 // the backspace key
if (debug) println("${code.charInfo()}: Width $width, tags $tags")
/*val isDiacritics = pixmap.getPixel(codeStartX, codeStartY + H - 1).and(0xFF) != 0
if (isDiacritics)
glyphWidth = -glyphWidth*/
glyphProps[code] = GlyphProps(width, tags)
// extra info