Re: Win32 Font Metrics
- Posted by Bernie Ryan <bwryan at PCOM.NET> Feb 25, 1999
- 455 views
SORRY correcting some typing errors This is how you get TRUETYPE FONT INFORMATION -- SYNTAX IS BOOL GetCharABCWidths( hdc, uFirstChar, uLastChar, lpabc ) ----- Parameter --------- Type ----------- Description ---------- hdc HDC Device Context ( handle ) uFirstChar UNIT First character in character range ( unsigned integer ) uLastChar UNIT Last character in character range ( unsigned integer ) lpabc LPABC Pointer to ABC data structure to receive the character widths --------------------------------------------------------------------------- Discription: The GETCharABCWidths function retrieves the character widths of the characters for the current font in the range from uFirstChar to uLastChar. lpabc points to a data structure of the type ABC that receives the character widths. Bernie