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

Fix #280, blur font on darwin #298

Closed zyxkad closed 9 months ago

zyxkad commented 9 months ago

Font's on retina will be blur cause Rentina have 2x DPI Now we times the DPI by 2 when on darwin, and scale the Label panel by 0.5 to keep the original size Since we scaled the panel size back, so it should not affect much on non-Rentina darwin However, if you are using non-darwin with rentina monitor, issue https://github.com/g3n/engine/issues/280 will still happen, need a way to detect the monitor

zyxkad commented 9 months ago

Before:

Screenshot 2023-12-02 at 18 14 16

After:

Screenshot 2023-12-02 at 18 13 35
danaugrs commented 9 months ago

Nice work, thanks!