@ApiStatus.NonExtendable public interface UnihexFontProvider extends FontProvider
FontProvider implementation that uses Unifont
HEX filesFontProvider.unihex()| Modifier and Type | Interface and Description |
|---|---|
static interface |
UnihexFontProvider.Builder
Mutable and fluent-style builder for
UnihexFontProvider
instances |
static interface |
UnihexFontProvider.SizeOverride
A range of codepoints that should have a different width
than the auto-detected.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull net.kyori.adventure.key.Key |
file()
Returns the location of a ZIP file containing the
HEX files.
|
@Unmodifiable @NotNull java.util.List<UnihexFontProvider.SizeOverride> |
sizes()
A list of size overrides, an override contains an
(inclusive) range of codepoints and their custom
dimensions
|
@NotNull @NotNull net.kyori.adventure.key.Key file()
The file path is relative to assets/<namespace>/
(Note that it is not inside "fonts")
@NotNull @Unmodifiable @NotNull java.util.List<UnihexFontProvider.SizeOverride> sizes()