SoRadGaming / Simple-HUD-Enhanced

https://discord.gg/2NY3a3AJ8e Minecraft mod that enhances the game's Heads-Up Display (HUD) by introducing customizable elements and features to display information.
MIT License
4 stars 1 forks source link

font size setting #10

Closed pesegolsson closed 9 months ago

pesegolsson commented 9 months ago

could we possibly get a font size option in the settings?

SoRadGaming commented 9 months ago

I will see what can be done, but Mojang hard codded the font height value to fontHeight = 9, and only adjusted the scale with a multiply function. So the only way to make text larger is to increase the Hud scale. (Overriding this function will override it everywhere it is used). I will try to find a solution, but will take a while.

SoRadGaming commented 9 months ago

Update: I Got Text Scaling working (reliable method), so I need to improve implementation. I'm going to be busy for a week, so I will start testing and getting it working next week.