fix get_text_extents function