Fix for small math symbols in images created using Xfig (LaTeX)

I use Xfig for making diagrams in my LaTeX documents. It is very useful, particularly if you want to use math symbols in the diagrams. It has the feature of supporting LaTeX commands. Inkscape also has a similar capability, but somehow I find that diagrams with Xfig look neater. Moreover, in Inkscape, the math symbols are added as images and not text, unlike Xfig. Xfig also has a user manual that can be found here.

While tinkering with a few diagrams, I found that the fontsize of the math symbols in some pictures was drastically reduced in the finished document (See the images below). It took me a while to figure out that pdflatex did not support certain fonts and was being replaced by some default fontsize. I noticed that I was getting warnings (pointing to the pdf_t file) similar to the one below when I compiled the tex file

Font shape `OT1/cmr/m/n' in size <36> not available(Font) size <24.88> substituted on input line xx

The solution to the above problem is very simple actually. Just include the command \usepackage{lmodern} in the preamble or \Requirepackage{fix-cm} before \documentclass to fix it!

Diagram before the fix

Diagram after using \Requirepackage{fix-cm}