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

beamerfontslatin-modernwarnings

Using lmodern package and \scshape in beamer:

\documentclass{beamer}
\usepackage{lmodern}

\begin{document}
\frame{\scshape Normal size text}
\end{document}

gives:

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

\usepackage{silence}
\WarningFilter{latexfont}{Font shape}

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

\usepackage[safe]{silence}
\WarningFilter*{latexfont}{Font}