Text this: A new approach to Ky Fan-type inequalities