Polymer Font Utils
API for generating font files. Uses polymer resource pack api.
Example
repositories {
maven { url "https://api.modrinth.com/maven" }
}
dependencies {
modImplementation include("maven.modrinth:pfu:0.2.3+1.21.4")
}
public class PolymerFontUtilsTest implements ModInitializer {
public static FontResourceManager manager;
public static FontResource resource;
public static TextResource text;
public static BitmapGlyph glyph;
@Override
public void onInitialize() {
PolymerResourcePackUtils.addModAssets("pfut");
manager = FontResourceManager.create("pfut");
resource = manager.requestFont("test");
text = manager.requestText(-20); // Font identifier: pfut:text/default_-20
glyph = resource.requestGlyph("font/icon.png", 128, 32);
FontSpaceUtils.requestAdvance(-256);
FontSpaceUtils.requestAdvances(-128, 1, 3);
FontSpaceUtils.requestRange(2, 19);
}
}
You can get list of all bitmaps from manager using command /pfu pfut:test

No gallery available for this project.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
[1.21.4+] Polymer Font Utils 0.2.3 0.2.3+1.21.4 |
1.21.4
|
fabric, quilt
|
Download |
|
[1.21.4+] Polymer Font Utils 0.2.2 0.2.2+1.21.4 |
1.21.4
|
fabric, quilt
|
Download |
|
[1.21.4+] Polymer Font Utils 0.2.1 0.2.1+1.21.4 |
1.21.4
|
fabric, quilt
|
Download |
|
[1.21.4+] Polymer Font Utils 0.2.0 0.2.0+1.21.4 |
1.21.4
|
fabric, quilt
|
Download |
|
[1.21.2+] Polymer Font Utils 0.1.5 0.1.5+1.21.2 |
1.21.2, 1.21.3, 1.21.4
|
fabric, quilt
|
Download |
|
[1.21.2+] Polymer Font Utils 0.1.4 0.1.4+1.21.2 |
1.21.2, 1.21.3, 1.21.4
|
fabric, quilt
|
Download |
|
[1.21.2+] Polymer Font Utils 0.1.3 0.1.3+1.21.2 |
1.21.2, 1.21.3, 1.21.4
|
fabric, quilt
|
Download |
|
[1.21.2+] Polymer Font Utils 0.1.2 0.1.2+1.21.2 |
1.21.2, 1.21.3, 1.21.4
|
fabric, quilt
|
Download |
|
[1.21.2+] Polymer Font Utils 0.1.1 0.1.1+1.21.2 |
1.21.2, 1.21.3, 1.21.4
|
fabric, quilt
|
Download |
|
[1.21.2+] Polymer Font Utils 0.1.0 0.1.0+1.21.2 |
1.21.2, 1.21.3, 1.21.4
|
fabric, quilt
|
Download |