Font expansion error in LaTeX


I had a LaTeX document that was compiling without errors under both Windows and Ubuntu systems. When a friend tried to compile it on their Ubuntu system using pdflatex, it spewed this strange error:

! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts


The error was strange because it gave no clue how to solve it. It turns out that the LaTeX installation on that particular Ubuntu system did not have scalable fonts. The common solution seems to be to install the cm-super package which has scalable fonts that can be used by LaTeX. On installing this package and recompiling the document, the error went away.

Tried with: Ubuntu 12.04.2 LTS

One thought on “Font expansion error in LaTeX”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s