LyXLyx and pdf quality issue

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
rpatel2
Posts: 3
Joined: Thu Jan 14, 2010 11:03 pm

Lyx and pdf quality issue

Post by rpatel2 »

Hi

I recently started using latex for typing up documents. I am quite new to the using latex and hence the easiest editor i found to use was lyx.

However i am having some problems on pdf quality issues with lyx. Once i do my typing and export as a PDF, if you enlarge the pdf the writing is slightly staggered and as good quality as the mathematics.

I was wondering if there was any way to fix this. I have exported the pdf using other methods on lyx but the same issue arises again.

thanks
:)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Lyx and pdf quality issue

Post by meho_r »

1. Can you provide a .pdf file as an example in which this quality issue is noticable? Source file would be nice too.

2. Which pdf viewer are you using? Does this occur in printed material?
rpatel2
Posts: 3
Joined: Thu Jan 14, 2010 11:03 pm

Re: Lyx and pdf quality issue

Post by rpatel2 »

I have uploaded a file. If you look at the maths and normal writting you can see the quality is different.
Attachments
newfile1.pdf
(14.26 KiB) Downloaded 609 times
Capture.GIF
Capture.GIF (10.89 KiB) Viewed 17424 times
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Lyx and pdf quality issue

Post by phi »

Make sure that LyX uses the following packages:

Code: Select all

\usepackage{lmodern}
\usepackage[T1]{fontenc}
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Lyx and pdf quality issue

Post by meho_r »

But still, it is strange that LyX didn't use T1 encoding automatically. On my machine it does, even if I leave everything on default settings.

However, phi's advice should work. If you still have problems, please, provide .lyx file producing that example of yours (you may have to put it in a .zip archive first and then attach).
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Lyx and pdf quality issue

Post by phi »

meho_r wrote:But still, it is strange that LyX didn't use T1 encoding automatically. On my machine it does, even if I leave everything on default settings.
That the PDF contains raster fonts indicates that LyX does use the T1 encoding, but that no vectorized version of Computer Modern in the T1 encoding (that is, CM-Super) is available, and that Latin Modern (or some other T1-encoded vector font) is not loaded.
rpatel2
Posts: 3
Joined: Thu Jan 14, 2010 11:03 pm

Re: Lyx and pdf quality issue

Post by rpatel2 »

here is the attached .lyx file in a winzip archive.

Can someone please provide me instructions on what i need to do. As i don't know exactly what to do.

I am running a windows 7 PC. My lyx version is 1.6.5

thanks
Attachments
lyx file.zip
(829 Bytes) Downloaded 448 times
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Lyx and pdf quality issue

Post by meho_r »

First, try Latin Modern font, as phi suggested. You may set it in LyX: Document > Settings > Fonts > Roman > Latin Modern Roman (you may try another fonts present too and see if they work).

Or, alternatively, put the code provided by phi in the Preamble (Document > Settings > LaTeX Preamble).

Second, can you say are you using MiKTeX or TeXLive on your system? If you're using MiKTeX, it should be very easy (from what I heard): just run MiKTeX Package Manager (Start > Programs > MiKTeX > Browse Packages; this may look slightly different on W7), search for a package/font and install it. You should consult your TeX installation documentation.
tienonline
Posts: 1
Joined: Sat Feb 19, 2011 10:24 am

Re: Lyx and pdf quality issue

Post by tienonline »

I got the same problems with the pdf quality with lyx, but solution which was suggested by PHI worked quite well. Thanks.
CSMR
Posts: 44
Joined: Fri Oct 10, 2008 10:44 pm

Lyx and pdf quality issue

Post by CSMR »

tienonline wrote:I got the same problems with the pdf quality with lyx, but solution which was suggested by PHI worked quite well. Thanks.
I just checked with the beta of 2.0, and incredibly it's still defaults to bitmapped fonts. Of course, it's not a problem if you've found the error and have fixed it in the past. But new users are going to be expecting modern high quality typesetting and getting output similar in quality to a dot matrix printer from the default settings.

I'm going to leave a bug report with them, I hope this can be fixed in the final release. No excuse for using bitmapped fonts after beyond late 1980s.

Edit: bug report here: http://www.lyx.org/trac/ticket/7334
Post Reply