Took out the unbaking of kerning because it _does_

affect all subsequent cursor positions unlike xOffset.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8474 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
PSp..om 13 years ago
parent 68c2fea479
commit 1e59de25ee
  1. 4
      engine/src/core/com/jme3/font/LetterQuad.java

@ -325,7 +325,9 @@ class LetterQuad {
// Need to unbake the kerning from xAdvance since it
// is baked into x0... see above.
xAdvance -= kernAmount * incrScale;
//xAdvance -= kernAmount * incrScale;
// No, kerning is an inter-character spacing and _does_ affect
// all subsequent cursor positions.
}
}
if (isEndOfLine()) {

Loading…
Cancel
Save