2

Recently while creating a newsletter using PaperTeX class I wanted to use the TikZ package for inserting a background image, but after using the package the resultant PDF is not being loaded completely by Adobe Acrobat reader with error code 110.

Then after searching for similar issues I found out that font loading was paused at 0% and this can happen sometimes when a code snippet not compatible with Adobe is added to a file. This is a security measure by Adobe which prevents users from targeted malwares.

So I wanted know if there is some way to use the TikZ package and still be able to open the pdf with Adobe acrobat reader DC?

Note: I removed all TikZ package references and kept only usepackage{tikz} and still faced same issue. Also if this is a singular occurrence due to PaperTeX + TikZ class then please point that out. Currently I resorted to using eso-pic and graphicx packages.

  • There are many free and open source pdf viewers out there... Did you tried one of them? Was it corrupted too? – koleygr Dec 26 '17 at 14:56
  • 1
    papertex is probably doing something that shouldn't do. TikZ is used everywhere. – percusse Dec 26 '17 at 14:56
  • I tried pdflite and and Google chrome I built viewer. It was fine. This is something that Adobe products keep as security check. Our aim is to reach a very wide audience so it should work with everything. – Saikat Das Dec 26 '17 at 15:00
  • 3
    I guess you should add a minimal non-working example. – user121799 Dec 26 '17 at 15:05
  • 2
    Sometimes transparencies or shadings can cause such problems. But without a MWE it is impossible to say if this is the problem in your case. – user36296 Dec 26 '17 at 16:51
1

Figured out the mistake. As pointed out by @samcarter it is an issue with ambiguous opacity setting. In one of the background images I had written

 \tikz[remember picture, overlay] 
   \node[opacity=,inner sep=0pt] at (current page.center)
    {includegraphics[width=\paperwidth, height =\paperheight]{image}};

It should have been

\tikz[remember picture, overlay] 
  \node[opacity=0.5,inner sep=0pt] at(current page.center)
  {includegraphics[width=\paperwidth, height =\paperheight]{image}};

Not defining opacity corrupts the file for adobe reader.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.