in Default Lyx PDF output, (I presumed it is pdflatex), I used fontdimen2/3/4 to control the interword space, stretch and shrink. In a project, I had to use XeTeX for a particular font. However, the fontdimen2/3/4 doesn't work on the regular text anymore under XeTeX. Only works on fancyhdr.
My Preamble as regards to the text sizes are following:
%Set word space
\usepackage{everysel}
\EverySelectfont{%
\fontdimen2\font=0.15em% interword space
\fontdimen3\font=0.15em% interword stretch
\fontdimen4\font=0.1em% interword shrink
}
%set font size
\renewcommand{\normalsize}{\fontsize{8pt}{8.5pt}\selectfont}
\renewcommand{\large}{\fontsize{20pt}{21pt}\selectfont}
In order to test the functioning, I set all fontdimen to 0, as you observed in the following example, only the fancyhdr is affected. the font I am using is Van Dijck MT Std with Old Style Figures on.
