How do i calculate the font so that
text fits in the given rectangle ??

I mean how do i fill the LOGFONT
structure so that text fits into a
given rectangle ?

Text should get resized ...
it should not clipped.