Improve the transition from the old fontconfig file to the new one

Improve the situation for Linux users after #40830 (closed).