[Tex/LaTex] Different compilation times with different Operating Systems


I have noticed that when compiling or rather typesetting with XeLaTeX, I experience very different compilation times on different Operating Systems.

When I typeset on Windows, the compilation process seems to “hang” for a short while (around 10 seconds or so), especially after eu1lmr.fd, i. e. this is the last line in the console for this time and nothing seems to happen. Then the process goes back to “normal speed” where the lines are rushing up quickly.

On Mac OS, I can compile just fine and the lines are running up smoothly and there is no such “interruption” of the typesetting process.

I am using TeXworks on Windows 7 and TeXShop and TeXworks on Mac OS X 10.7. I have TeXLive 2011 on a Ubuntu 11.10 server with x86_64-darwin and win32 packages.

To me this phenomenon seems document-independent, this is why I am not providing a MWE.

Why does it occur, though?

Thank you in advance for any information you are able to provide.

Best Answer

I suspect it's a problem with the font cache XeTeX needs to locate the installed fonts; try running

fc-cache -fv

to rebuild it. On Macintosh systems, fontconfig isn't used, so this problem doesn't occur.

Related Question