1

I would like to get the language support / script of any fonts I have in my computer with terminal command. There is a way to see it through Font Book...

enter image description here

2

fc-scan

You can use the command line tool fc-scan to list the properties of a font, including supported languages. The languages are reported under lang: as ISO two-letter country codes:

fc-scan /Library/Fonts/Arial\ Unicode.ttf

fc-scan is part of fontconfig, which is available through the brew project using:

brew install fontconfig

See also Mac Terminal: Get list of Chinese fonts from a given folder

| improve this answer | |
  • Thank you, but I need solution that not involved libraries. – Tal Talmon May 2 at 14:52
  • I am not aware of any built-in macOS tool that will show this information on the command line. system_profiler SPFontsDataType comes close but does not include the language field. – Graham Miln May 2 at 15:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .