Bug report #510560 is not a bug but wrong use. Here's what I've put in the
bug report when I closed it:

The Graphic class is there for historical reasons and it's 
use is not recommended. It has limited functionality (no 
fonts or images). The check is there to make sure that the 
result of adding contents works every time and not just by 
chance as in this case. I had a look at the Jasper code and 
what is there can easily be changed to eliminate the 
Graphic and use two PdfContentByte with the second one 
being created with PdfContentByte.getDuplicate().

I might add that if this fix is applied then it would be possible to mix
contents from different document that would result in an invalid PDF. There
was a question in the list with exactly this problem and that was why I
added the check.

The other bug can be closed. I asked the author for sample code exhibiting
the problem and I'm still waiting. It's amazing the number of bugs that
disappear when I ask for an example showing the problem.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 11:01
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Re: Help With Underlining Text Using
> BaseFont/ContentByte
> 
> Paulo Soares writes:
> 
> > Use ColumnText.
> 
> OK, I overlooked that possibility. 
> 
> Concerning the new release you are planning:
> * I have discovered today that I made a mistake
>  while uploading the HTML changes by Antoine Blanc.
>  The CVS version couldn't be compiled anymore.
>  I have fixed this.
> * There was a bugreport [ #510560 ] about a problem
>  when using Graphic (which inherits from PdfContentByte).
>  Lou Farho explains what happens en has fixed the bug.
>  I have uploaded the changes to CVS
> http://sourceforge.net/tracker/index.php?func=detail&aid=510560&group_id=1
> 52 
> 55&atid=115255
> * There is still one open bug left.
>  I don't exactly understand what it's about.
>  I can't reproduce it. 
> 
> kind regards,
> Bruno
> 
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to