I recently upgraded to Xubuntu 14.04 which has texlive 2013 in the repositories.
Before, I used Ubuntu 12.04 with texlive 2012.
Everything works except that when I compile my XeTeX documents they come out with the LM-Modern font. No matter what font I choose with \setmainfont. I have not deleted any fonts from my systems home directory and e.g. Libreoffice sees all fonts. I already run texhash in terminal but this had no effect.
Could somebody help me? I urgently need to compile a document that should look nice.
\documentclass{article} \usepackage{fontspec} \setmainfont{DejaVu Serif} \begin{document} foo \end{document}– May 22 '14 at 05:30fc-cacheto update the FontConfig Cache? See also the section "Fonts" in http://tex.stackexchange.com/a/95373/10995 – Henri Menke May 22 '14 at 05:45\documentclass{beamer}, the only output I get is LM-Modern/the standard latex font. – absurd May 22 '14 at 15:41\usefonttheme{serif}in your document? With that, you shouldn’t need to redefine\sfdefault. See §18.1 of thebeamerdocumentation. – Thérèse May 22 '14 at 17:46