[Tex/LaTex] beamer, lmodern and \scshape give “Font shape not available” warning


Using lmodern package and \scshape in beamer:


\frame{\scshape Normal size text}


LaTeX Font Warning: Font shape `OT1/lmss/m/sc' in size <10.95> not available
(Font)              Font shape `OT1/lmr/m/sc' tried instead on input line 5.

What is the recommended way to deal with this warning? Silencing it would be ok.

Best Answer

I managed to filter the warnings, with either

\WarningFilter{latexfont}{Font shape}

or, if silence package have to be loaded in safe mode: