[iText-questions] Re: Need to know the core part of the PDF Generation

2005-04-15 Thread herman vierendeels
Although this is a rather comical thread, i think that we may not forget the baseline : "its getting harder and harder to trace out what parts of the code are responsible for doing what". It's already a great thing to have the code itself, the new documentation by Bruno, the collaboration of so

Re: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Leonard Rosenthol
At 04:08 PM 4/15/2005, Philip Kaplan wrote: Can you point me toward an iText class or (cross fingers) an example of how I could do a full embed with an existing document? Start with the code that does the duplicate subset locating/fixing and the code that loads font from the JVM/OS... Leo

Re: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Philip Kaplan
That sounds great. :-) While it is certainly not as efficient, I would be more than willing to live with the result. My problem is that I did not author the document and cannot change its visible content...but i can modify it to just embed a font or two. Can you point me toward an iText class or

Re: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Leonard Rosenthol
At 03:30 PM 4/15/2005, Philip Kaplan wrote: How does one do a "full embed"? I know the name of the font that I need to get into each document. Full embed means that you are simply copying the ENTIRE font file (foo.ttf, etc.) into the PDF verbatum. As opposed to a subset embed, where yo

Re: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Philip Kaplan
How does one do a "full embed"? I know the name of the font that I need to get into each document. Pk --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which p

[iText-questions] changing the codeline addProducer() license problem?

2005-04-15 Thread dani
Hello guys iam using your great library to modify a lot of pdf files which are produced by some different Adobe Distillers. Now iText is changing the meta-information for the Producer: "iText by lowagie.com .. " instead of "Adobe Distiller ..". Now i want to change the source code, that i can s

Re: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Philip Kaplan
Hmm...well, the fonts in question are Cyrillic, so i am assuming that they are single byte. All that said, I understood about 50% of your message at best Paolo. :-) --- SF email is sponsored by - The IT Product Guide Read honest & candid review

Re: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Leonard Rosenthol
At 12:50 PM 4/15/2005, Philip Kaplan wrote: BTW, I pretty much know which fonts I want to embed. It is a well known set. Perhaps I phrased my original question too generically previously. IF all of the fonts are English/Roman fonts, AND they are only used by standard page content - THEN

RE: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Paulo Soares
I once thought of doing an embed/unembed/change font utility and it's not that hard to do for single byte fonts. For fonts like TT with Identity-H it requires to go to the content stream and change the string. Of course, this is always assuming that a valid mapping to Unicode can be found, and that

Re: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Philip Kaplan
Ahh, bummer, BUT EXCELLENT response..thank you very much. BTW, I pretty much know which fonts I want to embed. It is a well known set. Perhaps I phrased my original question too generically previously. Thanks much again. Pk --- SF email is

Re: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Leonard Rosenthol
At 12:31 PM 4/15/2005, Philip Kaplan wrote: Thanks Leonard. I am still surprised, however, that I could not walk a document page by page and interrogate the page to determine which fonts are in use... Well, it's a bit trickier than that - since you not only have to do it page by page - bu

RE: [iText-questions] PDF417 barcode and newline character

2005-04-15 Thread Paulo Soares
All chars below 32 are stripped. If you want to keep it use setText(byte[]). > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gary Wu > Sent: Thursday, April 14, 2005 7:13 PM > To: itext-questions@lists.sourceforge.net > Cc: Gary Wu > Subject: [i

Re: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Philip Kaplan
Thanks Leonard. I am still surprised, however, that I could not walk a document page by page and interrogate the page to determine which fonts are in use...and then embed them (sort of a hybrid of the merge document example). Has anyone else every tried this approach? Paolo? :-) Pk On 4/14/

RE: [iText-questions] Acrobat 7.0 (Fields with font: /Cour 8 Tf 0 g 8.160 Tc) problem

2005-04-15 Thread Paulo Soares
iText only knows about font, size and color. It ignores anything else so, what you see is done by Acrobat. Also note that Acrobat 7 forms have problems with iText and lower Acrobat versions. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Dzmitry

RE: [iText-questions] putting a "checkbox" in a pdf form

2005-04-15 Thread Paulo Soares
Have a look at the example new_encoding.java at http://itextpdf.sf.net. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Samantha Webb > Sent: Friday, April 15, 2005 4:45 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions]

Re: [iText-questions] Need to know the core part of the PDF Generation

2005-04-15 Thread Leonard Rosenthol
At 08:47 AM 4/15/2005, [EMAIL PROTECTED] wrote: As you mentioned - I want to know the low level detail for the simplest case just to write some simple texts in to a PDF file.. Then you should read the PDF Reference - all the details are in there.  You will, of course, have to skip over al

[iText-questions] putting a "checkbox" in a pdf form

2005-04-15 Thread Samantha Webb
I'm trying to put an empty checkmark on my PDF page. I'd like to do it either with a unicode character or with the Dingbats font(I don't know how to do this). However, when I follow the example for the unicode character (just write \u25A1), it just prints out "\u25A1", not the charcter. How can I

Re: [iText-questions] Need to know the core part of the PDF Generation

2005-04-15 Thread Satish_Burnwal
Sorry, in case you are gettig disturbed..!! As you mentioned - I want to know the low level detail for the simplest case just to write some simple texts in to a PDF file.. Nothing stopping me from using iText.. but I am not sure whether we can use it for free corporate license and for free redistr

[iText-questions] Hidden Text in RTF

2005-04-15 Thread cs
I need to create hidden text before paragraphs in an RTF document. Once the user opens the document in word he can unhide the text to view it. Is it possible to create hidden text for an RTF document using iText. Thanks, CS. --- SF email is

Re: [iText-questions] Problems with Rectangle in PdfContentByte

2005-04-15 Thread bruno
[EMAIL PROTECTED] wrote: Hello, I've just tried to position a Rectangle within a PdfDirectContent at an absolute position using the following code: I understand your confusion. You have changed the BorderWidth, but the Rectangle object doesn't know which borders you mean. Do you want a box: rect

Re: [iText-questions] rtfwriter and XY position

2005-04-15 Thread bruno
M. Niedermair wrote: Hello! It is posible with the rtfwriter, to set a character at a XY coordiante No, that's not possible. If no, allows the rtf specification this? I'm not sure. If I had to guess I'd say no. I have the RTF Reference Manual but it's 221 pages and I still haven't found the time

[iText-questions] rtfwriter and XY position

2005-04-15 Thread M. Niedermair
Hello! It is posible with the rtfwriter, to set a character at a XY coordiante like shotTextAligend? cb.showTextAligned(PdfContentByte.ALIGN_CENTER, "(3\", 10\")", 216 + 25, 720 + 5, 0); If no, allows the rtf specification this? By Michael ---

[iText-questions] Problems with Rectangle in PdfContentByte

2005-04-15 Thread c . hauser
Hello, I've just tried to position a Rectangle within a PdfDirectContent at an absolute position using the following code: try { PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("pdf/RectangleTest.pdf")); document.open(); PdfContentByte cb = writer.getDirect

Re: [iText-questions] PDF Change UR3 Encryption to add Annotations with Adobe Reader 7.0

2005-04-15 Thread Leonard Rosenthol
At 09:32 AM 4/15/2005, Jung Jürgen wrote: i've a question about Annotation modification with Adobe Reader 7.0. Since PDF 1.6 and Adobe Reader 7.0 it is possible to edit modify and delete Annotaions with the Adobe Reader. If the PDF has been "reader enabled" with appropriate rights, true. T

Re: [iText-questions] Need to know the core part of the PDF Generation

2005-04-15 Thread bruno
[EMAIL PROTECTED] wrote: As you mentioned - I want to know the low level detail for the simplest case just to write some simple texts in to a PDF file.. Nothing stopping me from using iText.. but I am not sure whether we can use it for free corporate license and for free redistriution license? W

[iText-questions] PDF Change UR3 Encryption to add Annotations with Adobe Reader 7.0

2005-04-15 Thread Jung Jürgen
Hello, i've a question about Annotation modification with Adobe Reader 7.0. Since PDF 1.6 and Adobe Reader 7.0 it is possible to edit modify and delete Annotaions with the Adobe Reader. To do this the Adobe Professional has to save the PDF document in an speacial way. The Adobe pro. change some Va

Re: [iText-questions] Need to know the core part of the PDF Generation

2005-04-15 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Thanks Bruno for the quick reponse.. As you said, I tried this simple code for generating the PDF: import java.io.*; public class TestPdf { public static void main(String[] args) { try { Writer fw = new FileWriter("test.pdf");

[iText-questions] Frank Zhou/ReserveFunds is out of the office.

2005-04-15 Thread Frank_Zhou
I will be out of the office starting 04/14/2005 and will not return until 04/18/2005. I will respond to your message when I return. Please contact Gong Cai at 5815 if you need immediate assistance. --- SF email is sponsored by - The IT Pr

Re: [iText-questions] new fonts

2005-04-15 Thread Justin Lee
Thanks, Bruno. I found it. Rather than trying to go through all these hoops installing through the OS/JVM, I used the FontFactory to load them. ( I meant to send this last night... :) ) Justin Lee wrote: > I'm trying to install fonts so that I can embed them in my PDF but i'm > not having much

Re: [iText-questions] Need to know the core part of the PDF Generation

2005-04-15 Thread Satish_Burnwal
Thanks Bruno for the quick reponse.. As you said, I tried this simple code for generating the PDF: import java.io.*; public class TestPdf {         public static void main(String[] args) {                 try {                         Writer fw = new FileWriter("test.pdf");                      

Re: [iText-questions] Need to know the core part of the PDF Generation

2005-04-15 Thread Satish_Burnwal
Hi Siegfried, Thanks for the reply. I posted this because I dont want to run into any licensing issue - both for redistribution and for production use.. Hence I need to develop my own component. To begin with, I want to develop a simple one first which can write only simple plain texts into a PDF

Re: [iText-questions] Need to know the core part of the PDF Generation

2005-04-15 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Though iText is open source project, I am finding a bit hard to trace out what part of the code is actually reponsible for writing in PDF file. com.lowagie.text.pdf.PdfWriter and (on a slightly higher level) com.lowagie.text.pdf.PdfDocument I suppose there would be some

[iText-questions] Need to know the core part of the PDF Generation

2005-04-15 Thread Satish_Burnwal
Hi, I am new to  PDF generation but I need to implement a simple component (not as rich as iText) for generating (writing) PDF documents. Though iText is open source project, I am finding a bit hard to trace out what part of the code is actually reponsible for writing in PDF file. I suppose there

Re: [iText-questions] Need to know the core part of the PDF Generation

2005-04-15 Thread Siegfried Goeschl
Hi Satish, have you considered the amount of work to be done and consequences such as maintaining your cut-down version?! Having said that a simple component can be engineered by a wrapper shielding the caller from the iText API. Cheers, Siegfried Goeschl [EMAIL PROTECTED] wrote: Hi,

[iText-questions] Acrobat 7.0 (Fields with font: /Cour 8 Tf 0 g 8.160 Tc) problem

2005-04-15 Thread Dzmitry Pershyn
Using itext I'm filling the existing form template. The font of the fields is /Cour 8 Tf 0 g 8.160 Tc (Cour with extra spaces between characters). Under other acrobats - all ok, but under Acrobat 7.0 after generation the spases between characters are disappears. If I try to fill the form by hand i

Re: [iText-questions] Embedding fonts in an EXISTING document

2005-04-15 Thread Leonard Rosenthol
At 05:38 PM 4/14/2005, Philip Kaplan wrote: Wow...that surprises me. Is anyone aware of which commercial products can perform this function? PDF Enhancer - http://www.pdfenhancer.com PitStop - http://www.enfocus.com Asura - http://www.onevision.com Leonard -

Re: [iText-questions] rtf read only

2005-04-15 Thread Mark Hall
On Friday 15 April 2005 10:56, Ana Heitor wrote: > I need to generate read-only rtf document. Is it possible? How? This is not possible with iText. Greetings, Mark -- You can't erase a dream, you can only wake me up. -- Peter Frampton My GPG public key is available at: http://www

[iText-questions] rtf read only

2005-04-15 Thread Ana Heitor
Hi I need to generate read-only rtf document. Is it possible? How? Thanks in advance. Ana --- Ana Heitor EF tecnologiasGeral: +351-217 827 800 Av. António de Serpa Nº26 4ºDto Fax:+351-217 827 830 1050-027 LISB

Re: [iText-questions] Generating Forms in PDf from an XML file

2005-04-15 Thread bruno
STOKES Mark NGPS7 wrote: Could I use IText to solve this problem at the processing/transformation stage? I've got good news and bad news. The good news: There is limited XML2PDF functionality in iText. http://itext.sourceforge.net/tutorial/directcontent/pageevents/index.html#romeojuliet It's pos

[iText-questions] Generating Forms in PDf from an XML file

2005-04-15 Thread STOKES Mark NGPS7
Title: Generating Forms in PDf from an XML file Hello, I am looking for a solution to a long-term problem relating to XML and PDF. Within my XML documents there is an element called "checkbox". This element has a uniquely assigned ID. When generating  HTML, I transform the XML element: