What causes this warning, and how to get rid of it?

I believe that I have installed some packages that make this warning, but I couldn't figure out how to undo this damage.

P.S. I am using MikTeX 2.9 on Win 10.

OpenType feature 'Ligatures=RequiredOff' (rlig) not(fontspec) available for font 'LatinModernRoman' with script(fontspec) 'CustomDefault' and language 'Default'.


\setmathfont[math-style=ISO]{Cambria Math}
]{Latin Modern Roman}



1 Answer 1


Latin Modern Roman has only two font features for ligatures:

otfinfo -f lmroman12-regular.otf | grep lig

has the output:

dlig    Discretionary Ligatures
liga    Standard Ligatures

If you do not want a warning then use:

\setmainfont[ Ligatures={NoCommon, % liga
                         NoRare,% dlig
}]{Latin Modern Roman}
  • Many thanks. May I know from where can I get the info you gave here?
    – Diaa
    Commented Oct 7, 2019 at 18:38
  • 1
    The programm otfinfo comes with every TeX-Distribution. The features are explained in the documentation of fontspec
    – user187802
    Commented Oct 7, 2019 at 18:49
  • I ran this otfinfo -f lmroman12-regular.otf | grep lig in the command prompt and got this'otfinfo' is not recognized as an internal or external command. Am I doing it right? Additionally, I would be grateful if you explained how can I know that Latin Modern Roman maps to lmroman12-regular.otf?
    – Diaa
    Commented Oct 7, 2019 at 21:31
  • Which TeX distribution? Which operating system?
    – user187802
    Commented Oct 8, 2019 at 5:19
  • Miktex 2.9 on Win10
    – Diaa
    Commented Oct 8, 2019 at 23:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .