I installed a font (OpenSans) this morning for TeX Live through tllocalmgr and noticed that it doesn't update the updmap.cfg file with the proper "Map" command. This caused an error when compiling my TeX document:
LaTeX Font Warning: Some font shapes were not available, defaults substituted. ) kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 2+293/600 --dpi 1493 OpenSans-Regular-01 mktexpk: don't know how to create bitmap font for OpenSans-Regular-01. mktexpk: perhaps OpenSans-Regular-01 is missing from the map file. kpathsea: Appending font creation commands to missfont.log. (see the transcript file for additional information) !pdfTeX error: pdflatex (file OpenSans-Regular-01): Font OpenSans-Regular-01 at
I needed the following line to /usr/share/texmf/web2c/updmap.cfg and rerun updmap or updmap-sys.
Hope this helps anyone else installing fonts on Arch Linux.
Note that I do not use Arch's version of TeX Live.
It is generally considered better to use updmap-sys than updmap. The latter can lead to weird, difficult to identify errors later. At least on a standard install, using updmap-sys is recommended unless you do not have that option (because you do not have permission to write to the system TeX trees, for example).
Also, is that really the correct tree to add the information to?
Last edited by cfr (2012-10-14 00:03:15)