data.spaceXadvance = FreeType.toInt(face.getGlyph().getMetrics().getHoriAdvance()); } else { data.spaceXadvance = face.getMaxAdvanceWidth(); // Possibly very wrong.
data.spaceXadvance = FreeType.toInt(face.getGlyph().getMetrics().getHoriAdvance()); } else { data.spaceXadvance = face.getMaxAdvanceWidth(); // Possibly very wrong.
data.spaceXadvance = FreeType.toInt(face.getGlyph().getMetrics().getHoriAdvance()); } else { data.spaceXadvance = face.getMaxAdvanceWidth(); // Possibly very wrong.
private static native int getMaxAdvanceWidth(long face); /* return ((FT_Face)face)->max_advance_width;
private static native int getMaxAdvanceWidth(long face); /* return ((FT_Face)face)->max_advance_width;
private static native int getMaxAdvanceWidth(long face); /* return ((FT_Face)face)->max_advance_width;