[Tex/LaTex] can’t get lato fonts to work in texlive 2011

errorsfonts

This is my first post – so I hope you can help me; and I haven't missed anything obvious. I am interested in using Lato fonts an am using texlive 2011 on Windows 7.

My minimal example is:

\documentclass{article}

\usepackage[default]{lato}
\usepackage[T1]{fontenc}

\begin{document}
some text
\end{document}

However, pdf fails to compile with the following error message. I have failed to find the underlying problem (I don't have problems with any other fonts) and thought I'd ask the experts!

Compile messages:

! I can't find file `Labegin.mf'.
<scantokens> input Labegin.mf

<to be read again> 
                   ;
l.185 ...onteq-2,fonteq) of jobname & "begin.mf");

Please type another input file name
! Emergency stop.
<scantokens> input Labegin.mf

<to be read again> 
                   ;
l.185 ...onteq-2,fonteq) of jobname & "begin.mf");

Transcript written on Lato-Reg-01.log.

kpathsea: Running mktexmf Labegin.mf

The command name is C:\texlive\2011\bin\win32\mktexmf
mf-nowin.exe --progname=mf --base=mf \mode:=ljfour; \mag:=1+0/600; nonstopmode; input Lato-Reg-01;
Failed to make gf font by METAFONT.
 )
!pdfTeX error: pdflatex.exe (file Lato-Reg-01): Font Lato-Reg-01 at 600 not fou
nd
 ==> Fatal error occurred, no output PDF file produced!

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 Lato-Reg-01

The command name is C:\texlive\2011\bin\win32\mktexpk
kpathsea: Appending font creation commands to missfont.log.

Best Answer

It seems your mapfile pdftex.map is somehow not up to date. Maybe you are using a private version?

kpsewhich pdftex.map

should give something like

/usr/local/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map

Just in case, you could try to add

\pdfmapfile{+lato.map}

to your preamble.