Posted April 26, 20169 yr This is really annoying me. I am attempting to add a new "runes" based font to the game, but I am really struggling to get it to work. It only adds a-zA-Z, but no matter what I try it just fails to render anything. I am putting this at the top of my method (so I can change it easily) and, well, nothing renders (except for special characters, such as \20. But I didn't add those, so I am guessing Minecraft did.) This is me attempting to create the font: final FontRenderer runeFont = new FontRenderer(Minecraft.getMinecraft().gameSettings, FONT_TEXTURE_ASCII, Minecraft.getMinecraft().renderEngine, false);
April 27, 20169 yr Author It IS defined - and is a valid ResourceLocation. There is no log because there is no error - the font just wont render. I think it is something around creating fonts which I don't understand - maybe fonts require a special png format?
April 27, 20169 yr Author Wait - I just found font/glyph_sizes.bin. But what does this do? I can only see one of them - does it need to contain information about all the fonts? How can I add to this file?
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.