external index_to_pos : layout -> int -> rectangle
    = "ml_pango_layout_index_to_pos"