I recently downloaded the SF Pro font from https://developer.apple.com/fonts/ on a MacBook Pro with MiKTeX installed. However, when I try to use it with XeLaTeX, the log says the font probably doesn't exist, even though I can use it on Word, Keynote, etc. In general, it seems that any downloaded fonts won't work. Any suggestions?
(Edit:)
In the following example, changing SF Pro
with DIN Alternate
or Futura
(which are system fonts in macOS) will work.
MWE:
\documentclass{article}
\RequirePackage{mathspec}
\setmainfont{SF Pro}
\begin{document}
Hello LaTeX.
\end{document}
In log:
Package fontspec Info: Could not resolve font "SF Pro/B" (it probably doesn't (fontspec) exist).
Thanks in advance!