Compute information about glyph sequence.
function computes information about glyphs corresponding to the text between
when it is drawn on a window of frame
function with the drawing control object
is an array of objects to store the information, and
is the array size.
is large enough to cover all glyphs, it stores the number of actually filled elements in the place pointed by
and returns 0.
Otherwise, it stores the required array size in the place pointed by
and returns -1.