I have TeX Live installation at ~/texlive/2014.
I installed Lato font package using tlmgr. There are now several .ttf files in ~/texlive/2014/texmf-dist/fonts/truetype/public/lato/
But when I try compiling a file that contains:
\setmainfont[Ligatures=TeX]{Lato}
using xelatex it gives an error:
kpathsea: Running mktextfm Lato
/home/user/texlive/2014/texmf-dist/web2c/mktexnam: Could not map source abbreviation for Lato.
/home/user/texlive/2014/texmf-dist/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Lato
This is METAFONT, Version 2.7182818 (TeX Live 2014) (preloaded base=mf)
kpathsea: Running mktexmf Lato
! I can't find file `Lato'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Lato
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Lato
Transcript written on mfput.log.
grep: Lato.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Lato' failed to make Lato.tfm.
kpathsea: Appending font creation commands to missfont.log.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "Lato" cannot be found.
How do I correct this?
.ttffonts and XeTeX. – Joseph Wright Sep 06 '14 at 15:29