Relative Content

Tag Archive for javaopenglrenderingminecrafttext-rendering

Text Rendering in Minecraft Mod is Clipped Vertically to 2/3rd

I am working on a Minecraft mod where I am rendering custom text using OpenGL. However, the text is not rendered fully vertically and is cut to 2/3rd of its height. I suspect it might be a clipping issue or something related to the font metrics, but I am not sure how to diagnose and fix this problem. Here is the relevant code for the FontCharacter class and the rendering method: