[Tex/LaTex] Font problem in PDF Output since updating LyX

fontslyxmiktexpdf

First time poster, long time reader!

I recently updated LyX from version 2.0.4 to 2.0.6. The LaTeX compiler is MikTeX 2.9, and the default output is pdflatex. Since updating Lyx though, the output of the PDF is not "as nice" as it used to be, and I've been searching Google and StackExchange for a solution but to no avail!

I'll attach two pictures of the same document, one compiled before the update and one compiled after, the difference in font is quite noticeable.

Here are screen shots of the same document at the same position:

Before Update:

enter image description here

After Update:

enter image description here

Before the update it is clear that the fonts were a lot less "blurred".
If you guys need the PDFs I can email them to you for closer inspection. I just can't for the life of me figure out what happened during the update, I made sure the document settings were preserved!

Thanks very much in advance, any assistance would be greatly appreciated.

Best Answer

(Sort of summary of comments:)

The most common reason for getting bitmap fonts in the PDF is that the original Computer Modern font with T1 encoding is bitmapped. It seems that LyX uses this encoding by default, you'll see \usepackage[T1]{fontenc} in the LaTeX source. To fix this I think it should be enough to install cm-super, which is a (enhanced) replacement for the original fonts.

Another option is to use the font called Latin Modern, which is based on Computer Modern, but extended. To use this with LyX, go to Document --> Settings --> Fonts, and choose the Latin Modern fonts for Roman, Sans Serif and Typewriter. You can also set it as document default, to use it in all documents.

The change in line breaks was not caused by a font issue, but by the default paper size somehow changing from A4 to US Letter. This also changes the size of the text area, and hence line breaks.

Why these problems occurred after updating LyX (and MikTeX) I do not know.

Related Question