Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is here any shell command for getting the list of activated fonts? Mean something like:

 some_font_util -activated -format 'file: name'

for getting a list of activated fonts in a form:

/Library/Fonts/CourNI.ttf: Courier New Italic

or anything like...

Ps: for lion. If you know something from macports, or applescript (for run with osascript command) is welcomed too...

share|improve this question
Our of my own morbid curiosity, can I ask why you need it (1) programmatically, and (2) in such a specific format? – Jason Salaz Jan 8 '12 at 5:29
simple want print fontdemo (some text with all my fonts) with textutil command, so really need only "fontname" but the file helps filter out the correct font-directory (as you do it in your example). :) like: echo 'demo text' | textutil -stdin -convert rtf -font $FONTNAME ... etc – jm666 Jan 8 '12 at 13:14
up vote 4 down vote accepted

$ fc-list : file family |grep \/Library

grepping /Library filters out a bunch of fonts in /usr/X11*, which are only used by X11. Considering your example, I assume you would prefer the OS X specific ones. If I'm incorrect in this assumption, simply take out everything after family.

That command returns many many lines on it's own, here is a handful of interesting ones I saw in the list:

/System/Library/Fonts/AppleGothic.ttf: AppleGothic
/Library/Fonts/Apple LiGothic Medium.ttf: Apple LiGothic
/System/Library/Fonts/Apple Braille Pinpoint 8 Dot.ttf: Apple Braille
/System/Library/Fonts/Apple Braille Outline 6 Dot.ttf: Apple Braille
/System/Library/Fonts/Apple Symbols.ttf: Apple Symbols
/System/Library/Fonts/Apple Braille Pinpoint 6 Dot.ttf: Apple Braille
/System/Library/Fonts/Apple Braille.ttf: Apple Braille
/Library/Fonts/AppleMyungjo.ttf: AppleMyungjo
/System/Library/Fonts/Apple Braille Outline 8 Dot.ttf: Apple Braille
/Library/Fonts/Apple LiSung Light.ttf: Apple LiSung
/Library/Fonts/Apple Chancery.ttf: Apple Chancery
/System/Library/Fonts/Apple Color Emoji.ttf: Apple Color Emoji,Apple 彩色表情> 符號,Apple farve-emoji,Apple Farben-Emoji,Applen väri-emoji,Apple Emoji couleur,Colore Emoji Apple,Apple カラー絵文字,Apple 컬러 이모티콘,Apple Kleur-Emoji,Apple farge-emoji,Apple Emoji em Cores,Цветные эмодзи Apple,Apple färg-emoji,Apple 彩色表情符号,لون,Apple Emoji color
/Library/Fonts/Comic Sans MS.ttf: Comic Sans MS
/Library/Fonts/Microsoft/MS Gothic.ttf: MS Gothic,MS ゴシック
/Library/Fonts/Microsoft/Stencil: Stencil
/Library/Fonts/Microsoft/Verdana: Verdana
/Library/Fonts/Microsoft/Georgia: Georgia
/Library/Fonts/Microsoft/Onyx: Onyx

share|improve this answer
Need install fonconfig macport. Excellent! Thanx. – jm666 Jan 8 '12 at 12:54
Since OS X 10.8 Mountain Lion, X11 is no longer included in the OS, and even if the fc-list binary is still available in /usr/X11/bin/fc-list, it wont run without a proper X11 install. – Guillaume Algis May 4 '13 at 13:18
X11 has never been included, it's always been an optional install. – Jason Salaz May 4 '13 at 22:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.