[iText-questions] help

2003-02-10 Thread Rafael A. Sornes G.
hello, i use itext and is excelent. i can generate a pdf with image, and table, ut i can use the fonts, i dont kwon why? because i copy the folder "com" and all librery funtion good. And the folder pdf/fonts exist with all font *.afm.   the error is this:   Times-Italic not found as resour

[iText-questions] itext

2003-02-10 Thread Rafael A. Sornes G.
hello, i use itext and is excelent. i can generate a pdf with image, and table, ut i can use the fonts, i dont kwon why? because i copy the folder "com" and all librery funtion good. And the folder pdf/fonts exist with all font *.afm.   the error is this:   Times-Italic not found as resour

Re: [iText-questions] Fonts within Tables

2003-02-10 Thread Paulo Soares
No code was attached but what you want to do is pretty basic stuff that is explained in the tutorial. (You read the tutorial and the examples, didn't you?) Best Regards, Paulo Soares - Original Message - From: "ROHAN KALYANPUR" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Feb

Re: [iText-questions] Embedded fonts

2003-02-10 Thread Paulo Soares
Here's the program to read fonts: import com.lowagie.text.*; import com.lowagie.text.pdf.*; import java.util.*; public class DumpFontNames { static PdfReader reader; static TreeMap fontMap = new TreeMap(); static final PdfName F1 = new PdfName("FontFile"); static final PdfName F2

Re: [iText-questions] JSP error caused by Image

2003-02-10 Thread Paulo Soares
Let me guess again. Are you catching the itext exceptions or do you just let them pass to the servlet? Are you sure that itext is not throwing an exception? Best Regards, Paulo Soares - Original Message - From: "Yi Chen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 1

Re: [iText-questions] Scaling pages with crop marks

2003-02-10 Thread Paulo Soares
You have to clip the page. (cb is a PdfContentByte) cb.saveState(); cb.rectangle(...); //clipping dimensions go here cb.clip(); cb.newPath(); cb.addTemplate(...); // place the page cb.restoreState(); Other option is to set PdfImportedPage.setBoundingBox() to the size of the crop rectangle. This l

[iText-questions] Scaling pages with crop marks

2003-02-10 Thread Piotr Luczycki
I need to scale pages that have crop marks and have been previously cropped to hide the marks. However, when I attempt to scale down the pages to fit the new page format (and to have enough top margin to stamp a header), the crop marks show up again. Can I scale the pages and get white margins

Re: [iText-questions] JSP error caused by Image

2003-02-10 Thread Paulo Soares
That may be the indirect result of trying to read an inexistent image. Best Regards, Paulo Soares - Original Message - From: "Yi Chen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 10, 2003 18:24 Subject: [iText-questions] JSP error caused by Image > Hi, > > I was

[iText-questions] Fonts within Tables

2003-02-10 Thread ROHAN KALYANPUR
Hello, I am trying to manipulate fonts of text within a table, using itext for PDF generation. I am attaching code used, but when I create the pdf file the table headers are not bolded (I basically want to bold the table headers). Please let me know if this is a bug or inform me of a soluti

[iText-questions] JSP error caused by Image

2003-02-10 Thread Yi Chen
Hi, I was able to generate PDF docs with iText and JSPs. However, when I tried to add Image objects to my JSPs, I got the following error "405 HTTP method POST is not supported by this URL". Does anyone know how to fix this problem? Thanks in advance! Yi

[iText-questions] Fonts within Tables

2003-02-10 Thread ROHAN KALYANPUR
Hello, I am trying to manipulate fonts of text within a table, using itext for PDF generation. I am attaching code used, but when I create the pdf file the table headers are not bolded (I basically want to bold the table headers). Please let me know if this is a bug or inform me of a soluti

RE: [iText-questions] Embedded fonts

2003-02-10 Thread Paulo Soares
I find strange that the font doesn't have a font descriptor. That's required even if the font is not embedded, except for built-in ones. I'll make you a program tomorrow to check the embedded and subset status of the fonts, it's easier than all this circular talk. Best Regards, Paulo Soares > ---

RE: [iText-questions] Embedded fonts

2003-02-10 Thread David Nielsen
But how can i know that the fonts doesnt fail ? i know that the Dax-ExtraBoldItalic font fails in acrobat. saying "Unable to find or create font 'Dax-ExtraBoldItalic'. Some characters may not display or print correctly." And the "Document" info says: Type: Type1, Encoding: Custum, Used font: Font

RE: [iText-questions] Embedded fonts

2003-02-10 Thread Paulo Soares
> -Original Message- > From: David Nielsen [SMTP:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 16:16 > To: [EMAIL PROTECTED] > Subject: RE: [iText-questions] Embedded fonts > > For what i can read in the PDF Reference (Third edition), the font > desriptor > is a dictionary.

RE: [iText-questions] Embedded fonts

2003-02-10 Thread David Nielsen
For what i can read in the PDF Reference (Third edition), the font desriptor is a dictionary. But when i try getting the fontdesriptor with: PdfDictionary dict = reader.getPageN(i); PdfDictionary pageResources = (PdfDictionary)reader.getPdfObject(dict.get(PdfName.RESOURCES));

Re: [iText-questions] xml to pdf in zn-TW

2003-02-10 Thread David Thielen
You might want to look at www.WindwardReports.com     - Original Message - From: MattChan To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 3:43 AM Subject: [iText-questions] xml to pdf in zn-TW Dear all,     I have used FOP from xml.apache.org to

[iText-questions] New release itext-paulo-108

2003-02-10 Thread Paulo Soares
Changes in itext-paulo-108 (2003-02-10) - added class PdfStamper to add content to an existing pdf while preserving all the interactive attributes. - added simplified signature fields. Contribution by Finn Bock. - fixed negative page rotation in PdfReader. - the encoding i

Re: [iText-questions] Newbie: Repeating structures in Data Merging.

2003-02-10 Thread Bruno
Quoting Preben Nilsson <[EMAIL PROTECTED]>: > Hi All, > > Short question: > > In the tutoral, chapter 7 it is exlpained how to "mail merge" with data > residing in a text file. If I wanted to list the contents of the database > in a single PDF document, would I still be able to using this techni

[iText-questions] Newbie: Repeating structures in Data Merging.

2003-02-10 Thread Preben Nilsson
Hi All, Short question: In the tutoral, chapter 7 it is exlpained how to "mail merge" with data residing in a text file. If I wanted to list the contents of the database in a single PDF document, would I still be able to using this technique ? Regards Preben Nilsson -

[iText-questions] xml to pdf in zn-TW

2003-02-10 Thread MattChan
Dear all,     I have used FOP from xml.apache.org to convert the XML to PDF file through XSL file, but the PDF always within  "###" when using Chinese Word in XML. The XML encoding="UTF-8".   1. How do i make the PDF well in zn-TW? 2. Are there any usful tools can edit XSL-FO more convenien

RE: [iText-questions] Glyph Substitution of Japanese text

2003-02-10 Thread Paulo Soares
It's in my plans to support the open type tables that take care of changing glyphs according to the writing direction but that's not for soon. Best Regards, Paulo Soares > -Original Message- > From: KuMi [SMTP:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 6:55 > To: [EMAIL PROTEC

RE: [iText-questions] pagenumber in table

2003-02-10 Thread Paulo Soares
You can't do it directly. Using itext-paulo-108 and a PdfPCellEvent it's possible to write external text to a cell but this is just a variation of page event. Best Regards, Paulo Soares > -Original Message- > From: isha afisha [SMTP:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 10:

[iText-questions] pagenumber in table

2003-02-10 Thread isha afisha
Hi, Just wanna ask.. what can i do to set the page number X of Y in my table instead of pageEvents method.. thanks.. --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.va