Open Faeranne opened 5 years ago
The actual rendered font seems to be about 10px tall when the size is set to 12.
for me they render multiplied by the gui scale factor (which for normal gui scaling is 2). so fontSize(10) is double the size as in a text editor. Guess i'll leave it as it is, you can still divide by 2 to fit the scaling of the OS
But due to the nature of how the TTF Font gets converted to a Bitmap Font you'll never archive the same visual appearance as in a text editor because the letter spacing might differ
Also i dont want to put much effort in that feature now as Minecraft 1.13+ uses LWJGL3 which has TTF support build in, so we should hope that OC gets ported soon ;)
I'll leave the bug open as a note to myself to merge to LWJGL3 TTF support when possible
Fonts appear to render with a much lower font size than the expected size. see below image.
These are both suppose to be 12pt.