glyph.yoffset = flip ? -slot.getBitmapTop() + baseline : -(glyph.height - slot.getBitmapTop()) - baseline; glyph.xadvance = FreeType.toInt(metrics.getHoriAdvance()); glyph.srcX = 0;
private static native int getBitmapTop(long slot); /* return ((FT_GlyphSlot)slot)->bitmap_top;
glyph.yoffset = flip ? -slot.getBitmapTop() + baseline : -(glyph.height - slot.getBitmapTop()) - baseline; glyph.xadvance = FreeType.toInt(metrics.getHoriAdvance()); glyph.srcX = 0;
glyph.yoffset = flip ? -slot.getBitmapTop() + baseline : -(glyph.height - slot.getBitmapTop()) - baseline; glyph.xadvance = FreeType.toInt(metrics.getHoriAdvance()); glyph.srcX = 0;
private static native int getBitmapTop(long slot); /* return ((FT_GlyphSlot)slot)->bitmap_top;
private static native int getBitmapTop(long slot); /* return ((FT_GlyphSlot)slot)->bitmap_top;