[Fedora TeX Live] pdflatex uses bitmap Computer Modern; should use scalable

Ben Liblit liblit at acm.org
Fri Mar 11 05:48:49 CET 2011


pdflatex is embedding bitmap versions of Computer Modern fonts when there are perfectly good scalable fonts available.  I have figured out *part* of why this is happening, but my understanding of TeX font management is limited so I don't know how to really fix this.

I am using the TeXLive 2010 repository on a Fedora 14 machine.  I have the texlive-collection-{latex,fonts}{recommended,extra} packages installed along with all of their dependencies.  I use "pdflatex" to render any simple document that uses Computer Modern, such as:

   \documentclass{article}
   \begin{document}
   Foo!
   \end{document}

The "pdflatex" output mentions "</usr/share/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk>", revealing that it is embedding a 600 DPI bitmap version of Computer Modern.  :-(

Using an installation of TeXLive on a completely different (non-Fedora) machine, I instead see "</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>" in the output.  That shows that this installation embedded a proper scalable version of Computer Modern.  That's what I'd like to see from my Fedora TeXLive installation.

Curiously, my Fedora machine does have "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb" available from the texlive-amsfonts package.  But it's not being used. Why not?

Comparing the other (non-Fedora) machine with my Fedora box, I see that pdflatex reads "/usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map" on both machines.  The non-Fedora copy of that file includes the line "cmr10 CMR10 <cmr10.pfb", while no such line exists in the Fedora version.  If I manually add that line on my Fedora box, then pdflatex finds and uses the scalable font correctly.

No rpm claims ownership ("rpm -qf ...") of "/usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map".  So I'm not sure what creates this and how.  But it seems there are some important lines missing that make the difference between using high-quality scalable fonts and low-quality bitmaps.  The problem doesn't just affect cmr10: many other Computer Modern style variations exhibit the same problem, and I count 10,709 lines in that "pdftex.map" file on the non-Fedora machine but just 8,526 lines in the Fedora version.  It seems this file is missing quite a lot of important information.

That's what I've learned so far.  Can anyone else shed additional light on this?  What creates "/usr/share/texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map" in the first place, and why is it missing "cmr10 CMR10 <cmr10.pfb" along with other important mappings?  How do we fix this?

-- Ben


More information about the TeXLive mailing list