[OS X TeX] Font cache problems with XeLaTeX under Snow Leopard

J. McKenzie Alexander jalex at lse.ac.uk
Fri Sep 25 11:30:17 EDT 2009


Hello there,

After upgrading to Snow Leopard, I'm encountering what appear to be  
problems with the Mac OS X font cache. At least I think that's what  
the problem is, since I've never seen this behaviour before.

Consider the following minimal sample file, which must be run through  
XeLaTeX:

	\documentclass[11pt,a4paper]{article}
	\usepackage[]{fontspec}
	\defaultfontfeatures{Mapping=tex-text}
	\setmainfont{Book Antiqua}

	\begin{document}
	This should appear in normal size.

	{\fontspec[SizeFeatures={Size={32}}]{Book Antiqua}{This should be  
big.}}
	\end{document}

When I run that through XeLaTeX, the line which says "This should be  
big." appears at the same size as the previous line.  However, if I  
edit the \fontspec command so that it says

	{\fontspec[SizeFeatures={Size={32}}]{Garamond}{This should be big.}}

instead, the second line appears big, as it should.

I think this has to do with a corrupted font cache because I *was*  
actually getting the right output earlier today, but then all of a  
sudden it stopped working. In addition, aside from the size change not  
occurring, the \emph and \textbf commands stopped working for some  
fonts.

Any suggestions on how to solve this problem would be most appreciated!

Cheers,

Jason

--
Dr J. McKenzie Alexander
Department of Philosophy, Logic and Scientific Method
London School of Economics and Political Science
Houghton Street, London WC2A 2AE




Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm



More information about the MacOSX-TeX mailing list