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