See also
With XeLaTeX and LuaLaTeX, you can use even system fonts such as TrueType fonts and feature-rich OpenType fonts. That’s LaTeX based on the new engines called XeTeX and LuaTeX.
The TeX User Group has a good page to start with XeLaTeX: https://www.tug.org/xetex/.
LuaLaTeX is a good choice for additional programming features, since it adds the Lua programming language. You can read more about it at https://www.luatex.org.