[Tex/LaTex] Struggling to get moderncv files to compile

errorsfontsmoderncv

I'm a real novice on LaTex, having only used it previously a small amount at University but not for a while. I've decided I'd quite like to transfer my CV to the LaTex moderncv style.

I downloaded the package here http://www.ctan.org/pkg/moderncv

I use TexWorks, and I was hoping I'd just be able to open the template file from the moderncv download, compile it and edit the text to produce a nice CV.

Unfortunately, when I try to do this I get the following error:

Running ttf2pk.exe…

miktex-makepk: PK font umvs could not be created.

!pdfTeX error: pdflatex.EXE (file umvs): Font umvs at 864 not found

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

texify: pdflatex failed for some reason (see log file).

So it seems to be a problem with not having a font package installed or something?! Do you know which package this is?

And how do I actually download a font package so that TexWorks knows it's installed and thus compiles the file? I've heard people talk about Miktex package installer, but I don't think I have that available, but I set up all my LaTex stuff quite a while ago, so I'm not sure…

Sorry for my very poor understanding of LaTex, I'd just like to find a way to get this moderncv package working asap. Any help would be much appreciated.

Added MWE:

\documentclass[11pt,a4paper,sans]{moderncv}        

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\moderncvstyle{casual}                           
\moderncvcolor{blue}    
\usepackage[scale=0.75]{geometry}

\name{John}{Doe}
\title{Resumé title}                               
\address{street and number}{postcode city}{country}
\phone[mobile]{+1~(234)~567~890}                   
\email{john@doe.org}                               

\begin{document}
\makecvtitle

\section{Education}

\end{document}

still does not compile and produces the error:

!pdfTeX error: pdflatex.EXE (file umvs): Font umvs at 657 not found

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

texify: pdflatex failed for some reason (see log file).

Best Answer

Your file name database and/or font map is likely broken. This typically happens due to a botched update run. Do

initexmf --mkmaps

initexmf --update-fndb

On MiKTeX, the config tool (now MiKTeX Console, in the "Tasks" menu) has buttons for this, otherwise run the commands on the OS command line.

If you have a multiuser MiKTeX installation (don't, unless you're a university sysadmin or something), you might have to do this in admin mode, which used to be a separate program, and now is another button in the Console program.

Related Question