[iText-questions] FontFactory - registering all system fonts

2003-01-28 Thread David Thielen
Hi;   If anyone wants to use the attached code, they are welcome to do so. It registers all local fonts it finds on the system and seems to work well for Windows, Solaris, Linux and Mac X. It also has the ability to pass it a classpath like string for other directories.   One limit right now,

[iText-questions] Windows font Times New Roman (Arabic)

2003-01-28 Thread David Thielen
Hi;   When Word lists a font as "Times New Roman (Arabic)", is that really just Times New Roman? Because I don't find a Times New Roman (Arabic) font on my system.   thanks - dave

[iText-questions] Windows font PMingLiU

2003-01-28 Thread David Thielen
Hi;   Another windows font question. Word has a font listed called PMingLiU. This is not shown as a font after I register all my fonts with FontFactory. However, there is a MingLiU. And when I try to use PMingLiU, I get this exception from FontFactory:   The font index for c:/windows/fonts/mi

[iText-questions] FontFactory.getFont throwing an undocumented exception

2003-01-28 Thread David Thielen
Hi;   I just got this exception: Exception occurred: ExceptionConverter: com.lowagie.text.DocumentException: Thefont index for c:/windows/fonts/mingliu.ttc must be between 0 and 1. It was 2.ExceptionConverter: com.lowagie.text.DocumentException: The font index for c:/windows/fonts/mingliu.tt

[iText-questions] Weirdness printing Chinese & Japanese chars using a Chinese font

2003-01-28 Thread David Thielen
Hi;   I selected a Chinese font MHei-Medium/UniCNS-UCS2-H and tried to print a Chinese & Japanese (katakana) character. What's weird is only the Japanese character printed although it was positioned over as though the Chinese character was there.   Any ideas?   thanks - dave

[iText-questions] Arabic, Hebrew, Thai, & Vietnamese

2003-01-28 Thread David Thielen
Hi; If I am using the internal acrobat fonts like Helvetica - do I need to do anything special either to Acrobat or iText to display Arabic, Hebrew, Thai, & Vietnamese? I'm trying Arabic and it's not displaying anything. thanks - dave --- Thi

RE: [iText-questions] Bad PDF generated on large tiff

2003-01-28 Thread Aaron Kelley
I found the example below in the mail archive. The problem is that this tiff is very large (pixel-wise about 7000x12000, but only 200k). When I try to load it (or similar images that actually work) with example 11, I run out of memory, although I am doing other operations (combining two images in

[iText-questions] change line space in Cell

2003-01-28 Thread Daniel Brenner
Hi! Is there a way to change the line space in a (PdfP)Cell? i.e. to 1.5 lines or even double Thanks in advance Daniel Brenner __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Bis zu 100 MB Speicher bei http://premiummail.yahoo.

Re: [iText-questions] PdfPTable in PdfPCell

2003-01-28 Thread Daniel Brenner
> It works properly as long as you fill the row. If you have a table with 5 > columns you must have 5 addCell() before a row is produced otherwise it's > the same as doing nothing. PdfPTable doesn't create automatically cells to > fill an incomplete row. Thanks that's it. It works fine now. But is

Re: [iText-questions] Bad PDF generated on large tiff

2003-01-28 Thread Paulo Soares
Example 11 may have problems due to a bug in JAI and example 12 only reads the first band of the tiff. I've posted code in the mailing list to fix this, do a search in http://www.mail-archive.com/itext-questions@lists.sourceforge.net/ for "jai". Best Regards, Paulo Soares - Original Message -

Re: [iText-questions] EMF support

2003-01-28 Thread Paulo Soares
- Original Message - From: "Leonard Rosenthol" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; "'John Mutters'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 28, 2003 18:49 Subject: RE: [iText-questions] EMF support > At 5:13 PM + 1/28/03, Paulo Soares w

[iText-questions] WYSIWYG tool to create XML-templates?

2003-01-28 Thread Erik Turesson
Hello! I would like to use iText to generate PDF documents. I want to have a template that I add some data into. The data is stored in a database. I have read the tutorial and found out that it is great support to combine a xml template with some dynamic data and then generate a PDF. My problem i

[iText-questions] Bad PDF generated on large tiff

2003-01-28 Thread Aaron Kelley
I have a rather large tiff file that I am trying to place in a PDF.  I have been using iText for some time with many other tiff images and have had minimal problems.  The compression for this particular tiff is the same as other tiff images that are slightly smaller and work fine.  I have r

[iText-questions] printing and open pdf problem

2003-01-28 Thread Filip Rydman
Hi! I'm having trouble when I want to print my pdf documents. I try to use the code in faq section of the Itext homepage. String osName = System.getProperty("os.name" ); //FOR WINDOWS 95 AND 98 USE COMMAND.COM if( osName.equals( "Windows 95" ) || osName.equals( "Windows 98" )){ Runtime.getR

RE: [iText-questions] local destination

2003-01-28 Thread Paulo Soares
Showing some of your code would be helpful. Best Regards, Paulo Soares > -Original Message- > From: Viktor Lacina [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 28, 2003 16:27 > To: Paulo Soares > Subject: Re: [iText-questions] local destination > > No, in fact it was only exam

RE: [iText-questions] EMF support

2003-01-28 Thread Paulo Soares
iText only supports WMF. If you are generating the WMF yourself to include in the pdf you can generate the text in Unicode with BOM and with a couple of minor changes in iText it would work. On the other hand it doesn't look too difficult to add support for EMF in iText. May I have a look at one of

[iText-questions] Header & Footer problems ...

2003-01-28 Thread Rob Moore
I am attempting to create a PDF file with text in the header and the page number in the footer.  I am following the examples in the tutorial, but neither show up in the generated PDF file.  The code I am using is below.  The log messages print successfully.  I am calling setFooter() before o

RE: [iText-questions] local destination

2003-01-28 Thread Paulo Soares
Does your document have 30 pages? Best Regards, Paulo Soares > -Original Message- > From: Viktor Lacina [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 28, 2003 15:27 > To: [EMAIL PROTECTED] > Subject: [iText-questions] local destination > > Hi, > > Is there any way to define l

[iText-questions] local destination

2003-01-28 Thread Viktor Lacina
Hi, Is there any way to define local jump from page 1 of PDF to destination defined for ex. on page 30, somewhere in the middle? iText Throws me exception, that local destination does not exist, but hou could exists if i'm just generating page one?? any idea/solution? thanks, Viktor --

[iText-questions] EMF support

2003-01-28 Thread John Mutters
Title: EMF support Hi, Is there a possibility to use the enhanced metafile format within IText instead of plain (placeable) metafiles? This is because we lack some internationalization support within WMF. If this is not directly possible, are there alternatives like additional tools that work

RE: [iText-questions] Unable to read particular characters

2003-01-28 Thread Paulo Soares
You probably nead: Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, January 28, 2003 10:33 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Unable to read particular characters > > Hi, > > I'm using iText in

RE: [iText-questions] PDF in Browser.

2003-01-28 Thread Paulo Soares
No. The pdf structure doesn't allow it. Even the linearized pdf (iText doesn't do it) for byte serving require that the pdf is first generated and then optimized. Best Regards, Paulo Soares > -Original Message- > From: prabhakaran ramalingam [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, Janua

RE: [iText-questions] Big5_HKSCS character problem

2003-01-28 Thread Paulo Soares
> -Original Message- > From: Ray Chan [SMTP:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 23:56 > To: [EMAIL PROTECTED] > Subject: RE: [iText-questions] Big5_HKSCS character problem > > Thank you for your reply. > > Where can I download vert_cjk2.java? iText Tutorial sectio

Re: [iText-questions] Margins Unit of Measurement

2003-01-28 Thread Ricky M. Codizar
Thanks a lot and sorry :( (B (BI wasn't able to browse through the manual yet.. (B (BBruno $B$5$s$O=q$-$^$7$?(B: (B>Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>: (B> (B>> What is the unit of measurement for the margins, it is in terms of (B>> centimeter? inches? or by pixels? (B> (B>h

RE: [iText-questions] Data Missing when concatenating files

2003-01-28 Thread Paulo Soares
You probably have fields. Use CopyPdf.java instead. Best Regards, Paulo Soares > -Original Message- > From: Dettling, Gerald [SMTP:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 21:16 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] Data Missing when concatenating files

RE: [iText-questions] PdfPTable in PdfPCell

2003-01-28 Thread Paulo Soares
It works properly as long as you fill the row. If you have a table with 5 columns you must have 5 addCell() before a row is produced otherwise it's the same as doing nothing. PdfPTable doesn't create automatically cells to fill an incomplete row. Best Regards, Paulo Soares > -Original Message

[iText-questions] Unable to read particular characters

2003-01-28 Thread paolo . mosna
Hi, I'm using iText in order to parse an XML document and to produce a PDF one. The template contains some characters such as à, è or é and ò or the ' and so on. With these characters the iText's parser generates an error and throws an exception each time one of the aforementioned characters is en

[iText-questions] PDF in Browser.

2003-01-28 Thread prabhakaran ramalingam
hi, Basically its not iText related question. I have to show large Pdf(created using iText ) to the Browser. I am using Java Servlets fordoing that. I am able to stream the large file to the Browser. But it loads once its been fully created. is there any method to write the output to se

Re: [iText-questions] Chap0706

2003-01-28 Thread Bruno
Quoting felipe <[EMAIL PROTECTED]>: > I'm having trouble running the example Chap0706 > > Parsing (X)HTML > http://www.lowagie.com/iText/tutorial/ch07.html#htmlparsing > > i compiled the Chap0706.java correctly, but when i try to runit, it appears > the servlet doesn't exist. The

Re: [iText-questions] Problem with PdfTable

2003-01-28 Thread Bruno
Quoting Huy Ho <[EMAIL PROTECTED]>: > > Dear, > > When I create new PdfTable object, it has a mistake (protected class). Tell > me the reason. If I use old version, please tell me where I can get new > version. You are making a mistake by using PdfTable. PdfTable is a class for INTERNAL USE on

Re: [iText-questions] Margins Unit of Measurement

2003-01-28 Thread Bruno
Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>: > What is the unit of measurement for the margins, it is in terms of > centimeter? inches? or by pixels? http://www.lowagie.com/iText/tutorial/ch01.html#measurements --- This SF.NET email is spon