[Bug 1784650] Fontconfig is slow, causing stuttering and freezing