Class TrueTypeFont

java.lang.Object
net.minecraft.client.font.TrueTypeFont
All Implemented Interfaces:
Closeable, AutoCloseable, Font

@Environment(CLIENT)
public class TrueTypeFont
extends Object
implements Font
  • Field Details

    • field_21839

      private final ByteBuffer field_21839
    • info

      private final STBTTFontinfo info
    • oversample

      private final float oversample
    • excludedCharacters

      private final IntSet excludedCharacters
    • shiftX

      private final float shiftX
    • shiftY

      private final float shiftY
    • scaleFactor

      private final float scaleFactor
    • ascent

      private final float ascent
  • Constructor Details

    • TrueTypeFont

      public TrueTypeFont​(ByteBuffer byteBuffer, STBTTFontinfo sTBTTFontinfo, float float2, float float3, float float4, float float5, String string)
  • Method Details