Class BedrockTrueTypeRaster
java.lang.Object
com.viaversion.viafabricplus.bedrock.render.font.BedrockTrueTypeRaster
- All Implemented Interfaces:
AutoCloseable
FreeType owns file parsing; STB receives only checked outline vertices, never font bytes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAX_FONT_BYTES
public static final int MAX_FONT_BYTES- See Also:
-
-
Constructor Details
-
BedrockTrueTypeRaster
- Throws:
IOException
-
-
Method Details
-
supported
public it.unimi.dsi.fastutil.ints.IntSet supported() -
advance
public float advance(int codepoint) -
raster
- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-