Combined effect of small- and large-angle scattering collisions on a spectral line shape