With MiKTeX 2.9, I'm gonna use Lucida
and/or Jokerman Regular
fonts which exist in the font section of my Windows 10:
I've no problem with Georgia
or Garamond
, but this code
\documentclass{article}
\usepackage{fontspec,kantlipsum}
\defaultfontfeatures{Ligatures=TeX}
\setromanfont{Lucida}
%\setsansfont{Jokerman Regular}
\begin{document}
\kant[1]
\end{document}
returns an error as follows:
fontspec error: "font-not-found" The font "Lucida" cannot be found. For immediate help type H <return>. \setromanfont{Lucida}
What do I do wrong?
Best Answer
Happy new year!
You are using wrong font names.
In the case of
Jokerman Regular
, just get rid of thatregular
. Additionally,Lucida
is a family name for a class of fonts, and you need to pinpoint a particular member of this class such asLucida Calligraphy Italic
.So you may finally end up with the following:
Jokerman Regular
:Lucida Calligraphy Italic
: