bool get_character_widths(handle device, unsigned first, unsigned last, int* widths)
This function obtains a range of widths of characters that are consecutive in the current font.
The handle of a device context.
The code point of the first character in the font to be retrieved.
The code point of the last character in the font to be retrieved (must be >=first).
A pointer to a buffer to hold the returned character widths.
|The function succeeded.
|The call failed.
The returned range is inclusive (required buffer size Last-First+1).
If no font character exists at a codepoint, the width of the default character in the font is returned.