I defined a new font size using this command
\newcommand{\Hone}[1]{{\fontsize{2em}{2.2em}\selectfont\textbf{#1}}}
but I noticed that it is not applied for all sizes
what I mean by that is for example if I change 2em to 50em or to 100em the font will be the same
this is how I'm using the command
\Hone{test}
why is this happening?

\usepackage{fix-cm}in the preamble should work – JamesT Mar 10 '23 at 12:42