get_font_unicode_ranges


unsigned get_font_unicode_ranges(handle device,
                                 glyph_set* ranges)

This function obtains information about the ranges supported by a unicode font.

Parameters

handle device

The handle of the device context whose current font is being queried.

glyph_set* ranges

A pointer to a buffer to hold the glyph set. If this parameter is null, a pointer to the internal structure for the font is returned.

Return

unsigned

If the parameter ranges is zero the value returned is the required buffer size. If the parameter ranges is non-zero the value returned is the number of bytes written to the buffer. If the function fails, zero is returned.