# Removing TeX fonts from being system-wide

After reading XeTeX can't find font I executed

sudo cp \$(kpsewhich --var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
sudo fc-cache -fsv


I am now trying out MathJax and I find that I need to remove the TeX fonts that were made system-wide so that I can test meaningfully. Is there any way to reverse the above process using the CLI?

FYI, I am on a Ubuntu 11.10 64-bit system running TeX Live 2011.

-

Well, your code seems to have copied texlive-fontconfig.conf to /etc/fonts/conf.d/. You might simply want to delete that file from there.
sudo rm /etc/fonts/conf.d/09-texlive.conf

sudo rm /etc/fonts/conf.d/09-texlive.conf and then again sudo fc-cache -fsv –  NVaughan Apr 13 '12 at 16:43