Re: [iText-questions] extracting text from pdfs with japanese data

2009-01-15 Thread Hoppe, Michael
Hi Kevin, I tried to remove everything from the pdf-document except the first String on the first page. Maybe this helps? See the pdf attached. Greetings Michael > -Ursprüngliche Nachricht- > Von: Kevin Day [mailto:ke...@trumpetinc.com] > Gesendet: Donnerstag, 15. Januar 2009 18:24 > An

[iText-questions] PdfPTable - top border - missing

2009-01-15 Thread arnieAustin
I have a program that generates dozens of reports, all table-based. On all of them, the tables render fine - I just love this iText. BUT, for some bizzare reason - the top border of the PdfPTable, on every single page, and of each table (1 table has 6 columns, another has 2), - is missing. Just

[iText-questions] Textfield, cell, and pdf form.

2009-01-15 Thread Self
I am new in this technology. I have been able to create a textfield. How do I put it in a cell and finally put it on a pdf form? -- View this message in context: http://www.nabble.com/Textfield%2C-cell%2C-and-pdf-form.-tp21486946p21486946.html Sent from the iText - General mailing list archive

[iText-questions] textfield, cell and pdf form

2009-01-15 Thread Francis Agyemang-Duah
I am new in iText. I have been able to create a textfield. How do I put this textfield in a cell and finally put it in a pdf form? -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your st

Re: [iText-questions] All chunks in a paragraph get the same font & color

2009-01-15 Thread Hamilton, Ken
Thanks. I fixed the problem, although it's really a workaround, since I don't understand what the source of the problem is. I redesigned the logic to get the font size and pass the correct font when creating the chunk, instead of creating the chunk with the default font and then updating the font s

Re: [iText-questions] All chunks in a paragraph get the same font & color

2009-01-15 Thread Marta Figueiredo
Hi, For what I can see the block below overides the font size, not the font type. If you're not setting the font type it will assume the default (helvetiva), but since helvetica doesnt exist in windows, it will apply arial as a substitute. Hamilton, Ken wrote: > Thanks a lot for looking throu

[iText-questions] HTMLWorker & Alignment

2009-01-15 Thread Dominic Maricic
Hi Guys, I'm using HTMLWorker to parse html and seem to be able to get almost everything to work except for alignment. The editor I'm using generates alignment as below. I couldn't figure out what the change with loadTagStyle to get this to work. What am I missing? Center Me Dominic -- View th

Re: [iText-questions] SVG and iText

2009-01-15 Thread as.dreux
Hello, I'm working with s.laisne and I will describe with more details the investigation : With profiling, we have found that the time is spent in : PDFGraphics2D class : setPaint(boolean, double, double, boolean) http://www.nabble.com/file/p21477920/Profiling.bmp Our SVG contains Patterns, t

Re: [iText-questions] All chunks in a paragraph get the same font & color

2009-01-15 Thread 1T3XT info
native.human wrote: I'm adding chunks to a paragraph, and I want different chunks to have different styles. That's simple. See the attachment. I tried looking at your code, but when we ask to provide a code sample that reproduces the problem, we don't mean you have to send us code that obfuscat

Re: [iText-questions] extracting text from pdfs with japanese data

2009-01-15 Thread Kevin Day
OK - that means that either my code is bad, or the strategy of using UniJIS-UTF16-H when no ToUnicode map is provided is flawed. At this stage, one of the iText developers is going to need to take a look at things. I'll send an email and see how best to proceed on this. It would be much easie

Re: [iText-questions] All chunks in a paragraph get the same font & color

2009-01-15 Thread Hamilton, Ken
Thanks a lot for looking through this. That particular line only runs if the vertical-align style is there, and even then gets overridden in the block just below where I handle the font-size style. I'm still hacking around trying to isolate this. -Original Message- From: Marta Figueiredo [

Re: [iText-questions] [Xmp metadata]: xpacket header swallowed?

2009-01-15 Thread 1T3XT info
Ning Zhao wrote: > is this a minor bug in iText? You are probably not using the latest version: http://1t3xt.com/about/history.php?branch=history.21&node=214 Search for: "In 2.1.3, I introduced a bug that made the XMP data corrupt and caused the problem reported by Paul Ryan (on the mailing list,

Re: [iText-questions] All chunks in a paragraph get the same font & color

2009-01-15 Thread Marta Figueiredo
Hi, It seems to me that all chunks get the same font because you are setting the same font for all of them :) chunk.setFont(new Font(arialBaseFont, chunk.getFont().getSize() - sizeSuper)); M. native.human wrote: > I'm adding chunks to a paragraph, and I want different chunks to have > differen

[iText-questions] All chunks in a paragraph get the same font & color

2009-01-15 Thread native.human
I'm adding chunks to a paragraph, and I want different chunks to have different styles. Specifically, I want to set the font on one specific chunk. When I do that, all the chunks in the paragraph get that font. Sounds like Text mode vs Composite mode, but as far as I can tell I'm in Composite mode

Re: [iText-questions] Reason for damaged PDF production?

2009-01-15 Thread Leonard Rosenthol
You'll need to provide us a PDF that demonstrates the problem. Leonard On 1/15/09 4:13 AM, "Oliver Schoenwald" wrote: Hello and good morning, I'm trying to find out the reasons why my web application is working properly in my development system but not in my production system. The web appli

[iText-questions] [Xmp metadata]: xpacket header swallowed?

2009-01-15 Thread Ning Zhao
Dear iText, we use iText to manipulate layout elements for exisiting pdf files. In our current implementation, we did not touch xmp metadata from our code, just modified pdf dictionary and stamped it to the output files using PdfStamper. However, our client programmer reported that he could not

[iText-questions] Reason for damaged PDF production?

2009-01-15 Thread Oliver Schoenwald
Hello and good morning, I'm trying to find out the reasons why my web application is working properly in my development system but not in my production system. The web application allows a tutor to upload some exercise material as PDF. That document gets some text- and barcode-data stamped to