.:HyPeX:. Posted December 30, 2014 Share Posted December 30, 2014 Well, i'm not sure, but i always end up random guesses to get a good quality dxDrawText while in a custom font. Is there any way the system works? local font1 = dxCreateFont("fontbold.ttf",8) --- Lines later dxDrawText ('#1e90ffMap:', 3+1, screenHeight - dxGetFontHeight(1.00*scale, font1) , 100+1, 100+1, tocolor ( 0, 0, 0, 255 ),1.00*scale, font1, 'left','top',false,false,false,true,true,0) Link to comment
Alexs Posted December 30, 2014 Share Posted December 30, 2014 Try using a screen-relative value in the font creation: local font1 = dxCreateFont("fontbold.ttf", screenHeight*0.01334) --just an example 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