Re: [iText-questions] Absolute Positioning

2002-04-16 Thread Bruno Lowagie
Quoting Ben Sinclair [EMAIL PROTECTED]: Here's another image-related question... I want to place an image behind my text that fills the entire page. The idea is to fill in text over a scanned form. My problem is that the images are scaled and come out looking ugly. It would be great if I

[iText-questions] Fw: about chinese problem in iText

2002-04-16 Thread
- Original Message - From: javachina To: [EMAIL PROTECTED] Sent: Tuesday, April 16, 2002 3:29 PM Subject: about chinese problem in iText hello: I meet some problem whenI use iText's PDF outputtingfunctionto process some chinese docments.can you give me some answer?

[iText-questions] bugfix for David Teran

2002-04-16 Thread Bruno Lowagie
Hello David, you mentioned a problem unrecognized Token was found earlier. I think I have fixed it. Can you check CVS if the fix really solves the problem: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/itext/src/com/lowagie/text/pdf/B yteBuffer.java.diff?r1=1.22r2=1.23sortby=date kind

Re: [iText-questions] bugfix for David Teran

2002-04-16 Thread David Teran
Hi, thanks, it seems that i forgott to add the '-' if a number is negative. But i would prefer this fix, because it uses one String less ;-) regards, david /* * $Id: ByteBuffer.java,v 1.18 2002/03/05 14:56:32 blowagie Exp $ * $Name: $ * * Copyright 2000, 2001, 2002 by Paulo Soares. *

Re: [iText-questions] bugfix for David Teran

2002-04-16 Thread Bruno Lowagie
Quoting David Teran [EMAIL PROTECTED]: Hi, thanks, it seems that i forgott to add the '-' if a number is negative. But i would prefer this fix, because it uses one String less ;-) I know, but I don't think your fix works. If you first have a value '100', it is cached as '100'. If you

Re: [iText-questions] bugfix for David Teran

2002-04-16 Thread Bruno Lowagie
Quoting David Teran [EMAIL PROTECTED]: Hi, you are right and i prefer your fix ;-) I will though check with a profiler if an additional cache would increase or decrease performance. OK, let me know. Maybe there is also a way to avoid using a String. I just wanted to fix the bug, I wasn't

[iText-questions] RTF Writer: Landscape page formatting?

2002-04-16 Thread Christian Britton
Hi all, I wanted to know if you guys got the LANDSCAPE page format for the RTF Writer? Thanks! Christian Britton Analyst/Developer - COOP Student CMS 2.0 Technical Development Team tel. (819) 956-9880 [EMAIL PROTECTED] ___ iText-questions mailing

[iText-questions] Length of a written text

2002-04-16 Thread Th Templ
Hello, I want to center a text in a pdf with absolute positionning. This is my code: PdfContentByte cb=writer.getDirectContent(); cb.setLineWidth(0f); cb.moveTo(width/2,gy1-100); cb.lineTo(width/2,gy1-100); cb.stroke(); cb.beginText(); BaseFont bf = BaseFont.createFont(Helvetica, Cp1252,

Re: [iText-questions] Length of a written text

2002-04-16 Thread Bruno Lowagie
Quoting Th Templ [EMAIL PROTECTED]: Is it possible to get the length of the chaine string to center it between two positions of a page? You have 2 possibilities: 1. You calculate everything yourself using method getWidthPoint as you suggest yourself.

[iText-questions] Combining characters in Unicode

2002-04-16 Thread Carsten Frewert
Hi! Digging into the wonders of Unicode, I tried writing Strings like \u0061\u0308 to a PDF document. (\u0061 is an 'a', \u0308 a combining diaeresis) The result should have been a german umlaut 'รค', but it isn't. What I actually got was an 'a' with two dots above it, but offset to the right

Re: [iText-questions] RTF Writer: Landscape page formatting?

2002-04-16 Thread Mark
Hi On Tuesday 16 April 2002 14:38, you wrote: Hi all, I wanted to know if you guys got the LANDSCAPE page format for the RTF Writer? You can create the Document with new Document(PageSize.A4.rotate()). This will create a Document, that has the correct dimensions for landscape.

[iText-questions] Exception parsing XML with Tagmap to generate PDF, then trying toconcatenate that to another PDF

2002-04-16 Thread Bontempo, David
Hi, I'm having problems concatenating PDF documents. I'm using source similiar to that found in the Concat.java example. When I do the document.close(), I get this error: ExceptionConverter: java.util.zip.ZipException: incorrect data check at

RE: [iText-questions] Exception parsing XML with Tagmap to generate PDF, then trying to concatenate that to another PDF

2002-04-16 Thread Paulo Soares
It may be an iText problem in extracting the correct bounds of the stream. What version are you using? Can you send me privately the pdfs and the program that concatenate them and generates the exception? Best Regards, Paulo Soares -Original Message- From: Bontempo, David [SMTP:[EMAIL

RE: [iText-questions] Combining characters in Unicode

2002-04-16 Thread Paulo Soares
Character combination must be done before presenting the text to iText. Same for ligatures if needed. Best Regards, Paulo Soares -Original Message- From: Carsten Frewert [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 16:11 To: [EMAIL PROTECTED] Subject:

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

2002-04-16 Thread Paulo Soares
Changes in itext-paulo-96 (2002-04-16) - added PdfGraphics2D, a Graphics2D canvas to write to PDF. Main contribution by Jim Moore [EMAIL PROTECTED] with several bits from Jeremy Bowman [[EMAIL PROTECTED]] and Kevin Galligan [[EMAIL PROTECTED]]. - optimizations in

[iText-questions] Can I change header data?

2002-04-16 Thread Robert Hedin
I'm at a loss how to accompish a couple of items: I'm basically trying to generate a report as a PDF using iText v0.90. The output of this report is intended to be printed on pre-printed forms. This means that the data must be placed exactly on the page, primarily for the header, detail

RE: [iText-questions] Exception parsing XML with Tagmap to genera te PDF, then trying to concatenate that to another PDF

2002-04-16 Thread Bontempo, David
Paulo, Thanks for the quick response. I'm double checking with my boss about sending you copies of the troublesome PDFs, but he's in Hong Kong at the moment. I get the error using the concat.java application (copied exactly) from www.lowagie.com, and the March 26th v0.90 SourceForge Jar files.