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:


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


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?

  • 2
    Welcome to TeX.sx! Truetype is not easily accommodated in LaTeX. You could look at tex.stackexchange.com/q/226/19384 for some different solutions. Jan 21 '13 at 13:08
  • 1
    You could use the droidsans package: Droid Sans in The LaTeX Font Cataloque.
    – Silke
    Jan 21 '13 at 13:10
  • I tried using the droidsans package, still I got a similar error: kpathsea: Running mktexpk --mfmode / --bdpi 600 -mag 0+360/600 --dpi 360 DroidSans-03 mktexpk: don't know how to create bitmap font for DroidSans-03. kpathsea: Appending font creation commands to missfont.log. (see the transcript file for additional information) !pdfTeX error: pdflatex (file DroidSans-03): Font DroidSans-03 at 360 not found Jan 21 '13 at 14:02
  • @LorisFichera: have you (re)moved your generated files?
    – Silke
    Jan 21 '13 at 14:12
  • 2
    @LorisFichera: Can you upgrade to TeX Live 2012? See: How do I install the latest TeX Live 2012? It probably contains a properly installed version of the droidsans package.
    – Silke
    Jan 21 '13 at 15:21

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.