4

I'm trying to use the DroidSans font in a deck of slides I'm making with Beamer. I got the truetype file for this font, that is DroidSans-webfont.ttf, hence I executed, in my working directory:

$ autoinst DroidSans-webfont.ttf

This generated three files, specifically:

DroidSans.map
DroidSans.sty
LY1DroidSans-TLF.fd

Then, I included the following command in my .tex source file

\usepackage{DroidSans}

and compiled the source with pdflatex. Compilation fails, reporting this error:

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+300/600 --dpi 300 DroidSans-tlf-ly1--base
mktexpk: don't know how to create bitmap font for DroidSans-tlf-ly1--base.
kpathsea: Appending font creation commands to missfont.log.

!pdfTeX error: pdflatex (file DroidSans-tlf-ly1--base): Font DroidSans-tlf-ly1--base at 300 not found
==> Fatal error occurred, no output PDF file produced!

What's going on here? Am I missing something?

1 Answers1

8

You need to activate the map-file, either globally with updmap-sys (or updmap) or by using \pdfmapfile{=DroidSans.map} in your document.

Ulrike Fischer
  • 327,261