}
return 0;
}
public Integer getCharacterAdvance(final char currentCharacter, final char nextCharacter, final float size) {
CharacterInfo currentCharacterInfo = font.getChar(currentCharacter);
if (currentCharacterInfo == null) {
return null;
} else {
return new Integer(
(int) (currentCharacterInfo.getXadvance() * size + getKerning(currentCharacterInfo, nextCharacter)));
}
}