You can't do a graphic state operator (line width) inside a path construction (line to). The PDF format forbids it, see the figure 4.1 in page 135 in the PDF reference 1.3. This is to say that you shouldn't be surprised if it doesn't work in the next Acrobat or ghostscript version.
Best Regards, Paulo Soares ----- Original Message ----- From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 19:06 Subject: [iText-questions] Interesting line drawing > Hi; > > I was playing with line drawing, drawing a box where each line was a > different thickness. So I did: > > moveTo (start) > for each line: > setLineWidth() > lineTo() > stroke() > > What was real interesting is that Acrobat did a line join for each > connection except the end of the final line to the start of the first > line. I am assuming that Acrobat will join to lines if the end of one > line is the same location of the next line (which makes sense). But is > there anyway to get it to join the end of the fourth line to the > begining of the first line? I can't do a closePath() because the line > width changes on each segment. > > thanks - dave > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
