scale text to avoid overflow and change subtype color