[iText-questions] FontFactory ITALIC not working

2003-01-24 Thread David Thielen
Hi;   I am creating a font as such:     Font font = FontFactory.getFont( "Comic Sans MS", 12.0f, FONT.ITALIC );     BaseFont bf = font.getBaseFont();   If I do regular or BOLD - it works. But ITALIC or BOLD | ITALIC and it comes out regular. I know I have italic and bolditalic on my system b

[iText-questions] FontFactory and embedded fonts

2003-01-24 Thread David Thielen
Hi;   Ok, I have FontFactory working and use the following:   Font font = FontFactory.getFont( fontName, fontSize );  BaseFont bf = font.getBaseFont();  PdfContentByte.set...   And it all works fine. But how do I tell it to embed or not embed the font in the pdf file?   thanks -

[iText-questions] Re: ttf font exception

2003-01-24 Thread David Thielen
Never mind - I have to use FontFactory - sorry for the question.   thanks - dave   - Original Message - From: David Thielen To: itext Sent: Friday, January 24, 2003 2:52 PM Subject: ttf font exception Hi;   I have the following line of code:  BaseFo

[iText-questions] ttf font exception

2003-01-24 Thread David Thielen
Hi;   I have the following line of code:  BaseFont bf = BaseFont.createFont( "Arial Black", "Cp1252, BaseFont.NOT_EMBEDDED ); And it throws the exception:     Exception occurred: DocumentException: Font 'Arial Black' with 'Cp1252' is not recognized.   I did a: for (Iterator i = Font

Re: [iText-questions] using ttf fonts

2003-01-24 Thread David Thielen
Hi; Is there any standard for adding bold/italic to the font name? When I list out the names I get fontname Bold Italic fontname-BoldItalic fontnameBoldItalic Also, lots of fonts don't have bold and/or italic versions - how do I specify a bold/italic version of them? thanks - dave > > - Or

[iText-questions] Convert HTML to PDF

2003-01-24 Thread felipe ------------
Can i convert a html file to pdf ?     felipe --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ iText-questions

Re: [iText-questions] Building 1.07

2003-01-24 Thread David Thielen
Forgot the attachment - Original Message - From: David Thielen To: David Thielen ; itext Sent: Friday, January 24, 2003 1:22 PM Subject: Re: [iText-questions] Building 1.07 Hi; I didn't find any instructions on how to build - can you give me the

[iText-questions] ZapfDingbats / WingDings

2003-01-24 Thread David Thielen
Are ZapfDingbats and WingDings the same characters?   thanks - dave

[iText-questions] showTextAligned

2003-01-24 Thread David Thielen
Hi;In PdfContentByte.showTextAligned, if the alignment is centered or right - how does it know where to center/right align it. Does the x,y position become the center/right edge of the text?   thanks - dave

Re: [iText-questions] Adding signature fields.

2003-01-24 Thread Finn Bock
Paulo Soares wrote: If all that is required is the field and the actual signing is done elsewhere then you have it all. I'll add your code in the next version. Thank you very much. regards, finn --- This SF.NET email is sponsored by: Sourc

RE: [iText-questions] Building 1.07

2003-01-24 Thread Paulo Soares
There isn't a 1.07 version, what exists is a itext-paulo-107 version. That's explained in my site. You can also build everything from the CVS that has the new version. See more below. Best Regards, Paulo Soares > -Original Message- > From: David Thielen [SMTP:[EMAIL PROTECTED]] > Sent: Fr

RE: [iText-questions] extend the SAXiTextHandler-class

2003-01-24 Thread Russo Gaetano
How can set a specific font to whole document using XML ? Regards > -Original Message- > From: Bruno [SMTP:[EMAIL PROTECTED]] > Sent: 24 Ocak 2003 Cuma 16:21 > To: Russo Gaetano > Cc: [EMAIL PROTECTED] > Subject: Re: [iText-questions] extend the SAXiTextHandler-class > > Quoting

Re: [iText-questions] extend the SAXiTextHandler-class

2003-01-24 Thread Bruno
Quoting Russo Gaetano <[EMAIL PROTECTED]>: > could you briefly describe process to include character such as > Arial in whole document, using Custom Tags and iText XML > How can I parse turkish XML template. I use ISO-8859-9 > encoding.Bruno said in mailing list archive about cyrillic

[iText-questions] Building 1.07

2003-01-24 Thread David Thielen
Hi;   First off, I couldn't find the 1.07 iText.jar anywhere so it does have to be built???   To confirm, is this how to build it: Download the 0.96 sources Download http://www.geocities.com/itextpdf/itext-paulo-107.zip and copy it over the 0.96 sources Download http://www.lowagie.com

Re: [iText-questions] Creating different files each time I run it

2003-01-24 Thread David Thielen
I disagree. The documented behavior is that they can return in any order when walking the map. And that order has changed between jdk versions. But I have found that for a given jdk version, if I put the same data in in the same order, it comes out in the same order - which is very useful for junit

RE: [iText-questions] extend the SAXiTextHandler-class

2003-01-24 Thread Bruno
Quoting Paulo Soares <[EMAIL PROTECTED]>: > I don't use xml but from the attributes treatment in FontFactory a > registered font will be called with the font-family attribute. It may be > any > font, not only a built-in. Of course, I may be missing something here. That's why I wrote the FontFacto

RE: [iText-questions] Creating different files each time I run it

2003-01-24 Thread Paulo Soares
That's documented behavior for hash maps. Best Regards, Paulo Soares > -Original Message- > From: David Thielen [SMTP:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 14:51 > To: itext > Subject: Re: [iText-questions] Creating different files each time I > run it > > yep - it's

RE: [iText-questions] using ttf fonts

2003-01-24 Thread Paulo Soares
No, this is really platform dependent and some fonts may not even be stored in a directory. Best Regards, Paulo Soares > -Original Message- > From: David Thielen [SMTP:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 14:33 > To: itext > Subject: Re: [iText-questions] using ttf f

RE: [iText-questions] extend the SAXiTextHandler-class

2003-01-24 Thread Paulo Soares
I don't use xml but from the attributes treatment in FontFactory a registered font will be called with the font-family attribute. It may be any font, not only a built-in. Of course, I may be missing something here. Best Regards, Paulo Soares > -Original Message- > From: Russo Gaetano [SMT

[iText-questions] extend the SAXiTextHandler-class

2003-01-24 Thread Russo Gaetano
could you briefly describe process to include character such as Arial in whole document, using Custom Tags and iText XML How can I parse turkish XML template. I use ISO-8859-9 encoding.Bruno said in mailing list archive about cyrillic font : "If you use the iTextXML.jar AS-I

Re: [iText-questions] Creating different files each time I run it

2003-01-24 Thread David Thielen
yep - it's a font. That's still worrisome that a hashmap will operate differently on the same data... thanks - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "'David Thielen'" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 7:28 AM

Re: [iText-questions] PDF / SERVLETS / chap0105

2003-01-24 Thread Bruno
Quoting Jpenuela <[EMAIL PROTECTED]>: > I've solved my problem with the soluction from > http://www.lowagie.com/iText/faq.html#msie > MSIE needs to know the exact content length of the pdf file in advance !!! This may be a useful link: http://www.mail-archive.com/itext-questions@lists.sourceforge

RE: [iText-questions] Creating different files each time I run it

2003-01-24 Thread Paulo Soares
Not necessarily. Most of the objects are stored in hash maps where the extraction order can be any and some others are cached. It would be interesting to know what was the displaced object, maybe a font? Best Regards, Paulo Soares > -Original Message- > From: David Thielen [SMTP:[EMAIL PR

Re: [iText-questions] using ttf fonts

2003-01-24 Thread David Thielen
Isn't there something in one of the java properties files that tells java where the fonts are? And couldn't we then get it from that? thanks - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "'David Thielen'" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]> Sent: F

RE: [iText-questions] XML, PDF, turkish character

2003-01-24 Thread Paulo Soares
The standard pdf fonts don't have the turkish characters. You have have to embedd a font with the characters, such as Arial from win2000 and later. Best Regards, Paulo Soares > -Original Message- > From: Russo Gaetano [SMTP:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 14:02 > To:

Re: [iText-questions] Creating different files each time I run it

2003-01-24 Thread David Thielen
I understand the numbers can be anything. But I would think that running it twice in a row with identical commands would lead to identical numbers??? - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "'David Thielen'" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]

[iText-questions] XML, PDF, turkish character

2003-01-24 Thread Russo Gaetano
I'm developing a java library to generate PDF report.I have a problem concerning special Turkish The problem scenario is the following: I have implemented a PDF Report Generator in Java. To describe it briefly, the generator is a piece of Java code that reads an XML layout specification and a st

Re: [iText-questions] PDF / SERVLETS / chap0105

2003-01-24 Thread Bruno
Quoting Jpenuela <[EMAIL PROTECTED]>: > I've solved my problem with the soluction from > http://www.lowagie.com/iText/faq.html#msie > MSIE needs to know the exact content length of the pdf file in advance !!! It will work in some versions of MSIE. There is a JSP solution somewhere in the mailing

Re: [iText-questions] PDF / SERVLETS / chap0105

2003-01-24 Thread Jpenuela
I've solved my problem with the soluction from http://www.lowagie.com/iText/faq.html#msie MSIE needs to know the exact content length of the pdf file in advance !!! Thank's Bruno for your help. - Original Message - From: "Bruno" <[EMAIL PROTECTED]> To: "Jpenuela" <[EMAIL PROTECTED]> Cc: <

RE: [iText-questions] Adding signature fields.

2003-01-24 Thread Paulo Soares
If all that is required is the field and the actual signing is done elsewhere then you have it all. I'll add your code in the next version. Best Regards, Paulo Soares > -Original Message- > From: Finn Bock [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 8:10 > To: Paulo Soa

RE: [iText-questions] Creating large PDF with table.

2003-01-24 Thread Paulo Soares
In speed terms you won't gain anything using writeSelectedRows compared to document.add(table). fitsPage with PdfPTable doesn't have any performance penalty and if you want to read all the data to the table first it won't also have any performance penalty, besides memory. To use the first two rows

RE: [iText-questions] Creating large PDF with table.

2003-01-24 Thread prabhakaran ramalingam
Since I am new to iText, i want to know is there any other means of constructing PDF using PdfPTable. I have seen writeSelectedRows method for writing to pdf (but here we need to specify the coordinates) and i thought it might be faster compared to adding it as a page. as i mentioned in the prev

[iText-questions] Adding lines to PDF when occurs

2003-01-24 Thread Ashutosh Salgarkar
Hi, I am trying to convert Japanese HTML to PDF as follows, 1. Convert the HTML to X-HTML. 2. Run the java file to convert X-HTML to PDF. This gives me an error as, Insertion of illegal Element: 39 After doing some code walk through, I got the code where it is throwing the error at SAXiTextHandl

RE: [iText-questions] Creating large PDF with table.

2003-01-24 Thread Paulo Soares
I'm not sure what you are asking. Using PdfPTable.writeSelectedRows() any number of rows can be written to the page and the return is the new y position. Best Regards, Paulo Soares > -Original Message- > From: prabhakaran ramalingam [SMTP:[EMAIL PROTECTED]] > Sent: Friday, January 24, 200

RE: [iText-questions] java script & copied acrofom fields

2003-01-24 Thread Paulo Soares
I suppose you are using PdfCopy an in this case it's not possible yet to add other content. Best Regards, Paulo Soares > -Original Message- > From: kelly B [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 19:34 > To: [EMAIL PROTECTED] > Subject: [iText-questions] java sc

RE: [iText-questions] using ttf fonts

2003-01-24 Thread Paulo Soares
See http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg03770.h tml Best Regards, Paulo Soares > -Original Message- > From: David Thielen [SMTP:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 3:31 > To: itext > Subject: [iText-questions] using ttf fonts > > Hi

RE: [iText-questions] Creating different files each time I run it

2003-01-24 Thread Paulo Soares
Pdfs can't be compared this way, the obj numbers can be anything and the document be correct. Best Regards, Paulo Soares > -Original Message- > From: David Thielen [SMTP:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 2:39 > To: itext > Subject: [iText-questions] Creating diffe

RE: [iText-questions] How to draw border around PdfPTable?

2003-01-24 Thread Paulo Soares
You have to use PdfPTableEvent. See the example at www.geocities.com/itextpdf. Best Regards, Paulo Soares > -Original Message- > From: Seran, Sathiyan [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 18:53 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] How to dra

RE: [iText-questions] Insert Column like word

2003-01-24 Thread Paulo Soares
See the example columns3.java at www.geocities.com/itextpdf. Best Regards, Paulo Soares > -Original Message- > From: Huy Ho [SMTP:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 1:42 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Insert Column like word > > Dear, > > H

Re: [iText-questions] PDF / SERVLETS / chap0105

2003-01-24 Thread Bruno
Quoting Jpenuela <[EMAIL PROTECTED]>: > We are planning to migrate some servlets that generates .html to be printed, > to generate .pdf file, easy to print, using iText library. > > So, whe start testing example chap0105.java. In our OC4J embeded in > Jdevelpoer 9.0.2, Acrobat Reader starts to l