mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-03-07 11:51:50 +09:00
tokenising pre-hyphen-ated words
This commit is contained in:
@@ -493,10 +493,14 @@ class MovableType(
|
||||
|
||||
appendToBuffer(c0)
|
||||
}
|
||||
else if (c0 == 0x0A) {
|
||||
else if (c0 == 0x0A) { // \n
|
||||
sendoutBox()
|
||||
proceedToNextLine()
|
||||
}
|
||||
else if (c0 == 0x2D) { // hyphen
|
||||
appendToBuffer(c0)
|
||||
sendoutBox()
|
||||
}
|
||||
else if (c0.isWhiteSpace()) {
|
||||
if (cM != null && !cM.isWhiteSpace())
|
||||
sendoutBox()
|
||||
|
||||
@@ -266,6 +266,8 @@ class TerrarumSansBitmap(
|
||||
buildWidthTableFixed()
|
||||
buildWidthTableInternal()
|
||||
|
||||
glyphProps[0xAD] = GlyphProps(-15) // what the fuck's going on that made this necessary??
|
||||
|
||||
|
||||
/*if (!noShadow) {
|
||||
makeShadowForSheet(pixmap)
|
||||
|
||||
Reference in New Issue
Block a user