LyXPDF Font too light/faint

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
OlofL
Posts: 5
Joined: Thu Jun 16, 2011 6:07 am

PDF Font too light/faint

Post by OlofL »

Hi! I'm a LyX causal user and have searched around but not found an answer to this issue. When I export to pdf the font is very weak, as in faint or light. The headings are ok but the text body is almost too faint to read. The dvi export looks much better. I use 1.6.7 under Windows 7 with default settings as far as I can tell.

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: PDF Font too light/faint

Post by meho_r »

Can you please provide an example PDF file which shows the issue? Also, a .lyx file which produced the example would be useful.
OlofL
Posts: 5
Joined: Thu Jun 16, 2011 6:07 am

PDF Font too light/faint

Post by OlofL »

meho_r wrote:Can you please provide an example PDF file which shows the issue? Also, a .lyx file which produced the example would be useful.
I tried attaching both the lyx and pdf file but they were bigger than the limit. Suggestion? Thanks in advance.
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: PDF Font too light/faint

Post by meho_r »

How big are they? :) Try putting both files in a ZIP archive and try uploading again.
OlofL
Posts: 5
Joined: Thu Jun 16, 2011 6:07 am

Re: PDF Font too light/faint

Post by OlofL »

Here's the LyX-file. The PDF is about 0.5 MB and won't compress down to the permitted 200-something kB. Do you have a mail address I can send it to?
Attachments
LyX.zip
(23.42 KiB) Downloaded 427 times
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

PDF Font too light/faint

Post by meho_r »

Well, what I meant with an example file is just a page or two with some dummy text. This is a larger document with 4 or 5 figures in it, that's why it's larger than 256 KB. However, back to text, is this the same what you get? If this is too light, you might want to try another fonts. E.g., in Document > Settings > Fonts, try setting "Roman" to Palatino or Utopia or Times Roman and see if you like them. All these fonts have math support, so you're equations should stay intact.
Attachments
STW_Scientific_Documentation.pdf
(148.16 KiB) Downloaded 799 times
OlofL
Posts: 5
Joined: Thu Jun 16, 2011 6:07 am

Re: PDF Font too light/faint

Post by OlofL »

Mine is actually even worse. I have printed the first pages of the pdf-file to pdf and attached them. Tell me what you think.
Attachments
STW_Scientific_Documentation_test.pdf
(147.13 KiB) Downloaded 792 times
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

PDF Font too light/faint

Post by meho_r »

Hmmm, bitmapped font is used in your example, not T1 (although \usepackage[T1]{fontenc} is specified in source).

Try this: open Document > Settings > Fonts and do the following:

1. Set LaTeX Font Encoding to Custom, and type T1 in the field on the right.

2. Set Roman to Latin Modern Roman.

Now compile the document, zoom to 400% or even more in resulting PDF file and see if the font is smooth or not.

More infos in User Guide, section 3.7.2.
OlofL
Posts: 5
Joined: Thu Jun 16, 2011 6:07 am

PDF Font too light/faint

Post by OlofL »

meho_r wrote:Hmmm, bitmapped font is used in your example, not T1 (although \usepackage[T1]{fontenc} is specified in source).

Try this: open Document > Settings > Fonts and do the following:

1. Set LaTeX Font Encoding to Custom, and type T1 in the field on the right.

2. Set Roman to Latin Modern Roman.

Now compile the document, zoom to 400% or even more in resulting PDF file and see if the font is smooth or not.

More infos in User Guide, section 3.7.2.
I do not have the Latex Font Encoding setting under Document > Settings > Fonts, but your step 2 did a world of difference :D ! Thanks, I will experiment a bit more with the font settings.
Post Reply