FreeTypeFontGenerator.java | 436 // Generate kerning.
437 parameter.kerning &= face.hasKerning();
438 if (parameter.kerning) {
450 int kerning = face.getKerning(firstIndex, secondIndex, 0);
local 451 if (kerning != 0) first.setKerning(secondChar, FreeType.toInt(kerning));
453 kerning = face.getKerning(secondIndex, firstIndex, 0);
454 if (kerning != 0) second.setKerning(firstChar, FreeType.toInt(kerning));
661 if (parameter.kerning) {
667 int kerning = face.getKerning(glyphIndex, otherIndex, 0); local 748 public boolean kerning = true; field in class:FreeTypeFontGenerator.FreeTypeFontParameter [all...] |