Viewers for PDF, PS, and DVIBlurry text in PDF with TeXworks

Information and discussion about output viewers related to LaTeX (e.g. Adobe Reader, Ghostview, YAP, ...)
Westwing
Posts: 6
Joined: Sat Jan 19, 2019 11:22 am

Blurry text in PDF with TeXworks

Post by Westwing »

My text in PDF with TeXworks on my Acer with Windows 10 suddenly got really blurry (see attachments. The text is zoomed in). However, the PDF file looks ok when viewed in Microsoft Edge. I recently installed LibreOffice 6.1 - could that mess up TeXworks? Any suggestion is very appreciated - I am new here so let me know if more information is needed.
Attachments
blur1.png
blur1.png (101.91 KiB) Viewed 21905 times
blur_test.tex
(160 Bytes) Downloaded 859 times
blur_test.pdf
(27.71 KiB) Downloaded 879 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Blurry text in PDF with TeXworks

Post by Johannes_B »

Welcome to the forum.

Pdf-readers sometimes just have a bad day. Zooming in or out can lead to all kinds of artefacts, including blurred fonts.

Are you always seeing blurred fonts with texworks internal viewer?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Westwing
Posts: 6
Joined: Sat Jan 19, 2019 11:22 am

Blurry text in PDF with TeXworks

Post by Westwing »

Hi and thanks for responding. Yes, I just zoomed in in the hope that it was seen better after I detected it. With a whole page of text it is really annoying. I can create it if it is useful.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Blurry text in PDF with TeXworks

Post by Stefan Kottwitz »

Welcome to the forum!

As you guessed, LibreOffice might be a possible reason since it installs and configures fonts. Looks like a font issue, for example wenn a scalable (Type 1) font cannot be displayed, so instead of that vector font a bitmap font is used, that can look pixelated and blurry.

Perhaps try another font (\usepackage{lmodern} or \usepackage{kpfonts}) just to see if it's related to the font or generally to the displaying of the PDF viewer.

Stefan
LaTeX.org admin
Westwing
Posts: 6
Joined: Sat Jan 19, 2019 11:22 am

Blurry text in PDF with TeXworks

Post by Westwing »

Thanks Stefan! It is probably not easily seen, but if you zoom in on my original attached picture (or the .tex file) you will see the packages I used, which includes lmodern. I tried the other package you suggested, kpfonts, but installment failed.I have attached the log file - I am out of my depth in understanding its content.
If lmodern should have worked, it seems like uninstalling LibreOffice is the remaining option. Is the uninstall likely to reset the fonts appropriately?

Cheers!
Attachments
miktex-makepk.log
(6.39 KiB) Downloaded 820 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Blurry text in PDF with TeXworks

Post by Stefan Kottwitz »

How is it without lmodern?

That's Latin Modern and may come with LibreOffice too, so possibly affected. The default is Computer Modern (very similar). Can you try without lmodern?

Stefan
LaTeX.org admin
Westwing
Posts: 6
Joined: Sat Jan 19, 2019 11:22 am

Blurry text in PDF with TeXworks

Post by Westwing »

Worth a try, but no - still blurry. So this was with \usepackage[T1]{fontenc} as the only package included. I tried commenting that out as well - still blurry.

I tried kpfonts with and without lmodern (in case they collided), but the "compilation" failed in both cases (with T1 included).
Westwing
Posts: 6
Joined: Sat Jan 19, 2019 11:22 am

Blurry text in PDF with TeXworks

Post by Westwing »

I attach a picture of the pdf with no \include at all. No zooming.
Attachments
blur2.png
blur2.png (23.8 KiB) Viewed 21879 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Blurry text in PDF with TeXworks

Post by Stefan Kottwitz »

Not sure if uninstalling LibreOffice could help. My first try would be to re-install TeXworks.

Stefan
LaTeX.org admin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Blurry text in PDF with TeXworks

Post by Stefan Kottwitz »

And btw. ensure that MiKTeX has the cm-super package installed, or install it.

Stefan
LaTeX.org admin
Post Reply