HOW I CAN GET THE CEEL HEIGHT IN VC++

  • Thread starter Thread starter sanjaykusingh
  • Start date Start date
Dude, you're in the wrong newsgroup. This is a web design newsgroup.

However, I went ahead and did a little research for you. The basic
information you need can be found at:

http://msdn.microsoft.com/library/en-us/gdi/fontext_2mnn.asp?frame=true
This discusses several topics, including the logical grid against which
TrueType fonts are designed.

The following reference is more specific:
http://msdn.microsoft.com/library/en-us/gdi/fontext_569e.asp?frame=true
This discusses the _OUTLINETEXTMETRIC structure, which includes the
otmEMSquare uint, which is the length in logical units of the grid square
for the font.

The next reference is about the GetOutlineTextMetrics function, which
returns this information:
http://msdn.microsoft.com/library/en-us/gdi/fontext_6lyr.asp?frame=true

In the future, if you have any more questions along these lines, try the
following newsgroup:
microsoft.public.win32.programmer.gdi

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.
 
Back
Top