fix: issue #12

This commit is contained in:
minjaesong
2020-10-06 15:14:57 +09:00
parent 0eb181f315
commit 22c2a7aa52
2 changed files with 8 additions and 2 deletions

View File

@@ -986,10 +986,13 @@ class GameFontBase(
// shift down on lowercase if applicable // shift down on lowercase if applicable
if (getSheetType(thisChar) in autoShiftDownOnLowercase && if (getSheetType(thisChar) in autoShiftDownOnLowercase &&
lastNonDiacriticChar.isLowHeight()) { 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) 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 else
posYbuffer[charIndex] += H_STACKUP_LOWERCASE_SHIFTDOWN posYbuffer[charIndex] -= H_STACKUP_LOWERCASE_SHIFTDOWN // if minus-assign doesn't work, try plus-assign
} }
stackUpwardCounter++ stackUpwardCounter++

View File

@@ -8,6 +8,9 @@ Yd
/œ̃/ /œ̃/
/ɛ̃/ /ɛ̃/
/ẽ /ẽ
when the line ends with a diacritics, whole letter wont render when the line ends with a diacritics, whole letter wont render
if the line starts with a letter-with-diacritic, it will error out if the line starts with a letter-with-diacritic, it will error out