Re: [iText-questions] Question about PdfGraphics2D for saving pdf file

2011-04-03 Thread Bill Ensley
You missed 1T3XT BVBA's earlier post. >> Check out the paintToPdf method in this old example from the first book: >> https://itext.svn.sourceforge.net/svnroot/itext/examples/src/in_action/chapter12/JTextPaneToPdf.java >> If ta is a JTextPane, g2 a PdfGraphics2D object and alloc a Rectangle, y

Re: [iText-questions] Arabic slightly off

2011-04-03 Thread David Thielen
Ok - thanks. From: Paulo Soares [psoa...@glintt.com] Sent: Sunday, April 03, 2011 3:45 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Arabic slightly off Word provides the glyphs in GSUB that may not be the same as the ones describ

Re: [iText-questions] Arabic slightly off

2011-04-03 Thread Paulo Soares
Word provides the glyphs in GSUB that may not be the same as the ones described in the CMAP (that's what iText uses). I tried with a couple more arabic fonts and they all did ok. It looks that the problem is really with the "simplified arabic" font. Paulo - Original Message - From:

Re: [iText-questions] Arabic slightly off

2011-04-03 Thread Paulo Soares
Looks like a bug with the "Simplified Arabic" font as it works correctly with Arial Unicode. It may work in Word because Word uses the OTF tables and iText doesn't and it will all depend on what's in the GSUB table. Paulo - Original Message - From: David Thielen To: Post all your

Re: [iText-questions] Arabic slightly off

2011-04-03 Thread Paulo Soares
I need the code to generate the pdf and a word doc with the same words. Paulo - Original Message - From: David Thielen To: itext-questions@lists.sourceforge.net Sent: Sunday, April 03, 2011 5:53 PM Subject: [iText-questions] Arabic slightly off Hi; I am generating Arabi

[iText-questions] Arabic slightly off

2011-04-03 Thread David Thielen
Hi; I am generating Arabic using ColumnText.setSimpleColumn(...). It is working fine about 99% of the time. But as shown in the attached, it is not seperating 2 glyphs on one word. The text for that line is passed in as a single chunk and the phrase passed in is just that single text chunk. set

[iText-questions] Question about PdfGraphics2D for saving pdf file

2011-04-03 Thread momomo_o
Hello, Thank you for reminding me of using PdfGraphics2D to solve my save pdf file problme. Actually I am new to iText and I search some info of PdfGraphics2D. Here are my solutions: public void setTexttoPdf(String filePath,JTextPane ta) throws IOException, DocumentException{ Doc

Re: [iText-questions] Add signature at right bottom

2011-04-03 Thread 1T3XT BVBA
Op 3/04/2011 15:29, Web Specialist schreef: > Hi all. > > After trying everything(almost :-) ) I'm here. After trying what? Have you tried coding at the Nord pole? Please be more specific about what you've tried and about what you're trying to achieve. We can't read your mind, you know. > I need t

[iText-questions] Add signature at right bottom

2011-04-03 Thread Web Specialist
Hi all. After trying everything(almost :-) ) I'm here. I need to insert a signature at right bottom PDF file. PdfPCell, rectangle, image nothing works. What can I do? Cheers Marco -- Create and publish websites with WebM

Re: [iText-questions] save all objects in JTextpane in one go

2011-04-03 Thread 1T3XT BVBA
Op 3/04/2011 14:59, Balder schreef: On 3/04/2011 14:41, 1T3XT BVBA wrote: Op 3/04/2011 14:18, momom...@sina.com schreef: Hello, I am developing an application with a JTextpane. I want to save all the content( including text and image so far) in the JTextpane to a pdf file by using iText.

Re: [iText-questions] save all objects in JTextpane in one go

2011-04-03 Thread Balder
On 3/04/2011 14:41, 1T3XT BVBA wrote: Op 3/04/2011 14:18, momom...@sina.com schreef: Hello, I am developing an application with a JTextpane. I want to save all the content( including text and image so far) in the JTextpane to a pdf file by using iText. A JTextPane is a Swing object. Swing

Re: [iText-questions] save all objects in JTextpane in one go

2011-04-03 Thread 1T3XT BVBA
Op 3/04/2011 14:18, momom...@sina.com schreef: Hello, I am developing an application with a JTextpane. I want to save all the content( including text and image so far) in the JTextpane to a pdf file by using iText. A JTextPane is a Swing object. Swing objects can write themselves to a Graphi

Re: [iText-questions] save all objects in JTextpane in one go

2011-04-03 Thread Balder
Hi On 3/04/2011 14:18, momom...@sina.com wrote: Hello, I am developing an application with a JTextpane. I want to save all the content( including text and image so far) in the JTextpane to a pdf file by using iText. Is there a way that I can save all these objects in the df file in one go?

[iText-questions] save all objects in JTextpane in one go

2011-04-03 Thread momomo_o
 Hello, I am developing an application with a JTextpane. I want to save all the content( including text and image so far) in the JTextpane to a pdf file by using iText. Is there a way that I can save all these objects in the df file in one go? I mean, I know how to save text and image respecti

Re: [iText-questions] ligature implementation for Indian languages / Devanagari script

2011-04-03 Thread 1T3XT BVBA
dilipvs...@hotmail.com wrote: > Does iText have ligature implementation for Indian languages such as Hindi, > Gujarati, Marathi, etc? No, none of the iText developers understand any Indic language. You are always welcome to contribute code that supports ligatures in Indic languages.