[Tex/LaTex] XeLaTeX fonts don’t work well on Windows

fontsfontspecsmall-capstemplatesxetex

I have recently downloaded the template for a CV from http://www.latextemplates.com/template/plasmati-graduate-cv. It is supposed to be compiled using XeLaTeX, with previous installation of the Fontin font which can be downloaded from http://www.exljbris.com/fontin.html.

In Linux everything works great, but under Windows it is a catastophe: all letters are written in small caps. The problem is in this line:

\setmainfont[SmallCapsFont = Fontin SmallCaps]{Fontin} % Main document font

I have contacted the author of the template and he has suggested that I use Fontin Regular instead of Fontin SmallCaps:

\setmainfont[SmallCapsFont = Fontin Regular]{Fontin} % Main document font

But, if I do that I am unable to use \textsc at all. Does anyone have any suggestion?

Addendum: One other thing. I have noticed that within this enviroment I cannot use some accents, e.g.\v{c}, \'{c} etc. Is this normal?

Best Answer

Use \setmainfont{Fontin Regular}[SmallCapsFont = Fontin SmallCaps] (newer syntax), or
\setmainfont[SmallCapsFont = Fontin SmallCaps]{Fontin Regular} (older syntax).