Open secbyd opened 12 years ago
I see the same behavior!
I have added another pdf renderer to pdf4eclipse in version 1.1.0. You can switch the renderer in the preferences, the new one is JPedal's renderer. Can you please try whether this resolves your problem and report your results.
Hi,
Sadly it has not resulted in a better rendering. I set PDF4Eclipse to JPedal only. inline PDFs are still rendered incorrectly and it also cause links area to all over the place as seen in the attached.
Well, I have hoped that the JPedal renderer fixes these kind of bugs. If it is possible for you, can you please send me an example, or upload one to a file hoster file where these bugs occur? This would make it easier for me to investigate this issue.
http://imageshack.us/photo/my-images/534/badlyrendered.png/ http://imageshack.us/photo/my-images/560/properlyrendered.png/
I have pixelated the image on purpose but it gives you a good idea on what is happening.
regards
We can't solve problems by using the same kind of thinking we used when we created them - A. Einstein
On Tue, Apr 10, 2012 at 10:08 AM, Boris von Loesch < reply@reply.github.com
wrote:
Well, I have hoped that the JPedal renderer fixes these kind of bugs. If it is possible for you, can you please send me an example, or upload one to a file hoster file where these bugs occur? This would make it easier for me to investigate this issue.
Reply to this email directly or view it on GitHub: https://github.com/Borisvl/Pdf4Eclipse/issues/17#issuecomment-5040935
@elmoke: For debugging purposes I need a pdf file, in my simple examples with included pdf files, the bug has not occured.
OK let me see what I can do... I will do some further testing as well and see if it's with any PDF or with specific ones. My examples are either Powerpoint slides or Visio graphs converted by Office to PDF which may be related as well.
We can't solve problems by using the same kind of thinking we used when we created them - A. Einstein
On Wed, Apr 11, 2012 at 9:48 AM, Boris von Loesch < reply@reply.github.com
wrote:
@elmoke: For debugging purposes I need a pdf file, in my simple examples with included pdf files, the bug has not occured.
Reply to this email directly or view it on GitHub: https://github.com/Borisvl/Pdf4Eclipse/issues/17#issuecomment-5063811
Hi,
I've the same problem. Currently running with PDF4Eclipse Version 1.0.1, can't update atm (see #19). I've uploaded the errornous project so you can see whats going on. In my case the problem seems to be with some gradient, which brings the pdf viewer to struggle. Can't test if it will be fixed with JPedal.
http://www.filefactory.com/file/6xd1mw0lqgnx (be fast the file will be dropped in 7 days if inactive, just tell me if you didn't get it)
@philnate: Thanks, I have downloaded your example. As you have already observed the problem is related to gradient patterns. I made a lot of changes regarding gradients in SUN's pdfrenderer and with this version the image and the text is rendered, but the gradient in the image is missing. I will look further into this issue.
Boris sorry for not uploading examples yet. I will do this tomorrow.
Daan
Op 19 apr. 2012 om 14:48 heeft Boris von Loesch reply@reply.github.com het volgende geschreven:
@philnate: Thanks, I have downloaded your example. As you have already observed the problem is related to gradient patterns. I made a lot of changes regarding gradients in SUN's pdfrenderer and with this version the image and the text is rendered, but the gradient in the image is missing. I will look further into this issue.
Reply to this email directly or view it on GitHub: https://github.com/Borisvl/Pdf4Eclipse/issues/17#issuecomment-5220679
I've just updated to the latest Version 1.1.0 and I get this display glitch for another PDF in both Viewers. Here's the link to the pdf: http://www.filefactory.com/file/3jzb6t2mwc1t/n/Proxying_pdf (again grab it as long as it's hot) . Sadly I haven't the time to build a full project for you, but replacing the previously errorness.pdf with this one should reproduce it. This PDF shouldn't contain any gradients, causing the Problem, have no clue whats the problem with this one.
@philnate I have tried your pdf and with sun's renderer the only problem is that the right box is black instead of gray. Is this the problem you mean? With JPedal's renderer the box is missing.
The problem I've is the same as stated in the initial comment to this issue. All text below image is smaller than it should and hyperlink positions are screwed.
@philnate: I see the problem with JPedal's renderer if I include your pdf inside another document. When using SUN's renderer I did not observe this problem. However, the right gray box in the picture is missing in both cases. The specialty of your second pdf is the use of transparency, which is also not fully supported by both, SUN's and JPedal's, renderer. I think this is the reason for the glitch(es).
I also have been experiencing this problem in situations where I want to include part of another PDF page using the viewport command in LaTeX with \includegraphics* - the parts of the PDF outside the viewport that should be trimmed (and are correctly trimmed in Acrobat) are overlaid on the surrounding text, and other strange things happen as pointed out by other posters. Please could you let me know if you identify a resolution.
Hi, I have the same issue. Has the problem been solved? Seems there is no later version than 1.1.0
I observe this problem in both renderers.
I have this problem using both renderers as well. Note that it only affects the page that includes the other PDF. The following page(s) look fine.
My Issue is a little bit different then the others. The pdf graphic is shown correctly in my generated pdf with pdfLatex. A problem pops up while I add a new png graphic into my document. pdf4eclipse fails at a before correct shown pdf graphic. acrobat reader shows the generated pdf completely and correct. Does anyone have an idea on that?
Same issue here. Especially with SVG included as PDF with the help of Inkscape. The one thing i noticed but is not mentioned here yet: Before using the package hyperref everything is fine. After including hyperref the SUN renderer breaks at a specific image, not showing it and the rest text of that page is way smaller than before. The document is clipped after that page. So this isn't usable at all. Using the JPedal Renderer pretty much all images are broken and text size jumps occur, but the full file is still viewable. So this is 'half'-usable in my opinion.
Okular on Linux has no problem rendering the file, neither does Acrobat on Windows. Is the renderer for Okular open source or available as library? Maybe a third renderer can cope with this. ;)
Edit: After short investigation, it seems like Okular and evince are based on Poppler (http://poppler.freedesktop.org/)
I like the Backwards-Search and Forward-Search features from pdf4eclise very much and up to now i can work around these problems only by not using hyperref and including it then for the final version of my thesis.
eclipse neon.2 4.6.2 pdf4eclipse 1.1.0 texclipse 1.5.0
$ pdflatex --version pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013) kpathsea version 6.1.1 Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.5.13; using libpng 1.5.13 Compiled with zlib 1.2.7; using zlib 1.2.7 Compiled with poppler version 0.26.5
$ python --version Python 2.7.5
$ pip show matplotlib Name: matplotlib Version: 1.2.0 Summary: Python plotting package Home-page: http://matplotlib.org Author: John D. Hunter, Michael Droettboom Author-email: mdroe@stsci.edu License: UNKNOWN Location: /usr/lib64/python2.7/site-packages Requires:
$ inkscape --version Inkscape 0.48.4 r9939 (Nov 20 2015)
Hi there... Not sure if anyone else has this issue but I use Eclipse to write Latex documents using texlipse. I have noticed that if I add a PDF as an image to my tex source the PDF4Eclipse viewer does not display the PDF image very well plus any text below the image in a very small almost unreadable font size. On the following page the problem is no longer there unless another PDF as image is used. When opening the same generated PDF in Adobe or other PDF viewer the problem does not exist. Any help would be very much appreciated.
Latex code used:
Text showing as normal text \begin{figure}[H] \caption{mycaption\label{mylabel}} \centering \includegraphics[width=0.7\textwidth]{mypdfimage.pdf} \end{figure} Text showing in tiny letters
regards
Elmoke