Google

/*
 * Get the character coordinates of the at the given index using this font.
 *
 * Example:
 *   x, y, char_w, char_h = font.index "index\nstring\n", 8
 *
 */
static VALUE font_text_location(VALUE self, VALUE text, VALUE index) {