Am 17.05.2016 um 22:12 schrieb Romain Guillaume:
Hi Tilman,
Thank you for your advice. I didn't know PDFDebugger and it's very useful.
My problem is less tricky than you imagine because the problematic pdf is always the same and it's just for one document from one software of one company :-) And we must deal with this old software because nobody can change/modify it, that means I must deal with this :-)
So after analyzing the file, I see some suspicious lines:
 Q
  1 g
  189 5802.67 669 104 re
  f
  0 g
  q
    8.33333 0 0 8.33333 0 0 cm
    BT
      /R8 11.04 Tf
      0.999402 0 0 1 22.68 698.96 Tm
[ (A) 4.17943 (P) 1.32034 (P) 1.32034 (A) 4.17943 (R) 3.56008 (T) -8.93638 (E) 1.94035 (M) -2.83784 (E) 1.94102 (N) 4.17943 (T) 611 ] TJ
    ET
  Q

I think I must remove the lines number 2, 3 and 4, which appear to correspond to the creation and filling of a white rectangle. It's always the same pattern in all document.
What do you think?

Yes, that's the ones :-) Just remove the three commands. Or change the "f" to "n" which is "do nothing".

To see how to work with tokens, see the (removed in 2.0) ReplaceString.java example.

Tilman

I added a PDFDebugger screenshot but I don't know if it will work because I'm not very familiar with Users Mailing List.

Thank you for your next advice.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to