DEFINE FONT oFont NAME "Aerial" SIZE 0, - 8 OF oPrn
I understand the above line to be Font size 8.
oFont:nSize() tells me 50
oFont:nWidth() tells me 29.3333
oFont:nHeight() tells me 66.67
but if I :
DEFINE FONT oFont NAME "Aerial" SIZE 29.3333, 66.67 OF oPrn
oFont:nSize() tells me -416.44
oFont:nWidth() tells me 29.3333
oFont:nHeight() tells me 555.5833
Why is that?
I want to store the font (name, size, bold etc) in a DBF file. What am I doing wrong?
Ollie.
Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)