Hi,
I am trying to fit a custom font to all screen resolutions. For example:
local coolvetica = guiCreateFont("fonts/coolvetica.ttf", 25)
This font would look normal to 1920x1080 but it would look bigger in lower resolution, so I want to lower the size depending on the resolution. So far I tried this:
local sx_, sy_ = guiGetScreenSize()
local coolvetica = guiCreateFont("fonts/coolvetica.ttf", 25*(sy_/1080))
but it still does not look normal in other resolutions.
Cheers.