I'm trying to set a heading in DejaVu Serif Condensed Bold. Simplified, here's the code:
\documentclass[12pt]{article}
\usepackage{fontspec}
\setmainfont{DejaVu Serif Condensed}
\begin{document}
\thispagestyle{plain}
\bfseries\huge Curriculum Vitæ
\end{document}
On processing with XeLaTeX, I get this:
while with LuaLaTeX, this:
which is the regular series. This is backed up by the log. XeLaTeX shows no warnings, but LuaLaTeX gives this:
LaTeX Font Warning: Font shape
EU2/DejaVuSerifCondensed(0)/bx/n' undefined using
EU2/DejaVuSerifCondensed(0)/m/n' instead on input li
What's going on here?
For reference, TeXLive 2012 updated to final version, Windows 7
It occurred to me that I might have different fonts in the Windows system font folder and in the texmf-dist tree. Not so - the two folders have identical copies of the fonts.
luaotfload
couldn’t find the bold font whenfontspec
asked for it. I can reproduce it with TeX Live 2013 as well, so it is aluaotfload
bug and should be reported.\setmainfont[BoldFont=DejaVu Serif Condensed Bold]{DejaVu Serif Condensed}
luaotfload-tool --find="DejaVu Serif Condensed"
correctly resolves toDejaVuSerifCondensed.ttf
(in TLtexmf
tree). Consequently, the example code produces the same result with Luatex as with Xetex.