mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-03-07 20:01:52 +09:00
fix: issue #12
This commit is contained in:
@@ -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++
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ Yd
|
|||||||
/œ̃/
|
/œ̃/
|
||||||
/ɛ̃/
|
/ɛ̃/
|
||||||
ẽ
|
ẽ
|
||||||
|
Ẽ
|
||||||
/ẽ
|
/ẽ
|
||||||
|
o̸
|
||||||
|
O̸
|
||||||
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
|
||||||
Reference in New Issue
Block a user