Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flawed pdf rendering of images in 0.6.8 version of miktex-texworks editor #1389

Closed
mhcheops8b opened this issue Oct 13, 2023 · 3 comments
Closed

Comments

@mhcheops8b
Copy link

PDF rendering of images is flawed after upgrading from 0.6.7 to 0.6.8 version of miktex-texworks package. Somehow it seems that outlines/"shadows" are turned on.

I am attaching the renderings of the same document in 0.6.7 and 0.6.8 version.

Best regards,
Marek Hycko
miktex-texworks-0 6 7-pdf-rendering
miktex-texworks-0 6 7-version-info
miktex-texworks-0 6 8-pdf-rendering
miktex-texworks-0 6 8-version-info

@edocevoli
Copy link
Member

Unfortunately, I could not reproduce your issue, i.e. it's impossible to provide a fix.

@mhcheops8b
Copy link
Author

It is manifested in diagrams with lines, ovals, arrows etc. I am sending the picture on which it should be visible. Please try it directly open in texworks and zoom it, lines in it are not solid, but "dashed" - contain white dots. Vertices in graph are supposed to be black circles, but in texworks contain also some white outline. (If you compare rendering in Acrobat Reader or pdf readers in browsers.)

Best regards,
MH
PS: I have tried clean installation 23.10 basic, deleted also Miktex directories in AppData (Local, Roamining). And rendering with 0.6.8 was still flawed.

U6_2n_1-eps-converted-to.pdf

@SpinHalfLight
Copy link

SpinHalfLight commented Dec 15, 2023

I am having a similar problem, as apparently are others. See for example PDF Quality Issue in TeXworks Preview on the stack exchange. In my case, the problem appears on diagonal lines rendered via tikz in TexWorks' pdf viewer. As mhcheops8b mentioned, the bug appears to have been introduced in a recent version of TexWorks. Also, the error does not show in any other pdf viewer I have tried. A simple code will show it, e.g.

\documentclass[11pt]{article}
\usepackage{tikz}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}
\draw[->, blue, solid, ultra thick] (0,0)--(2.5,4.33);
\draw[->, red, solid, ultra thick] (2.5,4.33)--(5,0);
\draw[->, black, solid, ultra thick] (0,0)--(5,0);
\end{tikzpicture}
\caption{Diagonal Line Rendering Issue}
\end{figure}
\end{document}

TexWorks Rendering

The red and blue diagonal lines show the problem. In more complex diagrams, the issue can make corrections difficult, because the graphics are difficult to see.

Thank you for your help!!

P.S. I am using the latest version for MikTex and TexWorks, with all package updates installed prior to posting the above message:

About MikTex

P.P.S. Following advice in the stack exchange link above, I am using a second pdf viewer that auto-updates on compiling the tex file as a work-around (SumatraPDF). Thanks again for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants