hchapman / tikzedt

Automatically exported from code.google.com/p/tikzedt
9 stars 2 forks source link

Each PDF exports contains white pixel in the middle of PDF ! #74

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate empty image, \fill[black] (0,0) rectangle (2,2);
2. In preview and in saved PDF a white pixel becomes visible in most 
PDF-Engines, most important in Acrobat Reader.
3. See attached file New Tikzfile.pdf with Acrobat Reader.

What is the expected output? What do you see instead?
Expected: Black square.
Instead: Black square with overlaying white pixels.

For compilation problems: What is the error pdflatex reports? You find the
latex output in the textbox at the bottom of the TikzEdt main window. (You
can switch between Status/Latex output/Error list.)
-

What operating system and Latex distribution (Miktex/Texlive) are you
using?

Win 7 / Win 8 with MikTex 2.9.5

Please provide any additional information below.

In my opinion, the pixel stems from the <file>.tex.preview.tex where a 
node[...draw=white] is inserted at the (current bounding box) position. 
Unfortunately, the extension inserted into this .tex are not editable - so 
there is no way to get rid of it :(

Original issue reported on code.google.com by theloozi...@gmail.com on 4 Mar 2015 at 9:35

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reporting this, it is clearly a bug.

Internally, some trickery has to be done to get the correct alignment of the 
overlay in the editor with the pdf, that is why some additional code is 
inserted... but the user should not notice this, of course.
(I was not aware that tikz draws that one pixel, I never noticed it to be 
honest.)

Original comment by t.willwa...@gmail.com on 5 Mar 2015 at 8:40