I would like to use Calibri in my LaTeX document. As this is not one of the basic fonts, I downloaded the Calibri package for Windows and added it to my file path (see picture).
Following the answers in this thread : How to use the Calibri font I changed the compiler to lualatex and added the following code:
\usepackage{fontspec}
\setmainfont[
BoldItalicFont=calibriz.ttf,
BoldFont =calibrib.ttf,
ItalicFont =calibrii.ttf]{calibri.ttf}
This results in the following error: "Timed out. Sorry, your compile took too long to run and timed out. This may be due to a LaTeX error, or a large number of high-res images or complicated diagrams."
Without the above code the file is not in Calibri, but compiles in only a couple seconds.

calibri.ttfand not directly with your main document. – Ulrike Fischer Mar 17 '20 at 13:15