Using Native Fonts Installed on a Platform
This article concerns the
See other variants:

For native fonts, you needn’t install any extra files. They are provided by the operating system and are available to use in your LaTeX documents.

You can simply use the package fontspec to set a native font as the main font of the document. In the following example, we are using a font called Times New Roman font that is native on both macOS and iOS.

An example for using a custom font
\setmainfont{Times New Roman}

Lorem ipsum dolor sit amet, consectetur adipiscing elit, ...

This simple example will produce the following output on Texpad macOS when using TexpadTeX.