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

0

1 Answer 1

3

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

2
  • Thank you, but I need solution that not involved libraries.
    – Tal Talmon
    May 2, 2020 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. May 2, 2020 at 15:46

You must log in to answer this question.

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