mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-03-07 11:51:50 +09:00
fix: issue #12
This commit is contained in:
@@ -986,10 +986,13 @@ class GameFontBase(
|
||||
// shift down on lowercase if applicable
|
||||
if (getSheetType(thisChar) in autoShiftDownOnLowercase &&
|
||||
lastNonDiacriticChar.isLowHeight()) {
|
||||
//println("AAARRRRHHHH for character ${thisChar.toHex()}")
|
||||
//println("lastNonDiacriticChar: ${lastNonDiacriticChar.toHex()}")
|
||||
//println("cond: ${thisProp.alignXPos == GlyphProps.DIA_OVERLAY}, charIndex: $charIndex")
|
||||
if (thisProp.alignXPos == GlyphProps.DIA_OVERLAY)
|
||||
posYbuffer[charIndex] += H_OVERLAY_LOWERCASE_SHIFTDOWN
|
||||
posYbuffer[charIndex] -= H_OVERLAY_LOWERCASE_SHIFTDOWN // if minus-assign doesn't work, try plus-assign
|
||||
else
|
||||
posYbuffer[charIndex] += H_STACKUP_LOWERCASE_SHIFTDOWN
|
||||
posYbuffer[charIndex] -= H_STACKUP_LOWERCASE_SHIFTDOWN // if minus-assign doesn't work, try plus-assign
|
||||
}
|
||||
|
||||
stackUpwardCounter++
|
||||
|
||||
@@ -8,6 +8,9 @@ Yd
|
||||
/œ̃/
|
||||
/ɛ̃/
|
||||
ẽ
|
||||
Ẽ
|
||||
/ẽ
|
||||
o̸
|
||||
O̸
|
||||
when the line ends with a diacritics, whole letter wont render
|
||||
if the line starts with a letter-with-diacritic, it will error out
|
||||
Reference in New Issue
Block a user