pango: use "first" instead of "to_a[0]"

Because we don't need all values.