[Tex/LaTex] Getting strange error with MiKTeX when trying to use “kpfonts” package


I'm getting the following error when trying to compile the following very minimal example with MiKTeX:




The error I get is

(D:\dump\tex\tmp\test.aux) )Trying to make PK font jkpmn8r at 600 DPI...
Running miktex-makemf.exe...
miktex-makemf: The jkpmn8r source file could not be found.
Running ttf2pk.exe...
miktex-makepk: PK font jkpmn8r could not be created.

!pdfTeX error: pdflatex (file jkpmn8r): Font jkpmn8r at 600 not found
 ==> Fatal error occurred, no output PDF file produced!

It compiles perfectly on my Ubuntu machine with TeX Live 2011, but not on my Windows machine with MiKTeX 2.9 (just updated all packages as well).

I detected this when trying to compile my thesis on my Windows machine, which produced the following error:

! pdfTeX error (font expansion): auto expansion is only possible with scalable
\@EveryShipout@Output ...@Org@Shipout \box \@cclv


!  ==> Fatal error occurred, no output PDF file produced!

It appears it has something to do with the kpfonts package since the minimal example compiles when I comment it out, but why does it work on my Ubuntu machine then?

Best Answer

It looks as if your pdftex.map is in the user profile. This means that you will have to run updmap as user (not updmap --admin) to update it.