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

Herbert Schulz herbs at wideopenwest.com
Fri Sep 25 12:36:41 EDT 2009


On Sep 25, 2009, at 10:30 AM, J. McKenzie Alexander wrote:

> 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
>

Howdy,

Don't think it's a Font Cache problem. What Book Antiqua do you have?  
The following works on my system:

\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.}}
{\fontspec[Scale=3.2]{Book Antiqua}This should be big.}
\end{document}

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list