Consider the following LaTeX manuscript:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Times}
\begin{document}
\fontsize{50}{50}\selectfont
Hello, world!
\end{document}
When processed with xelatex, it renders the text as follows. In particular, the font size is 50pt, as expected:
If I now move the \fontsize...\selectfont commands to the preamble, like this:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Times}
\fontsize{50}{50}\selectfont
\begin{document}
Hello, world!
\end{document}
xelatex ignores the size specifications, and the text renders small:
Why is this?





\begin{document}calls for\normalsizewhich negates your font size setting. See https://tex.stackexchange.com/a/152085/117534 – Troy Jul 29 '17 at 06:32