tags:

views:

341

answers:

2

I noticed some strange effects when including existing pdf graphics in my laTeX documents:

Most file work flawlessly, but some PDFs that were created on a different machine (or from the web) cause the whole page on which they are embedded to become ever-so-slightly distorted. I only notice the difference in a side-by-side comparison, but once you see it, it's obvious. The text layout seems slightly broken, and when you zoom in you can see it better.

I will try to make some screenshots to further elaborate, but in the meantime:

Has anyone seen this before and how can I get rid of these distortions?

A: 

I've never seen the content of a PDF affect the layout of the text outside the PDF. If you are using pdflatex I suggest you try regular latex and convert the external PDFs to EPS files using pdf2ps and ps2epsi (at least on a Unix machine these commands ship as part of Ghostscript).

If you are not using pdflatex, what are you using to display the results that shows the distortion?

Norman Ramsey
I assume he's talking about the typesetting instead of the layout (see comment about zooming in). If you compare otherwise identical vector and raster PDF's on your screen, the rasterized file may be subject to different anti-aliasing than the vector file. The issue is not visible in the printed PDFs, and is viewer / platform dependent.
Timo
Yeah, it looks to me like a different anti-aliasing. If it only shows up in the viewer, not in the printout, then I will try to live with it :)
brandstaetter
+1  A: 

I had one case where a similar effect showed up, but it disappeared when printing.

Almost certainly, Mica is right, and this is a PDF viewer problem.

A guess: if the problem is with lettering (distorted or missing letters and symbols), this could be a problem with non-embedded fonts, where your PDF viewer is making bad substitutions for the fonts in the document. The first place to look is at the list of fonts in the document, then at what your viewer will look for to use when it renders the document. It could be that you have fonts that your PDF viewer isn't finding.

Charles Stewart