# Font display error in windows

I encountered the following while trying to process my PDF document from LaTeX, MiKTeX 2.9

``````Trying to make PK font mathkerncmssi8 at 600DPI...

Running miktex-makemf.exe...

miktex-makemf: The mathkerncmssi source file could not be found. Running tt2pk.exe...

make-makepk: PK font mathkerncmssi8 could not be created.
``````

Process exited with errors

This may be due to MiKTeX not having the `map` file activated.

Try adding the following to your document's preamble and see if it generates:

``````\usepackage{sansmathaccent}
\pdfmapfile{+sansmathaccent.map}
``````

If it works, then you should update MiKTeX's font maps.

This worked for me when I had a similar error.

Simply navigate to your miktex bin directory and execute the commands below:

• e.g. c:\Program Files\MiKTeX 2.9\miktex\bin\
• `initexmf --mkmaps`
• `initexmf --update-fndb`
• The second command is properly `initexmf --update-fndb` Other than that, this is a perfect answer to this problem. – SteelAngel Jan 23 '15 at 3:04
• I required adding --admin to the commands, after initexmf – user5155835 Apr 7 '18 at 13:56