@Environment(value=CLIENT) public class TrueTypeFont extends Object implements Font
Modifier and Type | Class and Description |
---|---|
(package private) class |
TrueTypeFont.TtfGlyph |
Modifier and Type | Field and Description |
---|---|
private float |
ascent |
private it.unimi.dsi.fastutil.chars.CharSet |
excludedCharacters |
private ByteBuffer |
field_21839 |
private org.lwjgl.stb.STBTTFontinfo |
info |
private float |
oversample |
private float |
scaleFactor |
private float |
shiftX |
private float |
shiftY |
Constructor and Description |
---|
TrueTypeFont(ByteBuffer byteBuffer,
org.lwjgl.stb.STBTTFontinfo sTBTTFontinfo,
float float2,
float float3,
float float4,
float float5,
String string) |
private final ByteBuffer field_21839
private final org.lwjgl.stb.STBTTFontinfo info
private final float oversample
private final it.unimi.dsi.fastutil.chars.CharSet excludedCharacters
private final float shiftX
private final float shiftY
private final float scaleFactor
private final float ascent
public TrueTypeFont(ByteBuffer byteBuffer, org.lwjgl.stb.STBTTFontinfo sTBTTFontinfo, float float2, float float3, float float4, float float5, String string)
@Nullable public TrueTypeFont.TtfGlyph getGlyph(char char2)