2020-07-22 06:23:34 +01:00
|
|
|
package com.mojang.blaze3d.font;
|
|
|
|
|
2020-07-22 06:32:50 +01:00
|
|
|
import it.unimi.dsi.fastutil.ints.IntSet;
|
2020-07-22 06:23:34 +01:00
|
|
|
import javax.annotation.Nullable;
|
|
|
|
import java.io.Closeable;
|
|
|
|
|
|
|
|
public interface GlyphProvider extends Closeable {
|
|
|
|
default void close() {
|
|
|
|
}
|
|
|
|
|
|
|
|
@Nullable
|
2020-07-22 06:32:50 +01:00
|
|
|
default RawGlyph getGlyph(final int integer) {
|
2020-07-22 06:23:34 +01:00
|
|
|
return null;
|
|
|
|
}
|
2020-07-22 06:32:50 +01:00
|
|
|
|
|
|
|
IntSet getSupportedGlyphs();
|
2020-07-22 06:23:34 +01:00
|
|
|
}
|