In the example below, I add some features to the default LaTeX font by \addfontfeatures and compiled by XeLatex, but all of these features does not work. Why and how to make them work?
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\addfontfeatures{Color=123456,Opacity=0.3,Scale=5}
ABCD
\end{document}


\setmainfont{TeX Gyre Bonum}or whatever font you want to use. – frabjous May 12 '22 at 02:15\setmainfont{Latin Modern Roman}if you want the default font. – frabjous May 12 '22 at 02:25LaTexwill allocate a default font. Why does\addfontfeaturesnot apply its features to this default font? – lyl May 12 '22 at 05:48LaTex? – lyl May 12 '22 at 05:50Package fontspec Warning: \addfontfeature(s) ignored on line 41; it cannot be used with a font that wasn't selected by a fontspec command.The default fonts are loaded with fd-files. – Ulrike Fischer May 12 '22 at 07:00fd-files? Where are they? – lyl May 12 '22 at 13:07\fontname\fontto print the default font, I get[lmroman10-regular]. It seems not to beLatin Modern Romanfont. Then I\setmainfont{lmroman10-regular}, this causes error. So, what is on earth the name of the default font in LaTeX/XeLaTeX? – lyl May 13 '22 at 01:24