'LinKin Posted April 6, 2014 Share Posted April 6, 2014 Hi. When using default-small font, if you have a low/medium resolution you'd be able to read the text normally. But if you have a big resolution you'd really have difficulties reading the text since it's going to be very very small.. Is there any way to increase the font's size according to the resolution? Thanks Link to comment
Moderators Citizen Posted April 6, 2014 Moderators Share Posted April 6, 2014 (edited) Hi.When using default-small font, if you have a low/medium resolution you'd be able to read the text normally. But if you have a big resolution you'd really have difficulties reading the text since it's going to be very very small.. Is there any way to increase the font's size according to the resolution? Thanks You can do that if you are using dxDrawText by changing the font scale (7th argument) according to the screen resolution. Edited April 8, 2014 by Guest Link to comment
Gallardo9944 Posted April 8, 2014 Share Posted April 8, 2014 local x,y = guiGetScreenSize() local scale = x/640 -- It will be 1 with 640, 2 with 1280, ... 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now