I am running TeXLive 2016 on a Windows 7 machine. In the past, when I ran XeLaTeX on a new file that used
mathspec, the first compilation would take a long time, regardless of the length of the document. (For what it's worth, I am using the Calibri font.) Watching the Build Output scroll by (using TeXnicCenter), there would always be a pause on the line
which comes right before the line
After this first compilation, xelatex would run fast, comparable to pdflatex (if I didn't use
Now it hangs at this spot all the time, adding 20+ seconds to each compilation. Is there something that I can do to speed this up?
EDIT: On the advice from the comment, I ran a process monitor and it seems that xelatex.exe is reading every font in my fonts directory. Is there a way to keep that from happening?