g3n / engine

Go 3D Game Engine (http://g3n.rocks)
https://discord.gg/NfaeVr8zDg
BSD 2-Clause "Simplified" License
2.74k stars 292 forks source link

MacOS: fuzzy font on Retina #280

Closed dant3 closed 9 months ago

dant3 commented 2 years ago

I'm trying to run an example from the readme.md of the engine on a mac. The button text looks really fuzzy. Looks as if some antialiasing is missing. Most likely the problem is because Retina is not supported. My system is MacBook Pro (16-inch, 2019).

image

P.S. Sorry for the camera photo, but there is no way I can demonstrate this with the screenshot -- since the problem is caused by Retina.

danaugrs commented 2 years ago

Yeah, this is probably because of the lack of HDPI support and maybe also due to non-pixel perfect alignment of the font. PRs are welcome, although https://github.com/g3n/engine/issues/281 should probably be tackled first.

qizhanchan commented 1 year ago

Any Updates?

zyxkad commented 9 months ago

Any Updates?

Hi @qizhanchan , I made the pr #298 to fix this, you can test it if you want.