I'm trying to use the baskervaldx font in XeLaTeX; however it doesn't kern properly. With LaTeX it works as supposed.
What is the right way to load the Baskervaldx font?
With LaTeX, default install on Linux
\documentclass[12pt]{article}
\usepackage{Baskervaldx}
\begin{document}
\textsc{Hello} World
Top
\end{document}
With XeTeX, otf files copied to ~/.fonts
\documentclass[12pt]{article}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Baskervaldx}
\begin{document}
\textsc{Hello} World
Top
\end{document}
luatex
, but withxetex
I get the same bad kerning you noticed.rlig
feature. Something like this should produce reasonable results, apart from the kerning problem inxetex
:\setmainfont{Baskervaldx}[Ligatures=NoRequired,Numbers=OldStyle,SmallCapsFeatures={LetterSpace=6}]