Page 1 of 1

Size of Font

Posted: Mon May 23, 2016 2:03 pm
by Romeo
Is there same simple sample to get a correct and good size of font when working on screen with very high resolution ?

thanks

Re: Size of Font

Posted: Wed Jun 01, 2016 3:14 pm
by James Bott
Romeo,

Technically, fonts sizes are defined using "points" which are a linear measurement so they should remain the same with different screen resolutions.

oFont:nHeight = height of the font in points (1 point is 1/72 of an inch)

DEFINE FONT oFont SIZE 0,-12 // defines a 12 point font

So, if you define a 12 point font it should always be 12/72 inches high or 0.17 inches high, regardless of the screen resolution. I have never tried to measure this on different screens though.

Is this not what you are seeing?

James

Re: Size of Font

Posted: Fri Jul 08, 2016 4:51 pm
by Romeo
Yes, it can help me

tks
R