Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a multiple of 15px for the mc-font size #97

Open
LoganDark opened this issue Mar 20, 2022 · 2 comments
Open

Use a multiple of 15px for the mc-font size #97

LoganDark opened this issue Mar 20, 2022 · 2 comments

Comments

@LoganDark
Copy link

LoganDark commented Mar 20, 2022

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:

image

30px is not antialiased:

image

@kezz
Copy link
Member

kezz commented Mar 20, 2022

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.

@LoganDark
Copy link
Author

LoganDark commented Mar 20, 2022

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants