RE: [iText-questions] Bold fonts not displayed

2003-06-23 Thread Pal Perinbam
Hi Paulo, Here is the code snippet. Earnestly awaiting your reply.   Thank you.   Sincerely yours, Pal.      BaseFont normal=null;   BaseFont bold=null;    normal = BaseFont.createFont("c:\\winnt\\fonts\\arial.ttf",BaseFont.IDENTITY_H,BaseFont.NOT_EMBEDDED);   bold = BaseFont.createFont("c:\\winnt\

[iText-questions] wrapping text around an image

2003-06-23 Thread Gil Hansen
Would someone be willing to share how they successfully have wrapped text around an image. For example, suppose the image is aligned right and the text flows parallel to it and finally extends under the image . In my case, the image and text are in a table cell. Suggestion: This might be a good

Re: [iText-questions] using Thai character set TIS-620

2003-06-23 Thread Paulo Soares
- Original Message - From: "Gil Hansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 21:03 Subject: Re: [iText-questions] using Thai character set TIS-620 > Paulo, > > For the record, a list of Unicode Thai fonts for Windows can be found

Re: [iText-questions] Using Columntext with X and Y

2003-06-23 Thread Paulo Soares
The version at www.geocities.com/itexpdf. Best Regards, Paulo Soares - Original Message - From: "Jaladurgam, Ramana" <[EMAIL PROTECTED]> To: "'Paulo Soares'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 20:19 Subject: RE: [iText-questions] Using Columntext with X a

Re: [iText-questions] using Thai character set TIS-620

2003-06-23 Thread Gil Hansen
Paulo, For the record, a list of Unicode Thai fonts for Windows can be found at http://www.alanwood.net/unicode/fonts_windows.html#thai They all worked. FYI, EucrosiaUPC, FreesiaUPC and IrisUPC all displayed the closest to what Netscape and IE display when rendering a page with charset=TIS-620.

RE: [iText-questions] Using Columntext with X and Y

2003-06-23 Thread Jaladurgam, Ramana
I am using iText ver 0.99. This is not showing cb.transform(af) method. Which version has that? Regards, Ramana.JV. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 2:04 PM To: Jaladurgam, Ramana; [EMAIL PROTECTED] Subject: Re: [iText-question

Re: [iText-questions] Using Columntext with X and Y

2003-06-23 Thread Paulo Soares
That will translate it to 100,100 and then rotate it around 0,0. To rotate it around another point more calculations are needed but you can have the AffineTransform do the work for you: PdfContentByte cb = ...; AffineTransform af = new AffineTransform(); af.rotate(angle, x, y); cb.transform(af);

[iText-questions] Merging PDFs of different layouts

2003-06-23 Thread Chadha, Jaideep
I am trying to merge different PDFs into a single document. The PDF pages are of different sizes. I initially was using the sample code in concat.java and using PdfCopy class as the writer. I changed my code to use PdfContentByte and PdfWriter instead of PdfCopy as mentioned in http://article.

RE: [iText-questions] Using Columntext with X and Y

2003-06-23 Thread Jaladurgam, Ramana
I actually also intend to rotate the text. I have thought of applying the transformation using concatCTM and use ColumnText. I have the following code: double alpha = 90 * Math.PI / 180.0; //To rotate the text 90 degrees float cos = (float)Math.cos(alpha); float sin = (fl

[iText-questions] RE: Setting the underlying Image transparent.

2003-06-23 Thread Paulo Soares
PNG and GIF support transparent images. It's just a matter of transforming the signature in one of this formats with a transparent background. Best Regards, Paulo Soares > -Original Message- > From: Balaji [SMTP:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 18:06 > To: [EMAIL PROTECTE

[iText-questions] Setting the underlying Image transparent.

2003-06-23 Thread Balaji
Hi all, I am using iText to render an PDF.In this PDF I have an watermark image.On this water mark image I have placed an signature(which is also an image).My query is that when this signature is placed on the top of this watermark, the content on the watermark image is overridden.I want to make th

[iText-questions] Setting the underlying Image transparent.

2003-06-23 Thread Balaji
Hi all, I am using iText to render an PDF.In this PDF I have an watermark image.On this water mark image I have placed an signature(which is also an image).My query is that when this signature is placed on the top of this watermark, the content on the watermark image is overridden.I want to make th

RE: [iText-questions] Using Columntext with X and Y

2003-06-23 Thread Paulo Soares
I'll assume that you want a single line around a x,y point like showTextAligned: Phrase phrase = . // the text float leading = 12; // value not important for single line ColumnText ct = .; To align left: ct.setSimpleColumn(phrase, x, -1000, 1000, y + leading, leading, Element.ALIGN_LEFT)

RE: [iText-questions] Using Columntext with X and Y

2003-06-23 Thread Jaladurgam, Ramana
Hello Paulo, I apologize if the question is not clear. I have the X and Y coordinates. I thought of using PdfContentByte.showTextAligned(...). But since using that method we cannot get the text underlined, bold etc. I changed to using ColumnText. But ColumnText asks for the rectangle boundary

RE: [iText-questions] Using Columntext with X and Y

2003-06-23 Thread Paulo Soares
You don't know where to write the text? Do you want me to guess? Best Regards, Paulo Soares > -Original Message- > From: Jaladurgam, Ramana [SMTP:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 16:04 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Using Columntext with X and Y

RE: [iText-questions] Using Columntext with X and Y

2003-06-23 Thread Jaladurgam, Ramana
I actually wanted to place the text at a position X and Y. The text should be formatted as underlined, italic and bold with some color. I should also be able to align the text pivoting at X,Y position. Regards, Ramana.JV. -Original Message- From: Michael Glauche [mailto:[EMAIL PROTECTED]

Re: [iText-questions] Using Columntext with X and Y

2003-06-23 Thread Michael Glauche
Jaladurgam, Ramana wrote: Hello Group, I have only X and Y Coordinates of the starting point of text and I don't have the rectangle. How can I use ColumnText? I think you allways need a rectange, if u don't have any other informations you still could use pagewidth-x and pageheight-y as the wi

[iText-questions] Using Columntext with X and Y

2003-06-23 Thread Jaladurgam, Ramana
Hello Group, I have only X and Y Coordinates of the starting point of text and I don't have the rectangle. How can I use ColumnText? Regards, Ramana.JV. This email may contain confidential material. If you were n

RE: [iText-questions] Document ID

2003-06-23 Thread Paulo Soares
www.geocities.com/itextpdf > -Original Message- > From: C.S.I. Engineering S.r.l. [SMTP:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 15:21 > To: [EMAIL PROTECTED] > Subject: I: [iText-questions] Document ID > > > Thank you for your answer and quickly interest. > > I try to dow

I: [iText-questions] Document ID

2003-06-23 Thread C.S.I. Engineering S.r.l.
Thank you for your answer and quickly interest. I try to download the itext with Ant, but I not able to find changes. Where I can find the new classes to read my crypted pdf document? And the documentation? There's a sample to read a crypted document? Thank you Laura -Messaggio origi

[iText-questions] Font scale ?

2003-06-23 Thread Pierre . HERMET
Hello, Is it possible to put a "scale" on a font ? Finally, that's what I want to control : (Embedded image moved to file: pic17090.pcx) I tried this : (getEchelle() returns a percentage) BaseFont bf = BaseFont.createFont(feuilleDeStyle.getPolice(), BaseFont.WINANSI, BaseFont.EMB

Re: Re: [iText-questions] Newbie's prob

2003-06-23 Thread Matt Benson
Always keep the list on correspondences. I would think the problem lies in your usage of the PdfContentByte, and not to pass the buck, but I'll bet Paulo knows. :) -Matt --- Uwe Kristmann <[EMAIL PROTECTED]> wrote: > hi matt, > >it works, i get the pdfstream with the text > HELLO Strea

[iText-questions] RE: Font scale ?

2003-06-23 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 14:42 > To: Paulo Soares > Cc: [EMAIL PROTECTED] > Subject: Font scale ? > > > > Hello, > > Is it possible to put a "scale" on a font ? > Not for the moment using Chu

RE: [iText-questions] Position of elements

2003-06-23 Thread Paulo Soares
PdfPTable or PdfPCell can give you the cell position. For the regular Table you may be able to get the position with a page event and onParagraph or onGenericTag. Best Regards, Paulo Soares > -Original Message- > From: Hubert Lingo [SMTP:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 14:

RE: [iText-questions] Bold fonts not displayed

2003-06-23 Thread Paulo Soares
Post a small runnable code example that generates the problem. Best Regards, Paulo Soares > -Original Message- > From: Pal Perinbam [SMTP:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 14:21 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Bold fonts not displayed > > Hi All,

[iText-questions] Position of elements

2003-06-23 Thread Hubert Lingo
Hello everyone, Is there a way to know where we are on a page? I want to add an outline to a cell, but to create a PdfDestination I need to know the position of the line and it's not easy (impossible?) to compute it. I don't want to use Chapter or Section, because it's not possible to add a S

[iText-questions] Bold fonts not displayed

2003-06-23 Thread Pal Perinbam
Hi All, I generate a PDF file in iText. I use Arial TTF files for fonts. Bold fonts are not properly displayed in Acrobat 5.0.1 3/27/2001 version. With other versions (say 4), they come fine.   Only with the version mentioned above, I face this problem and this problem is very peculiar and I am clu

[iText-questions] Cell-wrap of Tablecells in Pdf on to next page

2003-06-23 Thread Björn Sommer
Hi... is there a way to prevent table-cells from wrapping onto next page? example: (header )(header ) (cell )(cell ) (last cell of page)(last-cell of page) new Page-- (header )(header ) (rest of last cel

RE: [iText-questions] New release itext-paulo-120

2003-06-23 Thread Paulo Soares
I'll do those changes to see if the official version 1.0 comes out soon. Some changes in Image will also have to be made to support images from arrays. As a bonus BMP will also work in RTF. Best Regards, Paulo Soares > -Original Message- > From: Mark Hall [SMTP:[EMAIL PROTECTED] > Sent: S

RE: [iText-questions] Transformation matrix

2003-06-23 Thread Paulo Soares
The last itext-paulo supports setting the matrix through an AffineTransform. It simplifies the work for the rotates around a point. It's also handy to calculate the inverse transform and set the matrix as it was before without saving states. Best Regards, Paulo Soares > -Original Message-

RE: [iText-questions] using Thai character set TIS-620

2003-06-23 Thread Paulo Soares
thaittf.ttf is not an Unicode font. If you try your code with the font 'Arial Unicode MS' it will work. Best Regards, Paulo Soares > -Original Message- > From: Gil Hansen [SMTP:[EMAIL PROTECTED] > Sent: Sunday, June 22, 2003 23:02 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subj

Re: [iText-questions] Transformation matrix

2003-06-23 Thread Michael Glauche
Bruno wrote: Quoting Jaideep Chadha <[EMAIL PROTECTED]>: What do the six values in the transformation matrix represent? It's all explained in the tutorial: http://www.lowagie.com/iText/tutorial/ch10.html#templates Btw, if someone else has the same problem as me, to rotate an object on the upper l