[Tex/LaTex] How to write equations in beamer

amsmathequationserrorsmath-modepdftex

I'm having errors when I try to write an equation with beamer package. The rest of the document works fine, so I'm only posting the relevant part :

\documentclass{beamer}
\usetheme{Dresden}
\usepackage{amssymb} 
\usepackage{amsmath}

\begin{document}

\begin{frame}
\begin{equation}
    f(x) = y
\end{equation}
\end{frame}

\end{document}

When I compile this, I get the following error :

Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "myFile".tex    
Trying to make PK font mathkerncmssi10 at 657 DPI...    
Running miktex-makemf.exe...    
miktex-makemf: The mathkerncmssi source file could not be found. Running ttf2pk.exe...    
miktex-makepk    
: PK font mathkerncmssi10 could not be created.    
Process exited with error(s)

How can I fix this?

Thanks

P.S. I'm using MiKTeX and TeXstudio on 64-bit Windows 7. I'm sure the ams* packages are installed correctly, they are working for other document types. So maybe I'm missing some additional packages for beamer?

Best Answer

It may happen that some vector fonts, albeit regularly installed via MiKTeX Package Manager, are not mentioned in the databases of type 1 fonts (dvips.map and the like) so that MiKTeX tries to make bitmaps fonts.

To circumvent this problem, you should try running updmap.exe from the command line, both as administrator and as user.