[iText-questions] bug: Java iText 5.5.9 doesn't correctly work with MayNotBreak for 2 grouped rows

2016-03-29 Thread rveach
I am trying to work with MayNotBreak to keep group of rows in a table together. I noticed when upgrading from 5.5.1 to 5.5.9, the behavior of MayNotBreak changed, in what I think is an incorrect way. In my code, I want to group 2 sets of rows together, such that they will never be on separate page

Re: [iText-questions] Bug detected in TextRenderInfo.class

2015-02-09 Thread Kevin Day
Hi folks - I'd really like to get a sample PDF that triggers this problem. It doesn't make sense that the text would be an empty string. Whatever the issue is, it's almost certainly deeper than how TextRenderInfo is operating. Can we get that please? -- View this message in context: http://i

Re: [iText-questions] Bug detected in TextRenderInfo.class

2015-02-09 Thread Kevin Day
Whoops - looking at SVN, I see that there is already a sample in the unit tests - please disregard my prior request - I'll look at it from there. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Bug-detected-in-TextRenderInfo-class-tp4660710p4660741.html Sent from the

Re: [iText-questions] Bug detected in TextRenderInfo.class

2015-02-06 Thread iText mailing list
On 2/6/2015 9:11 AM, mkl wrote: > Sonia, > > Bilbao Arechabala, Sonia wrote >> When I called PdfTextExtractor.getTextFromPage(reader, pageNumber) some of >> the pages returned an IndexOutOfBounds Exception. > Can you share a sample file to reproduce the issue? Hi Michael, there's no need for that.

Re: [iText-questions] Bug detected in TextRenderInfo.class

2015-02-06 Thread mkl
Sonia, Bilbao Arechabala, Sonia wrote > When I called PdfTextExtractor.getTextFromPage(reader, pageNumber) some of > the pages returned an IndexOutOfBounds Exception. Can you share a sample file to reproduce the issue? Regards, Michael -- View this message in context: http://itext-general.

[iText-questions] Bug detected in TextRenderInfo.class

2015-01-30 Thread Bilbao Arechabala, Sonia
Hi all, I found a bug in class com.itextpdf.text.pdf.parser.TextRenderInfo.class of version 5.5.4. When I called PdfTextExtractor.getTextFromPage(reader, pageNumber) some of the pages returned an IndexOutOfBounds Exception. I had to add a line in method getCharCode from class TextRenderInfo to

[iText-questions] Bug in PdfCopy.CopyObject

2014-04-01 Thread WMJ
In line 585 of PdfCopy.cs, the following line can throw exception: return CopyStream((PRStream)inp); Sometimes, the type of inp can be PdfStream, which can not be cast to PRStream and will throw InvalidCastException. Please change the line to: return inp is PdfStream ? inp : CopyStream((PRStre

[iText-questions] Bug in PdfStamperImp.ReplacePage when MediaBox origin not (0, 0)

2013-07-17 Thread Nick Parker
There seems to be a bug in PdfStamperImp.ReplacePage that manifests itself when the origin of the MediaBox of the page being inserted is not (0,0). If you run code like this : PdfDictionary Page = Reader.GetPageN ( NSeqPage ) ; PdfArray OldBox = Page.GetAsArray ( PdfName.MEDIABOX ) ; Page.Put (

Re: [iText-questions] bug/itextsharp/wrong colors in extracted picture from PDF

2013-05-10 Thread Paulo Soares
Please supply the pdf. Paulo On Fri, May 10, 2013 at 12:36 AM, Pavel Přeček wrote: > Hello All, > > I'd like to report a bug on wrong colorspace in exported pictures from PDF. > Please find attached samples. > > > > Image properties in my PDF are > > > > Colorspace: "/DeviceCMYK" > > Filter: "/D

[iText-questions] bug/itextsharp/wrong colors in extracted picture from PDF

2013-05-09 Thread Pavel Přeček
Hello All, I'd like to report a bug on wrong colorspace in exported pictures from PDF. Please find attached samples. Image properties in my PDF are Colorspace: "/DeviceCMYK" Filter: "/DCTDecode" . GetDrawingImage() says Flags are = &H12010 Can anyone help? Kind Regards Pavel

Re: [iText-questions] bug report: iText complains about trailer in valid pdf 1.5

2013-01-30 Thread iText Info
Op 30/01/2013 16:20, Noneayour Bsnes schreef: I don't know if this mailing list is the right place to file a bug report, but I couldn't find anything else on the iText web site. It's the right place, but unfortunately you're more than 6 years too late. The version you're using dates from 2006.

[iText-questions] bug report: iText complains about trailer in valid pdf 1.5

2013-01-30 Thread Noneayour Bsnes
I don't know if this mailing list is the right place to file a bug report, but I couldn't find anything else on the iText web site. On some large, valid pdf 1.5 files output by pdftex 1.40.13, iText throws a "trailer not found" exception. An example is here: http://www.lightandmatter.com/pdftk_

Re: [iText-questions] Bug with tables and page break since 5.2.1

2012-12-18 Thread Filipe Sousa
Thanks you. setScaleToFitLineWhenOverflow(false) seems to work. On Mon, Dec 17, 2012 at 4:17 PM, 1T3XT BVBA wrote: > On 17/12/2012 16:35, Filipe Sousa wrote: > > Hi, > > > > Can anyone confirm if this is a bug or if I'm doing something wrong. > > In test3-5.3.4.pdf the last table in first pag

Re: [iText-questions] Bug with tables and page break since 5.2.1

2012-12-17 Thread 1T3XT BVBA
On 17/12/2012 16:35, Filipe Sousa wrote: > Hi, > > Can anyone confirm if this is a bug or if I'm doing something wrong. > In test3-5.3.4.pdf the last table in first page is > not rendered correctly as in test3-5.2.1.pdf. If you don't want the image to scale down, you now need to use: img.setScal

Re: [iText-questions] BUG since 5.3.2?

2012-12-07 Thread iText Info
Op 7/12/2012 0:48, Andreas Meyer schreef: > same code, different result ... It was a bug. Found it and fixed it. The fix will be in iText 5.3.5. Log: Bug reported by Andreas Meyer on the mailing list (Dec 6, 2012). When retrieving rectangle information, the coordinates were accidentally switched

Re: [iText-questions] BUG since 5.3.2?

2012-12-07 Thread iText Info
Op 7/12/2012 0:48, Andreas Meyer schreef: > same code, different result ... At first, I couldn't reproduce your error. Only when I created a document with a rotation of 90 degrees, I saw the problem. I'll look into it. --

Re: [iText-questions] Bug Filling Russian Form

2012-12-06 Thread 1T3XT BVBA
On 6/12/2012 15:24, Pietri Matteo wrote: Dear , I filling acrobat form same document pdf by iTextSharp library in many language Looking at your code, I don't see you defining a substitution font anywhere, so yes, you probably have a bug in your code. If you want to know how to fix this,

Re: [iText-questions] Bug in SimpleTextExtractionStrategy?

2012-09-06 Thread Kevin Day
Most likely not a bug. SimpleTextExtractionStrategy is really, really simple and is not intended to accurately recreate the text on the screen. LocationTextExtractionStrategy is much more intelligent about interpreting spaces (and no spaces) between words, etc... -- View this message in contex

[iText-questions] Bug in SimpleTextExtractionStrategy?

2012-09-06 Thread Lake Pancake
I was studying the book examples, and noticed the following: 12:01:54$ cd results/part4/chapter15 12:02:04$ diff preface.txt preface_clipped.txt 1d0 < xix 12c11 < Tandy/Radio Shack TRS80/4P . As the P indicates, it was supposed to be a port- --- > Tandy/Radio Shack TRS80/4P. As the P indicates, i

Re: [iText-questions] Bug?when I make a cast

2012-05-17 Thread 1T3XT BVBA
On 17/05/2012 12:26, Lluís Janer Pons wrote: > Please if you can tell me a solution for this or if you can > comprobateif thisis a bug. We'll throw away (or at least deprecate) HTMLWorker in future releases. We'll invest in the further development of XML Worker. --

Re: [iText-questions] Bug?when I make a cast

2012-05-17 Thread Alexis Pigeon
Hi Lluís, On 17 May 2012 12:26, Lluís Janer Pons wrote: > Hello > > I am project manager of a computer company. The reason of this e-mail is > that whith your itext library when trying to convert html to Pdf, it find > an error that is not correct. > > For example this html code is correct but

[iText-questions] Bug?when I make a cast

2012-05-17 Thread Lluís Janer Pons
Hello I am project manager of a computer company. The reason of this e-mail is that whith your itext library when trying to convert html to Pdf, it find an error that is not correct. For example this html code is correct but when execute my program it give me this error: http:/

[iText-questions] Bug in PDFX1A2001?

2012-02-08 Thread Elias
Hello Folks, I'm using imagemagick to convert from RGB to CMYK and it is inserted a new pdf document with iText checking the PDFX1A2001 conformance, this is my code: IMOperation op = new IMOperation(); op.addImage(_pathIn); op.p_profile("*"); op.profile(DEFAULT_PATH_ICCRGBPROFILE); op.profile(DEF

Re: [iText-questions] bug on parsing HTML

2012-01-24 Thread Valerie Lavilla
4 Jan 2012 06:29:53 -0800 > To: Post here > Subject: Re: [iText-questions] bug on parsing HTML > > I really have no control on the HTML. It'll come from the richtext editor > from Icefaces.So when they pass me an HTML page with its text formatting, I > should be able to print

Re: [iText-questions] bug on parsing HTML

2012-01-24 Thread Leonard Rosenthol
It's open source – why not fix it yourself? From: Valerie Lavilla mailto:[email protected]>> Reply-To: Post here mailto:[email protected]>> Date: Tue, 24 Jan 2012 06:29:53 -0800 To: Post here mailto:[email protected]>> Subjec

Re: [iText-questions] bug on parsing HTML

2012-01-24 Thread Valerie Lavilla
I really have no control on the HTML. It'll come from the richtext editor from Icefaces.So when they pass me an HTML page with its text formatting, I should be able to print it on the PDF with it's correct text format. So far, that's the only thing failing, text alignment when it has right after .

Re: [iText-questions] bug on parsing HTML

2012-01-24 Thread Balder VC
Try XMLWorker instead. On 16/01/12 21:21, Valerie Lavilla wrote: > I'm having formatting issue on HTMLWorker. > > This one prints okay Test /> It prints the text in the center of the PDF file. > > But when I have after like this: > Test > > It's not putting the text in the center, but rather

[iText-questions] bug on parsing HTML

2012-01-16 Thread Valerie Lavilla
I'm having formatting issue on HTMLWorker. This one prints okay Test It prints the text in the center of the PDF file. But when I have after like this: Test It's not putting the text in the center, but rather the default justified paragraph format. Anyone has any idea why this is happening?

Re: [iText-questions] Bug in pdfReader?

2011-10-24 Thread Kevin Day
Recreate the problem using your original PDF file, or try to come up with the absolute simplest example that shows the problem, and I think you will find the issue (and you'll probably find that it's something you are doing earlier in the process) -- View this message in context: http://itext-gen

Re: [iText-questions] Bug in pdfReader?

2011-10-24 Thread Elias
The only thing that it comes to my mind..., previosly I have a copy of file with the next code in java: ... fisSource = new FileInputStream(_source); fosDestination = new FileOutputStream(_destination); byte[] buffer = new byte[1024]; int bytesRead; while ((bytesRead = fisSource.read(buffer)) !=

Re: [iText-questions] Bug in pdfReader?

2011-10-24 Thread Elias
Hi Kevin, Thanks by your early response. Here is the document's trailer that you say: trailer <<3b03fe070a6e6f1835ebbc9ead9c88ad>]/Info 73 0 R/Size 74>> startxref 3102085 %%EOF Thanks in advance!! -- View this message in context: http://itext-general.2136553.n4.nabble.com/Bug-in-pdfReader-tp3

Re: [iText-questions] Bug in pdfReader?

2011-10-24 Thread Kevin Day
my guess is that the PDF is corrupted, and that Acrobat repairs it before displaying it to you. The line of code that is throwing the NPE is one that assumes that the Catalog of the file will exist. This is a pretty fundamental thing - a PDF without a catalog isn't much of a PDF at all. To check

[iText-questions] Bug in pdfReader?

2011-10-24 Thread Elias
Hello folks!! I'm trying to read a pdf file modified with iText, I can open this file with a pdf reader, but I execute my program and it goes with the next line: ... PdfReader pdfReader = new PdfReader(ORIGINAL); ... I get the error: Exception in thread "main" java.lang.NullPointerException

Re: [iText-questions] Bug for image in iTextSharp 4.1.6.0

2011-06-22 Thread Balder
Have you tried with iText 5.1.x maybe your problem has already been fixed. Kind regards Balder - Reply message - From: "David Thielen" Date: Thu, Jun 23, 2011 00:30 Subject: [iText-questions] Bug for image in iTextSharp 4.1.6.0 To: "itext-questions@lists.

Re: [iText-questions] bug on RadioCheckField.CheckType?

2011-05-12 Thread Mark Storer
AM > To: [email protected] > Subject: Re: [iText-questions] bug on RadioCheckField.CheckType? > > RadioCheckField.cs > function > "protected PdfFormField GetField(bool isRadio)" > line# 358 > > > > -- > View this message in context: &g

Re: [iText-questions] bug on RadioCheckField.CheckType?

2011-05-12 Thread newbie2itext
RadioCheckField.cs function "protected PdfFormField GetField(bool isRadio)" line# 358 -- View this message in context: http://itext-general.2136553.n4.nabble.com/bug-on-RadioCheckField-CheckType-tp3516150p3517728.html Sent from the iText - General mailing list archive at Nabble.com. -

Re: [iText-questions] bug on RadioCheckField.CheckType?

2011-05-11 Thread Mark Storer
[email protected] > Subject: [iText-questions] bug on RadioCheckField.CheckType? > > I'm using iTextSharp 5.05. > > I tried to set CheckType to be non-default type but failed to do it. > My suspicion is that in RadioCheckField.GetField(), the value > is reset all the tim

[iText-questions] bug on RadioCheckField.CheckType?

2011-05-11 Thread newbie2itext
I'm using iTextSharp 5.05. I tried to set CheckType to be non-default type but failed to do it. My suspicion is that in RadioCheckField.GetField(), the value is reset all the time. I guess the solution is delete the statement "CheckType = TYPE_CHECK;"? -- View this message in context: http://i

Re: [iText-questions] Bug in font subsetting

2010-10-25 Thread Mark Storer
all your questions about iText here Subject: Re: [iText-questions] Bug in font subsetting The bug is in iText. Paulo - Original Message - From: Mark Storer <mailto:msto...@autonomy.

Re: [iText-questions] Bug in font subsetting

2010-10-25 Thread Paulo Soares
The bug is in iText. Paulo - Original Message - From: Mark Storer To: Post all your questions about iText here Sent: Monday, October 25, 2010 6:17 PM Subject: Re: [iText-questions] Bug in font subsetting Do you have a link to a bug report for that? --Mark Storer

Re: [iText-questions] Bug in font subsetting

2010-10-25 Thread Mark Storer
To: Post all your questions about iText here > Subject: Re: [iText-questions] Bug in font subsetting > > There's a bug with cff subsets that was only exposed in > Acrobat 9, it works ok in Acrobat 7, for example. I don't > know when it will be fixed. > > Paulo >

Re: [iText-questions] Bug in font subsetting

2010-10-25 Thread Paulo Soares
[email protected] Subject: [iText-questions] Bug in font subsetting I previously wrote about a problem I was having with an OpenType font when usingthe IDENTITY_H encoding. I've discovered that the problem only occurs when a subset is embedded, so it's fairly clear that there is a

[iText-questions] Bug in font subsetting

2010-10-24 Thread qqzx2kp
I previously wrote about a problem I was having with an OpenType font when usingthe IDENTITY_H encoding. I've discovered that the problem only occurs when a subset is embedded, so it's fairly clear that there is a bug in the code that constructs the subset. The attached PDFs were created by the s

Re: [iText-questions] Bug? iTextSharp 5.0.4

2010-10-09 Thread Nurettin DAG
Hi Roman, I personally do not think that what you are explaining is a bug. I actually think it is a better practice to use addCell(cell); From the code it seems pretty obvious that default layout is intended for only addCell(String) method and I personally do not like the defaultCell mechanism as

[iText-questions] Bug? iTextSharp 5.0.4

2010-10-03 Thread Roman Kern
Hi there... its great that you, guys, make this Library. So about the Bug and Maybe its a Feature. I guess, i can be easily corrected. Well, I tried to make a Nested Table. For this, I using DefaultCell to to save the Layout, how the Cell should looks like. If I tried to Add A Cell through Ne

Re: [iText-questions] Bug: Using stamper to fill a form field withvalue containing single-quote fails

2010-01-18 Thread Paulo Soares
Please provide the pdf where this happens. Paulo - Original Message - From: "Joshua Huber" To: Sent: Tuesday, January 19, 2010 2:35 AM Subject: [iText-questions] Bug: Using stamper to fill a form field withvalue containing single-quote fails I am using iTextSharp 5.0.0.

Re: [iText-questions] Bug: Using stamper to fill a form field with value containing single-quote fails

2010-01-18 Thread 1T3XT info
Joshua Huber wrote: I am using iTextSharp 5.0.0. I am using the stamper to fill form fields with fields.SetField("FieldName", "Peter O'Brien"); However, the single quote gets omitted from the PDF when using FormFlattening or a read-only field. I see this was also reported earlier here: http:

[iText-questions] Bug: Using stamper to fill a form field with value containing single-quote fails

2010-01-18 Thread Joshua Huber
I am using iTextSharp 5.0.0. I am using the stamper to fill form fields with fields.SetField("FieldName", "Peter O'Brien"); However, the single quote gets omitted from the PDF when using FormFlattening or a read-only field. I see this was also reported earlier here: http://www.mail-archive.com/

[iText-questions] Bug in Phrase.addChunk() ?

2009-09-16 Thread Roger Misteli
Hiyas I have an Rtf Document and want to create a header with text chunks that are assigned to tabs within a header. Now.. my code creates a large Paragraph and wraps the RtfHeaderFooter around it and sets that to the RtfHeaderFooter. So far so good. This all works perfect until a paragraph co

Re: [iText-questions] Bug in PdfStamperImp: read producer from PdfDictionary may cause NullpointerException

2009-07-06 Thread Paulo Soares
Thank you. It's already fixed in the SVN. Paulo > -Original Message- > From: Maege [mailto:[email protected]] > Sent: Monday, July 06, 2009 2:15 PM > To: [email protected] > Subject: [iText-questions] Bug in PdfStamperImp: read > producer from

[iText-questions] Bug in PdfStamperImp: read producer from PdfDictionary may cause NullpointerException

2009-07-06 Thread Maege
Hello, I just decovered a bug in PdfStamperImp (line 216). PdfStamperImp tries to read producer info from (oldInfo) PdfDictionary whenever oldInfo is not null. But producer information may in some cases not be contained in the oldInfo. However, PdfStamperImp expects producer info to be availab

Re: [iText-questions] [bug report] - Vertical rotated text missing the last character in PdfPTable

2009-06-30 Thread Bruno Lowagie
Gregan, Miroslav wrote: > Hi all, > > as you can see in the example, I'm using iText 2.1.6. > I'm trying to write vertical texts without wrapping in a PdfPTable. > The problem is that the last VAVAVAVAVA's "A" is missing in the rendered > PDF. > Maybe it is due to the font's kerning? No, we're

[iText-questions] [bug report] - Vertical rotated text missing the last character in PdfPTable

2009-06-30 Thread Gregan, Miroslav
Hi all, as you can see in the example, I'm using iText 2.1.6. I'm trying to write vertical texts without wrapping in a PdfPTable. The problem is that the last VAVAVAVAVA's "A" is missing in the rendered PDF. Maybe it is due to the font's kerning? Thank you. Kind regards, Miro PS I'm te

Re: [iText-questions] BUG in CMapParser

2009-05-30 Thread 1T3XT info
Gregor Kofler wrote: > Hi, > > i think there is a bug in CMapParser.java see at the following Code: > 381 while( nextByte != -1 && nextByte != 0x0D && nextByte != 0x0D ) > Should be changed to: > 381 while( nextByte != -1 && nextByte != 0x0D && nextByte != 0x0A ) Thanks, the c

[iText-questions] BUG in CMapParser

2009-05-28 Thread Gregor Kofler
Hi, i think there is a bug in CMapParser.java see at the following Code: private void readUntilEndOfLine( InputStream is, StringBuffer buf ) throws IOException 379 { 380 int nextByte = is.read(); 381 while( nextByte != -1 && nextByte != 0x0D && nextByte != 0x0D ) 382

Re: [iText-questions] bug in 2.1.5? empty Chunks added to a Phrase/Anchor/Paragraph/ListItem no longer 'empty'

2009-05-28 Thread Jeff Kelm
Hi Bruno, Thanks very much for that fix and the background on hyphenation and empty Chunks. Jeff Bruno Lowagie wrote: > Jeff Kelm wrote: > >> That fix solves the problem as described for sure. I've just noticed >> though that com.lowagie.text.Phrase#add(int, Object) would have to be >> upd

Re: [iText-questions] bug in 2.1.5? empty Chunks added to a Phrase/Anchor/Paragraph/ListItem no longer 'empty'

2009-05-28 Thread Bruno Lowagie
Jeff Kelm wrote: > That fix solves the problem as described for sure. I've just noticed > though that com.lowagie.text.Phrase#add(int, Object) would have to be > updated with a similar fix. OK. > The only potential issue I can see is that a Phrase (or subclass) no > longer guarantees that all

Re: [iText-questions] bug in 2.1.5? empty Chunks added to a Phrase/Anchor/Paragraph/ListItem no longer 'empty'

2009-05-28 Thread Jeff Kelm
Hi Bruno, First off, thanks for the lightning quick response! That fix solves the problem as described for sure. I've just noticed though that com.lowagie.text.Phrase#add(int, Object) would have to be updated with a similar fix. The only potential issue I can see is that a Phrase (or subclass)

Re: [iText-questions] bug in 2.1.5? empty Chunks added to a Phrase/Anchor/Paragraph/ListItem no longer 'empty'

2009-05-28 Thread Bruno Lowagie
Jeff Kelm wrote: > Hi, > > com.lowagie.text.Phrase#add(Object) invokes > com.lowagie.text.Phrase#addChunk(Chunk) when adding a Chunk. addChunk() > sets a com.lowagie.text.Chunk.HYPHENATION attribute to the Chunk being > added if the Chunk was missing this attribute. As one of its conditions >

[iText-questions] bug in 2.1.5? empty Chunks added to a Phrase/Anchor/Paragraph/ListItem no longer 'empty'

2009-05-28 Thread Jeff Kelm
Hi, com.lowagie.text.Phrase#add(Object) invokes com.lowagie.text.Phrase#addChunk(Chunk) when adding a Chunk. addChunk() sets a com.lowagie.text.Chunk.HYPHENATION attribute to the Chunk being added if the Chunk was missing this attribute. As one of its conditions for returning 'true', com.lowag

Re: [iText-questions] BUG iText 2.0.3 - mergeXfaData()

2009-04-21 Thread Leonard Rosenthol
Hopefully Mark won't mind a few corrections... First, please don't refer to them as LCD-forms, that's a software product NOT a technology name. The technology is called XFA, and so these are XFA-based forms. Second, there are two types of XFA-based forms - Static and Dynamic. ONLY in a stati

Re: [iText-questions] BUG iText 2.0.3 - mergeXfaData()

2009-04-21 Thread Mark Storer
Marc janvier sab2i.com> writes: > - In conclusion i open the PDF file, i can see my changes in the xfa > dom, but not on the screen. > > What is the problem ?? is it a bug of iText ? > No, it's not a bug. If I'm right, the problem is that iText only changes the DOM, not the rest of the

Re: [iText-questions] BUG iText 2.0.3 - mergeXfaData()

2009-04-21 Thread Alexis Pigeon
Hi Marc 2009/4/21 Marc janvier : > I think I found a bug with iText api. I have worked with this api in > different success projects but now i'm facing a problem, could you help me ? >    description : >        - I merge xml data with my static template using > XfaForm.mergeXfaData(Node n), that

[iText-questions] BUG iText 2.0.3 - mergeXfaData()

2009-04-21 Thread Marc janvier
I think I found a bug with iText api. I have worked with this api in different success projects but now i'm facing a problem, could you help me ? description : - I merge xml data with my static template using XfaForm.mergeXfaData(Node n), that's successful, i've got my table populated

Re: [iText-questions] Bug: Merging Data containing a single quote with Read-Only field

2009-03-26 Thread 1T3XT info
Nick Kowalewicz wrote: > Dear Bruno/iText: > > A weird bug is happening when I merge FDF data with an “Acrobat” form PDF. I visited http://nk-inc.com/ and found some commercial PDF products. Is iText used in these products? In other words: is this query an attempt to get a free answer to a questi

Re: [iText-questions] Bug: Merging Data containing a single quotewithRead-Only field

2009-03-25 Thread Paulo Soares
I know you're using iTextSharp but unless it's fixed in Java porting to C# won't help. Paulo - Original Message - From: "Nick Kowalewicz" To: "'Post all your questions about iText here'" Sent: Wednesday, March 25, 2009 7:35 PM Sub

Re: [iText-questions] Bug: Merging Data containing a single quote withRead-Only field

2009-03-25 Thread Nick Kowalewicz
I'm using iTextSharp. Regards, Nick K. http://www.nk-inc.com -Original Message- From: Paulo Soares [mailto:[email protected]] Sent: Wednesday, March 25, 2009 2:23 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Bug: Merging Data contain

Re: [iText-questions] Bug: Merging Data containing a single quote withRead-Only field

2009-03-25 Thread Paulo Soares
Does it work in Java? Paulo - Original Message - From: "Nick Kowalewicz" To: Sent: Wednesday, March 25, 2009 3:19 PM Subject: [iText-questions] Bug: Merging Data containing a single quote withRead-Only field Dear iText-Questions: Sorry, but, I don't think the l

[iText-questions] Bug: Merging Data containing a single quote with Read-Only field

2009-03-25 Thread Nick Kowalewicz
Dear Bruno/iText: A weird bug is happening when I merge FDF data with an “Acrobat” form PDF. I’m attempting to merge data which contains a single quote, “St. Peter's Church”. Only when the PDF form field is set with a “Read-Only” under Acrobat field properties, the field doesn’t display the sing

[iText-questions] Bug: Merging Data containing a single quote with Read-Only field

2009-03-25 Thread Nick Kowalewicz
Dear iText-Questions: Sorry, but, I don't think the last message was readable, because, it was sent as HTML format instead of Plain-text. ORIGINAL MESSAGE: A weird bug is happening when I merge FDF data with an “Acrobat” form PDF. I’m attempting to merge data which contains a single quote, “St.

[iText-questions] Bug: Merging Data containing a single quote with Read-Only field

2009-03-25 Thread Nick Kowalewicz
Dear Bruno/iText: A weird bug is happening when I merge FDF data with an "Acrobat" form PDF. I'm attempting to merge data which contains a single quote, "St. Peter's Church". Only when the PDF form field is set with a "Read-Only" under Acrobat field properties, the field doesn't display

Re: [iText-questions] Bug inside MultiColumnText

2009-01-07 Thread 1T3XT info
Leo wrote: > *problem 2)* If I add only irregular columns and I'm in the condition > where maxY < top, it LOOPs You can't just choose any value for left[1]. The method resolvePositions adjusts this value for regular columns, but it didn't adjust them for irregular columns. I changed this. -- Thi

Re: [iText-questions] Bug inside MultiColumnText

2009-01-07 Thread 1T3XT info
Leo wrote: > For *problem 1* I suggested to modify the addElement method, but you > said that "If the columns are rectangular, YOU MUST use addElement", > why? In the chapter 7 of your book it's not forbidden to use addText and > addElement toghether! I tryed my modify adding Chunks and Paragrap

Re: [iText-questions] Bug inside MultiColumnText

2009-01-06 Thread Leo
omething in the ColumnText class beacause if you change my test code using ColumnText you'll find the same problem. Leonardo - Original Message - From: "1T3XT info" To: "Post all your questions about iText here" Sent: Tuesday, January 06, 2009 12:21 PM Subject

Re: [iText-questions] Bug inside MultiColumnText

2009-01-06 Thread 1T3XT info
Leo wrote: If you changed the addColumn order adding column2 first and then column1, it worked but the right column in the page was filled first with a bad graphic effect! With this revision the problem was solved and probably the correct bugfix was to change the simple parameter and not the

Re: [iText-questions] Bug inside MultiColumnText

2009-01-04 Thread Leo
: "Post all your questions about iText here" Sent: Wednesday, December 31, 2008 9:43 AM Subject: Re: [iText-questions] Bug inside MultiColumnText > Leo wrote: >> Hi everybody, >> I found a bug into MultiColumnText class in method addElement. >> The method should

Re: [iText-questions] Bug inside MultiColumnText

2008-12-31 Thread 1T3XT info
Leo wrote: > Hi everybody, > I found a bug into MultiColumnText class in method addElement. > The method should be written like this: > > public void addElement(Element element) throws DocumentException { > if (element instanceof Phrase) { > columnText.addText((Phrase) element); > }

[iText-questions] Bug inside MultiColumnText

2008-12-30 Thread Leo
Hi everybody, I found a bug into MultiColumnText class in method addElement. The method should be written like this: public void addElement(Element element) throws DocumentException { if (element instanceof Phrase) { columnText.addText((Phrase) element); } else if (element instanceof

Re: [iText-questions] Bug in iText

2008-10-13 Thread Fabrizio Accatino
AFAIK the only workaround is to increase the stack size. http://www.nabble.com/IIS6-problem---Stack-overflow%3A-System.util.collections.k_Tree.Insert-to16559593.html#a16559593 Fabrizio - This SF.Net email is sponsored by the

Re: [iText-questions] Bug in iText

2008-10-13 Thread Paulo Soares
t: Monday, October 13, 2008 5:57 PM > To: [email protected] > Cc: Chris Lewis > Subject: [iText-questions] Bug in iText > > Greetings, > > > > When saving out a 2000+ PDF file I get a stack overflow > exception in System.util.collections.k

[iText-questions] Bug in iText

2008-10-13 Thread Steve Lomicka
Greetings, When saving out a 2000+ PDF file I get a stack overflow exception in System.util.collections.k_Tree.Insert. The PDF was built with Acrobat version 7 and the file is PDF version 1.6. The file is actually the PDF spec - we are using the document for performance testing. I can reprodu

Re: [iText-questions] bug in iText? WAS: problem with Agency FBfont, iText Graphics2D, and scaling

2008-07-08 Thread Jason Boehle
> > Unfortunately, this is how the drawing engine in our product works, > > so changing it is not really an option. > > Then I would fix your drawing engine, because by doing you are losing > HUGE amounts of "intelligence" inside of the font that is used when > rendering at smaller point

Re: [iText-questions] bug in iText? WAS: problem with Agency FB font, iText Graphics2D, and scaling

2008-07-08 Thread Leonard Rosenthol
On Jul 7, 2008, at 10:18 AM, Jason Boehle wrote: > Unfortunately, this is how the drawing engine in our product works, > so changing it is not really an option. > Then I would fix your drawing engine, because by doing you are losing HUGE amounts of "intelligence" inside of the font that

[iText-questions] bug in iText? WAS: problem with Agency FB font, iText Graphics2D, and scaling

2008-07-07 Thread Jason Boehle
> I'd suspect this is technically a bug in PdfGraphics2D... not scaling the > italicizing matrix. It's possible that the transform from the font isn't > setting it's skew flag (a bug in AWT), so AffineTransform's optimizations > skip it, causing this behavior. > > BACK IN THE REAL WORLD, I'd stron

Re: [iText-questions] bug report

2008-05-23 Thread 1T3XT info
Franky Laseure wrote: > > I'm using latest trunk version of itext. > > Everything compiles fine, > but when deploying and running my (Web)project in Sun Application Server > 9.1, > I get NullPointerException when an instance is created of ITextRenderer. > > << ITextRenderer renderer = new IText

[iText-questions] bug report

2008-05-23 Thread Franky Laseure
I'm using latest trunk version of itext. Everything compiles fine, but when deploying and running my (Web)project in Sun Application Server 9.1, I get NullPointerException when an instance is created of ITextRenderer. << ITextRenderer renderer = new ITextRenderer(); The bug is not caught in a

Re: [iText-questions] Bug while merging multiple PDF documents

2008-04-09 Thread Bruno Lowagie
Baars, Peter wrote: Hello, First of all I want to complement you on the great library you guys created. I really appreciate it! I would like to report a bug when trying to merge a large number of PDF documents. I created a simple testcase and added the code to this mail. I don't understan

Re: [iText-questions] Bug while merging multiple PDF documents

2008-04-09 Thread Mark Storer
Oops. Rectangle.rotate doesn't quite work the way I thought it did. Here's a fix: for( int i = reader.getPageRotation(x); i > 0; i-= 90) { newPageRect = newPageRect.rotate(); } On Wed, Apr 9, 2008 at 10:18 AM, Mark Storer <[EMAIL PROTECTED]> wrote: > PdfContentByte cb = writer.getDir

Re: [iText-questions] Bug while merging multiple PDF documents

2008-04-09 Thread Mark Storer
PdfContentByte cb = writer.getDirectContent(); //IIRC, the directContent is from the current page, so you'll be drawing all your // importedPages onto the first page. for (InputStream input : inputStreams) { PdfReader reader = new PdfReader(input); for (int

[iText-questions] Bug while merging multiple PDF documents

2008-04-09 Thread Baars, Peter
Hello, First of all I want to complement you on the great library you guys created. I really appreciate it! I would like to report a bug when trying to merge a large number of PDF documents. I created a simple testcase and added the code to this mail. When we merge more than 50 - 55 PDF's into on

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-24 Thread Gavin Disney
Bruno, Thanks again. Don't rush the release on my account! Regards, Gavin - Original Message From: Bruno Lowagie <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Friday, March 21, 2008 2:11:21 AM Subject: Re: [iText-questions] Bug in DocumentFont w

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-20 Thread Bruno Lowagie
Gavin Disney wrote: > Great! Thanks very much. I've added you to the acknowledgments list: http://www.1t3xt.com/about/acknowledgments/index.php?page=people&id=178 I was preparing the new release, but unfortunately my son had to return to the hospital; see http://lowagie.com/maand.php?year=2008&m

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-20 Thread Gavin Disney
Great! Thanks very much. Gavin - Original Message From: Paulo Soares <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Thursday, March 20, 2008 1:48:24 PM Subject: Re: [iText-questions] Bug in DocumentFont when loading Differences It's already in the

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-20 Thread Paulo Soares
It's already in the SVN. Paulo - Original Message - From: "Gavin Disney" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Thursday, March 20, 2008 5:41 PM Subject: Re: [iText-questions] Bug in DocumentFont when loading Differences

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-20 Thread Gavin Disney
Hi Paulo, Just wondering if you've got any thoughts on this? Thanks in advance, Gavin Disney - Original Message From: Paulo Soares <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Thursday, March 13, 2008 2:57:18 PM Subject: Re: [iText-questi

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-13 Thread Gavin Disney
- Original Message From: Paulo Soares <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Thursday, March 13, 2008 2:57:18 PM Subject: Re: [iText-questions] Bug in DocumentFont when loading Differences Send me your changes and we'll go from there. Paulo > -Or

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-13 Thread Paulo Soares
Send me your changes and we'll go from there. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gavin Disney > Sent: Thursday, March 13, 2008 6:42 PM > To: iText Questions > Subject: Re: [iText-questions

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-13 Thread Gavin Disney
lear to me which approach would impact performance least. Cheers, Gavin Disney - Original Message From: Paulo Soares <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Thursday, March 13, 2008 1:52:25 PM Subject: Re: [iText-questions] Bug in DocumentFont when load

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-13 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gavin Disney > Sent: Thursday, March 13, 2008 5:39 PM > To: [email protected] > Subject: [iText-questions] Bug in DocumentFont when loading > D

[iText-questions] Bug in DocumentFont when loading Differences

2008-03-13 Thread Gavin Disney
Hi iText Developers There seems to be a minor bug in the processing of Differences from the Encoding dictionary when creating a DocumentFont for Type 1 fonts. The bug is quite subtle, and depends on the substitutions being made and the encoding being used. It is straightforward to correct - I'

  1   2   3   >