0

Here's my MWE, it appears replacing MedeivalSharpwith any TTF file will do the trick.

\documentclass{article}
\usepackage[T1]{fontenc} 
\usepackage{fontspec}
\usepackage[osf,proportional]{Baskervaldx}
\usepackage{polyglossia}

\newfontfamily\msharp[
Path = {/home/kristian/.fonts/},
Extension = .ttf
]
{MedievalSharp}
\begin{document}

{\msharp{This is Medieval Sharp.}}

But this is not Baskerville.

\end{document}

1 Answers1

0

It seems I figured out a solution thanks to the comments above:

\documentclass{article}
\usepackage{polyglossia}

\usepackage{fontspec}
\defaultfontfeatures{Ligatures={NoRequired}}

\setmainfont[
Ligatures = TeX,
Path = /home/kristian/.fonts/,
BoldFont = Baskervaldx-Bol.otf,
ItalicFont = Baskervaldx-Ita.otf,
BoldItalicFont  = Baskervaldx-BolIta.otf]
{Baskervaldx-Reg.otf}

\newfontfamily\msharp[
Path = {/home/kristian/.fonts/},
Extension = .ttf
]
{MedievalSharp}

\begin{document}
{\msharp{This is Medieval Sharp.}}

And this is \textsc{Baskerville}. 12345. \textit{test} -- \textbf{test}
\end{document}

I added \defaultfontfeatures{Ligatures={NoRequired}} to get rid of the strange (OE, AE) ligatures.

  • Do you mean in words like Cæsar, œuvre, Phœbe, æther, ælf, Bignoniaceæ? It is strange seeing them typeset without the ligatures, unless there are technical limitations like typewriters. They do activate the spell-checkers, though, and usage is beginning to fade. – Cicada Oct 11 '20 at 05:18
  • @Cicada See https://tex.stackexchange.com/a/404970/ But this fix is no longer needed: someone seems to have removed the rlig feature from the version of the fonts in TeX Live. – Thérèse Oct 11 '20 at 12:22
  • You may be interested in Baskervville and Open Baskerville. – Thérèse Oct 11 '20 at 12:35