[OS X TeX] Curious xelatex font problem

Dr. Clea F. Rees cfrees at imapmail.org
Sat Sep 6 19:36:45 EDT 2008


I've only played with xelatex etc. but I thought I would try this. I
can't compile the file you sent either from the command line  or in
TeXShop. In both cases, I get this error:

(/usr/local/texlive/2008/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))kpathsea:
Invalid fontname `Baar Metanoia', contains ' '

! Font \zf at basefont="Baar Metanoia" at 10.0pt not loadable: Metric (TFM) file or installed font
not found.
\zf at fontspec ...ntname \zf at suffix " at \f at size pt
                                       \unless \ifzf at icu \zf at set@...
l.3 \setmainfont{Baar Metanoia}

TL 2008
At the command line, I'm using Apple's screen and (non-Apple) bash.

I dug out my experimental file and thought it was a problem with
xelatex at first. Then I realised I'd deactivated some of the fonts it
called. It compiled fine after I commented out those calls.

FWIW, I have never had either MacPorts or Fink installed on this
machine. I did have earlier installations of TeX. 2007 is still
installed but not active. Earlier versions of teTeX installed with
i-Installer are no longer installed at all.

- cfr

On 06/09/08, you seem to have written:

> On 6 Sep 2008, at 11:33 PM, Reinaert Albrecht wrote:
>
>>> What does "locate xdvipdfmx" show?
>>> 
>> 
>> It shows the exact same thing in both the working gnu screen and the not
>> working macosx screen.
>
> I'd expect that, but I wondered exactly *what* it showed -- thinking it might 
> reveal where stray binaries are lurking. However, the failure is apparently 
> in xetex itself rather than the output driver.
>
>> Btw: the output i get i macosx screen is:
>> 
>> This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
>
> This is clearly MacTeX 2007; it's definitely worth upgrading to 2008, as 
> there have been significant bugs fixed (as well as new features introduced) 
> in the meantime.
>
> However, that doesn't seem to explain the current problem.
>
>> ! Font \zf at basefont="Baar Metanoia" at 10.0pt not loadable: Metric (TFM) 
>> file o
>> r installed font not found.
>> \zf at fontspec ...ntname \zf at suffix " at \f at size pt
>>                                                 \unless \ifzf at icu 
>> \zf at set@...
>> l.3 \setmainfont{Baar Metanoia}
>> 
>> ? ^D
>> ! Emergency stop.
>> \zf at fontspec ...ntname \zf at suffix " at \f at size pt
>>                                                 \unless \ifzf at icu 
>> \zf at set@...
>> l.3 \setmainfont{Baar Metanoia}
>> 
>> No pages of output.
>> Transcript written on bu.log.
>> zsh: exit 1     xelatex bu
>
> This is interesting: you're apparently running zsh as your shell, which is an 
> unusual choice. I don't know why that would matter, but could you change your 
> default shell in Terminal to /bin/bash and see if that makes any difference?
>
> JK



More information about the MacOSX-TeX mailing list