8

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

\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage{kpfonts}

\begin{document}
test
\end{document}

The error I get is

hb/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
(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:

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

l.47

!  ==> 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?

5
  • It seems that the Kp fonts are not properly installed, since MiKTeX is trying to produce them with Metafont, which of course can't succeed.
    – egreg
    Commented Oct 12, 2011 at 20:03
  • Odd, since I installed it using MiKTeX's own package installer. I'll try reinstalling it when I get home.
    – gablin
    Commented Oct 13, 2011 at 7:40
  • 1
    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. Commented Oct 13, 2011 at 8:37
  • @UlrikeFischer: Sounds like a probable problem and solution. Will try that first before reinstalling the package.
    – gablin
    Commented Oct 13, 2011 at 9:29
  • @UlrikeFischer: That solved it! Could you please post that as an answer so I can accept it?
    – gablin
    Commented Oct 14, 2011 at 15:02

1 Answer 1

11

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.

4
  • 1
    Sorry for bothering you on such an old post. But can you give me a hint how to do that, where can I change the updmap ? Commented Dec 10, 2017 at 13:52
  • @AymaneFihadi updmap is a command that you should run in a command line. Google to find out how to open one in windows. Commented Dec 10, 2017 at 14:28
  • 5
    Thank you very much. I had the same problem and your solution worked. For the coming ignorant like me, It is simple; you open windows cmd then type updmap. Et voilà! Commented Dec 11, 2017 at 1:14
  • 1
    Thank you Aymane, this worked perfectly for me!
    – BqKaXeu29y
    Commented Dec 15, 2018 at 14:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .