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
Definition of Font Size?
- Ross_ValuSoft
- Posts: 87
- Joined: Thu Dec 18, 2008 11:27 am
- Location: Melbourne, Australia
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Definition of Font Size?
It basically means that the width of the font is automatic calculated using the provided height.
EMG
EMG
- Ross_ValuSoft
- Posts: 87
- Joined: Thu Dec 18, 2008 11:27 am
- Location: Melbourne, Australia
Re: Definition of Font Size?
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.Enrico Maria Giordano wrote:It basically means that the width of the font is automatic calculated using the provided height.
EMG
I have tried many different combinations with the emulator and nothing changes. The same font size every time ...
Thanks,
Ross
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Definition of Font Size?
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".Ross_ValuSoft wrote:what does a height of -10 mean?
EMG
- Ross_ValuSoft
- Posts: 87
- Joined: Thu Dec 18, 2008 11:27 am
- Location: Melbourne, Australia
Re: Definition of Font Size?
Thanks Enrico.
Isn't the world of programming a great source of frustration and jubilation?
Enjoy your day.
Cheers,
Ross
Isn't the world of programming a great source of frustration and jubilation?
Enjoy your day.
Cheers,
Ross