Skip to content

Instantly share code, notes, and snippets.

@megclaypool
Created November 11, 2023 08:46
Show Gist options
  • Save megclaypool/8374ba990d322380ac29d7221ea18aeb to your computer and use it in GitHub Desktop.
Save megclaypool/8374ba990d322380ac29d7221ea18aeb to your computer and use it in GitHub Desktop.

To list the fonts that are available on your system, run the following command in the terminal:

system_profiler -json SPFontsDataType | grep \"family | sort | uniq

This will show the name you need to supply to VSCode to use the font.

Any font that is activated on the Mac will be available to VSCode. I am using a patched font, and by applying the name that is shown using the command above, I was able to use it in VSCode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment