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:


   BoltFont      =SabonNextLT-Demi.otf,
   ItalicFont    =SabonNextLT-Italic.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?

closed as too localized by Speravir, Mico, user2478, Werner, Mensch Mar 21 '13 at 20:41

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    It looks like you have a typo: Change "Boltfont" to "Boldfont", and things should run smoothly. – Mico Mar 21 '13 at 17:11
  • ah I'm sorry I made that type when reproducing the error. However, fixing this doesnt fix the error. I've contacted the fontspec people and hope they could help – Timtico Mar 21 '13 at 20:46
  • 2
    why is this question closed? It is very relevant since It is a known bug in the fontspec package, something the maintainer of the fontspec package – Timtico Mar 21 '13 at 21:14
  • Have you checked the spelling of the font's filenames? On my system -- as well as on Linotype's online catalogue for the "Sabon Next" font family -- the file names that end in .otf have an extra "Pro" string, as in SabonNextLTPro-Regular.otf and SabonNextLTPro-Italic.otf, and those that end in .ttf contain an extra "Com" string but no "LT" string, as in SabonNextCom-Regular.ttf and SabonNextCom-DemiItalic.ttf. – Mico Mar 21 '13 at 22:08
  • yes, I checked that. Were you able to reproduce the problem? – Timtico Mar 22 '13 at 8:56

Browse other questions tagged or ask your own question.