When I declare an option containing a space, LaTeX/XeLaTeX eats it.
In the main .tex, I have :
\usepackage[test font]{test}
In my .sty file I have :
\DeclareOption*{\newfontfamily\testfont[Scale=1]{\CurrentOption}}
\ProcessOptions
But the Tex engine passes to the package testfont option and not test font.
So the question is how to pass the option containing the space to the package.