[tex-live] Font features linked with fontspec-preparse-externalapparently broken in fontspec
Akira Kakuto
kakuto at fuk.kindai.ac.jp
Wed Oct 15 11:18:45 CEST 2014
Dear Bruno,
> It works if one use a symbolic name like \rmfamily:
The manual seems to say that another correct usage is:
\documentclass[12pt]{article}
\usepackage[dvipsnames]{xcolor}
\usepackage{fontspec}
\setlength{\parindent}{0pt}
\begin{document}
\defaultfontfeatures[myfont]
{
Extension=.otf,
Color=Blue,
UprightFont=texgyreadventor-regular,
BoldFont=texgyreadventor-bold,
ItalicFont=texgyreadventor-italic,
BoldItalicFont=texgyreadventor-bolditalic
}
\setmainfont{myfont}
Roman text.\par
\textbf{Bold text}\par
\textit{Italic text.}\par
\textbf{\textit{Bold italic text.}}
\end{document}
Best,
Akira
More information about the tex-live
mailing list