[iText-questions] How to stop a dashLine ?

2007-01-17 Thread NCA
FW: cell.setColSpan() not making senseHello, I draw some dashed lines : p_pdfContentByte.saveState(); p_pdfContentByte.setLineDash( 2f, 2f ); p_pdfContentByte.setLineWidth( 2f ); p_pdfContentByte.setColorStroke(color); p_pdfContentByte.moveTo( x, y ); p_pdfContentByte.lineTo( x2, y2 ); p_pdfCont

Re: [iText-questions] PdfGraphics2D and specific Paint

2007-01-04 Thread NCA
ling unknown paints already. If you come up with something, please share it. If its good it will probably make it into the distribution. -Bill Ensley Bear Printing From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

[iText-questions] PdfGraphics2D and specific Paint

2007-01-03 Thread NCA
Hello, Is it possible to wrap a specific Paint in the PdfGraphics2D with a specific class or function to draw a shape, as it is done for the GradientPaint ? ex : g2.setPaint ( new MyPaint () ); => private void setPaint(boolean invert, double xoffset, double yoffset, boolean fill) { ...

Re: [iText-questions] Font and color render problem

2007-01-02 Thread NCA
uspeito que uma das páginas tem transparência e a outra não. Paulo - Original Message - From: "NCA" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 02, 2007 11:31 AM Subject: [iText-questions] Font and color render problem Hello, I have a problem when I create a Pdf file, some pages

Re: [iText-questions] Swing and FontMapper problem

2006-12-18 Thread NCA
xt here" > > Sent: Monday, December 18, 2006 10:33 AM > Subject: Re: [iText-questions] Swing and FontMapper problem > > >> NCA wrote: >> >>> How can I use PdfGraphics2D to compute this ? ( I don't want to rewrite >>> all the JComponents UI.getPr

[iText-questions] Swing and FontMapper problem

2006-12-18 Thread NCA
Hello, I want to print a JPanel for a report. In this JPanel I may have any type of JComponent (JLabel, JTable, JTree, etc..), but when I try to print it, the labels are incorrect ( "My te..." instead of "My text"). So y looked into the code, and the JLabel's preferredSize is computed using the