I'm learning to use the beautiful Metropolis theme, but I have a long-standing problem with the fonts in math mode. As you can see from the image, the font of the elementary functions is poorly displayed. I'm compiling with XeLaTex.
This is my code
\documentclass[aspectratio=169]{beamer}
\usetheme[progressbar=foot,numbering=none]{metropolis}
\usepackage[italian]{babel}
\usepackage[utf8]{inputenc}
\usepackage{centernot}
\usepackage{enumerate}
\usepackage{array}
\usepackage{fontspec}
\usepackage{semantic}
\begin{document}
\begin{frame}
\begin{itemize}[<+->]
\item $a_n = |n|$ (valore assoluto)
\item $a_n = n^2$ (potenza ad esponente pari)
\item $a_n = n^3$ (potenza ad esponente dispari)
\item $a_n = \frac{1}{n^2}$ (reciproco di potenza pari)
\item $a_n = \frac{1}{n^3}$ (reciproco di potenza pari)
\item $a_n = \sqrt[2]{n}$ (radice di indice pari)
\item $a_n = \sqrt[3]{n}$ (radice di indice dispari)
\item $a_n = \log_2 n$ (logaritmo con base maggiore di 1)
\item $a_n = \log_{\frac{1}{3}} n$ (logaritmo con base tra 0 e 1)
\item $a_n = 2^n$ (esponenziale ad esponente maggiore di 1)
\item $a_n = \left( \frac{1}{3} \right)^n$ (esponenziale ad esponente tra 0 e 1)
\item $a_n = \sin n $ (seno)
\item $a_n = \cos n $ (coseno)
\item $a_n = \tan n $ (tangente)
\item $a_n = \arcsin n $ (arcoseno)
\end{itemize}
\end{frame}
\end{document}
Thank you all.

[<+->]as it s not relevant here. – daleif Jun 12 '20 at 11:23kpathsea:make_tex: Invalid filenameFira Sans Light Italic', contains ' '` and the theme has implemented its own tests to look for the fonts, a test that might now be working any more. – daleif Jun 12 '20 at 11:29