adventure-webui
adventure-webui copied to clipboard
Use a multiple of 15px for the mc-font size
The Minecraft font you use was designed to render perfectly sharp at multiples of ~~15px~~ 30px (but I have a 2x screen so it's effectively 15px). You currently use 28px which has antialiasing artifacts for me:
30px is not antialiased:
What browser/os/version are you using? Also, could you provide a before/after that's relative to the whole size of the chat box, for example?
Basically, I'm pretty certain 28px is more accurate size wise than 30px and I'm not sure if the anti-aliasing is worth fixing for that.
What browser/os/version are you using?
Well clearly it's not much of a factor as these screenshots from my Mac running a completely different OS and browser show.
I'm not sure what you mean by version, I'm using https://webui.adventure.kyori.net/
28px:
30px:
the 30px one has some alignment issues that can be fixed by adjusting some of the other CSS.
Notably, the text shadow is also now correct since each pixel is now 3x3 CSS pixels. Here's what it looked like with the font at 28px