[OS X TeX] OK to run fc-cache?

Herbert Schulz herbs at wideopenwest.com
Sat Nov 6 14:08:42 CET 2021

> On Nov 6, 2021, at 7:29 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>> On Nov 5, 2021, at 7:46 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> In response to a font question I posted at https://tex.stackexchange.com/questions/621487/what-font-from-where-to-use-cmu-serif-upright-italic, I’m getting advice to run command:
>> 	fc-cache -f
>> Given that my local texmf tree is at /Users/me/Library/texmf, I wanted to check with this MacTeX world that running the command is really OK and won’t interfere with the system/local dichotomy or with the actions of updating databases when I update packages through the TeXLive Utility app.
>> If it is OK to run the command, the usual questions arises: run it with sudo or without?
>> ---
>> Murray Eisenberg		murrayeisenberg at gmail.com
>> Mobile (413)-427-5334
>> 503 King Farm Blvd #101		
>> Rockville, MD 20850-6667	
> Howdy,
> I believe fc-cache is used by Linux systems to set up font caches and isn't the thing to do with macOS. As a matter of fact the only fc-cache on my PATH is in X11.
> If you need to add fonts to the macOS cache Open Font Book and drop the fonts into it. I've made a symlink of /Library/TeX/Root/texmf-dist/fonts/opentype in ~/Library/Fonts and then dropped it onto Font Book to activate the fonts there.
> Good Luck,
> Herb Schulz
> herbs at wideopenwest.com


Taking a look at the stackexchange item so I can now add:

Xelatex can only find fonts by Font Name if they appear in Font Book. However if you use the File Name they will be found in the TeX Distribution so need not be installed in Font Book.

Good Luck,

Herb Schulz
herbs at wideopenwest.com

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list.