can some kind person explain exactly what im doing wrong with the ascent and height of my font images?
i have checked logs and it says:
Unable to load font 'pictures:default' in fonts.json in resourcepack: 'server' com.google.gson.JsonParseException: Ascent 256 higher than height 35 at eqm$a.a(BitmapProvider.java:99) at eqo.a(SourceFile:41) at eqd$1.a(SourceFile:78) at eqd$1.b(SourceFile:48) at alm.a(SourceFile:11) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
I have several images i would like to load
an example of 1 pictures path is:
plugins / ItemsAdder / contents / pictures / resourcepack / assets / pictures / textures / default / astracraft1.png
my default.json file of providers is:
{
"providers": [
{
"type": "bitmap",
"file": "pictures:default/astracraft1.png",
"ascent": 256,
"height": 35,
"chars": ["廿"]
}
]
}
i unfrotunately have no idea what to set the ascent and height to other than the images dimentions which are 256x35 ??
any help or examples would be amazing!