Page 1 of 1
Definition of Font Size?
Posted: Wed May 26, 2010 9:40 am
by Ross_ValuSoft
Hi all,
In many of the sample files I find typically ...
DEFINE FONT oFont NAME 'Arial' SIZE 0, -10
The help files says [ SIZE <nWidth>, <nHeight> ] , so does this mean that nWidth is zero (0) and height minus 10?
I am confused. Please explain the real purpose of "SIZE 0, -10"?
Thanks,
Ross
Re: Definition of Font Size?
Posted: Wed May 26, 2010 3:49 pm
by Enrico Maria Giordano
It basically means that the width of the font is automatic calculated using the provided height.
EMG
Re: Definition of Font Size?
Posted: Wed May 26, 2010 11:48 pm
by Ross_ValuSoft
Enrico Maria Giordano wrote:It basically means that the width of the font is automatic calculated using the provided height.
EMG
Thanks for the reply Enrico ... but what does a height of -10 mean? Is it upside down? I know that is a stupid suggestion ... but so is a dimension of minus ten.
I have tried many different combinations with the emulator and nothing changes. The same font size every time ...
Thanks,
Ross
Re: Definition of Font Size?
Posted: Thu May 27, 2010 6:42 am
by Enrico Maria Giordano
Ross_ValuSoft wrote:what does a height of -10 mean?
It's only a conventional sign that means "please, calculate the width of the font that best fits the absolute value of the provided height".
EMG
Re: Definition of Font Size?
Posted: Thu May 27, 2010 8:05 am
by Ross_ValuSoft
Thanks Enrico.
Isn't the world of programming a great source of frustration and jubilation?
Enjoy your day.
Cheers,
Ross