This is a follow-up question to Setting English font size in non-English documents in XeLatex
Well, I'm new here and this is my first question.
I've compiled the following code with xelatex but in the result the englishfont is identical with the italianfont (mainfont). (I tried other font combinations: the englishfont is always identical with the mainfont.)
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\newfontfamily{\englishfont}{DejaVu Sans}
\usepackage{polyglossia}
\setmainlanguage{italian}
\setotherlanguage{english}
\begin{document}
Testo in italiano.
\begin{english}
Text in English.
\end{english}
\end{document}