A long time ago i posted about an error I occur when trying to set the mainfont using xelatex and the fontspec package, specifically the bold/italic/bolditalic fonts.
My previous post from 2011 is posted here: old post
Basically it's impossible for me to set the boldfont and bolditalic fonts in this way:
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\setmainlanguage{english}
\setmainfont[Path=C:/fonts/SabonNext/,
BoldItalicFont=SabonNextLT-DemiItalic.otf,
BoltFont =SabonNextLT-Demi.otf,
ItalicFont =SabonNextLT-Italic.otf]
{SabonNextLT-Regular.otf}
The problem is that the main font (SabonNextLT-Regular.otf) is recognized, however the bold/bolditalic/italic variants I try to define are not recognized. It gives me three errors of the time: the key 'fontspec'/BoltFont' is unknown and is being ignored
I'm almost certain that this is a bug in the fontspec package, but could someone be so kind and try to reproduce the error with your font of choice, so I know I'm right?
.otfhave an extra "Pro" string, as inSabonNextLTPro-Regular.otfandSabonNextLTPro-Italic.otf, and those that end in.ttfcontain an extra "Com" string but no "LT" string, as inSabonNextCom-Regular.ttfandSabonNextCom-DemiItalic.ttf. – Mico Mar 21 '13 at 22:08