Re: Win32 Font Metrics

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu