Posted March 10, 20214 yr I'm trying to create a custom font that can be rendered in a gui in the same way that the vanilla font is (fontrenderer#drawString). I have created the font json and the font png, but I have not been able to figure out how to use the font for rendering. I do not know what needs to be registered or where in order for the font to work as intended. Currently have the following: https://hatebin.com/ezgkaaacvq But this does not work, and I don't know if it is remotely correct. I have been able to see that my font has been loaded by the default FontRenderer but I can't actually use it. I don't know how it can be accessed or how I can assign it to a FontRenderer. Edited March 10, 20214 yr by exokem
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.