1T3XT info wrote:
> hanspeter schlapbach wrote:
>> see attachment

I didn't notice that this wasn't sent to the mailing-list.
This was probably done by mistake. I forward my answer to the list.

> That's a very detailed description of the problem.
> I see that you already discovered that this problem
> is not iText related. I think you even solved the problem
> (or are very close to solving it).
> 
> In attachment you find a screenshot from RUPS, that
> corresponds with your findings. You are adding a CR (Ox0D) to
> the PDF; iText assumes that you are doing this deliberately,
> and puts a \r (a Carriage Return in PDF syntax) in the stream:
> 
> See "Fotoscheibe \)\r)Tj" in the screenshot.
> 
> Strings in PDF are between brackets ( )
> The '(' and ')' characters are escaped: \( and \)
> So is the CR character: \r
> 
> Whereas many readers, including the old Adobe Reader
> versions, don't display \r, apparently newer versions
> of Adobe Reader have decided to show something in some
> cases. The iText developers probably won't tell iText to
> throw away characters that are added by iText users
> (that would be introducing a bug). So if you don't want
> the squares, you'll have to remove the Carriage Return
> characters at the source...
> 
> ------------------------------------------------------------------------
> 


-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to