[OS X TeX] Snow Leopard problem with font cache

Yvon Thoraval yvon.thoraval at gmail.com
Fri Feb 1 17:32:53 CET 2013


fine, thanks, it's what i thought too, because i don't have even the folder
"/etc/fonts/conf.d on Mac OS X Mountain Lion.
I'll remove it and restart computer, in case of...


2013/2/1 Richard Koch <koch at math.uoregon.edu>

> Yvon,
>
> Others will, I hope, answer more definitively.
>
> It looks to me like to did extra font configuration which might be
> necessary
> on other platforms but isn't necessary on the Mac. On the Mac, XeTeX will
> find your Mac fonts automatically because it uses Apple's ATSUI font
> framework.
> Thus all the sudo stuff should be irrelevant, and perhaps dangerous.
>
> Can you easily unto that to test. If so, please try it.
>
> What you have done looks like trying to add Mac fonts to the TeX font
> system
> for programs unlike XeTeX. I know that some Mac folks have tried this,
> and maybe made it work, but it usually isn't either necessary or advisable
> since XeTeX can access those fonts directly.
>
> Now I hope that Herb Schulz and/or Bruno Voisin answer with much more
> definitive information.
>
> Dick Koch
>
> On Feb 1, 2013, at 6:18 AM, Yvon Thoraval <yvon.thoraval at gmail.com> wrote:
>
> Yesterday i did install MacTeX.pkg over Mac OS X Snow Leopard (10.6.8).
> Did i decided to test the installation with xetex and opentype using
> "opentype-info.tex" making use of :
>
> % Select the font name:
> \def\myfontname{Latin Modern Roman}
> %
> %%% OpenType-info.tex %%%
>
> \font\testfont="\myfontname/ICU" at 12pt
>
> I did that after having done the following :
> $ sudo mkdir -p /etc/fonts/conf.d
> $ sudo cp
> /usr/local/texlive/2012/texmf-var/fonts/conf/texlive-fontconfig.conf
> /etc/fonts/conf.d/09-texlive.conf
> $ sudo fc-cache -fsv
> which found hundrets of fonts in :
> /usr/X11/lib/X11/fonts
> /usr/X11R6/lib/X11/fonts
> /System/Library/Fonts
> /Library/Fonts
> and ending with:
> /usr/X11/var/cache/fontconfig: cleaning cache directory
> fc-cache: succeeded
>
>
> after that I've tested "opentype-info.tex" using :
> $ xetex opentype-info.tex
> giving badly :
> This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)
>  restricted \write18 enabled.
> entering extended mode
> (./opentype-info.texkpathsea: Invalid fontname `Latin Modern Roman/ICU',
> contains ' '
>
> ! Font \testfont="Latin Modern Roman/ICU" at 12.0pt not loadable: Metric
> (TFM)
> file or installed font not found.
> l.26 \font\testfont="\myfontname/ICU" at 12pt
>
> ?
>
> some one on french forum gave me an advice to verify mu setup :
> $ fc-list -v | grep -i latin
> giving no output at all.
>
> what did I mess ??
> i've already installed MacTeX.pkg but rather on another computer under
> Mountain Lion where it is working correctly.
>
> --
> Yvon at 48.871651804,2.384858688
>
>  ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
>
>


-- 
Yvon at 48.871651804,2.384858688
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20130201/9f477b29/attachment.html>


More information about the macostex-archives mailing list