LaTeX forum ⇒ Viewers for PDF, PS, and DVIBlurry text in PDF with TeXworks Topic is solved

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

Postby Westwing » Sat Jan 19, 2019 12:05 pm

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 712 times
blur_test.tex
(160 Bytes) Downloaded 17 times
blur_test.pdf
(27.71 KiB) Downloaded 18 times

User avatar
Johannes_B
Site Moderator
Posts: 4029
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jan 19, 2019 12:30 pm

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

Postby Westwing » Sat Jan 19, 2019 12:35 pm

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: 9388
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Jan 19, 2019 5:40 pm

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
Site admin

Westwing
Posts: 6
Joined: Sat Jan 19, 2019 11:22 am

Postby Westwing » Sat Jan 19, 2019 7:21 pm

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 22 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9388
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Jan 19, 2019 7:40 pm

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
Site admin

Westwing
Posts: 6
Joined: Sat Jan 19, 2019 11:22 am

Postby Westwing » Sat Jan 19, 2019 7:49 pm

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

Postby Westwing » Sat Jan 19, 2019 7:56 pm

I attach a picture of the pdf with no \include at all. No zooming.
Attachments
blur2.png
blur2.png (23.8 KiB) Viewed 686 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9388
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Jan 19, 2019 7:58 pm

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

Stefan
Site admin

User avatar
Stefan Kottwitz
Site Admin
Posts: 9388
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Jan 19, 2019 7:59 pm

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

Stefan
Site admin


Return to “Viewers for PDF, PS, and DVI”

Who is online

Users browsing this forum: No registered users and 0 guests