miktex icon indicating copy to clipboard operation
miktex copied to clipboard

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

Open mhcheops8b opened this issue 3 years ago • 3 comments

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

mhcheops8b avatar Oct 13 '23 07:10 mhcheops8b

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

edocevoli avatar Oct 13 '23 12:10 edocevoli

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

mhcheops8b avatar Oct 13 '23 13:10 mhcheops8b

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!

SpinHalfLight avatar Dec 15 '23 20:12 SpinHalfLight