Re: [iText-questions] FW: [SPAM] Re: PDF Validation error with PDF/A1b complaince

2012-09-06 Thread Manulak Dissanayake
Hi Anyway thanks for the reply, though I still didn't get any idea of my original question. It is good to know what you think on my issue indeed. In last few mails, Michael said "It is not strictly impossible to use iText to convert arbitrary PDFs to PDF/A as the iText low level API allows you to

[iText-questions] [SPAM] RE: PdfContentStreamProcessor not handling TJ operator correctly (maybe)

2012-09-06 Thread mkl
Shujaat, Yesterday in office I downloaded your project (I had to use chrome, btw, ie did not work) but I did not have the time to get a good look at it. From my first glance at it and your message I would assume that that pdf manipulates the word spacing value to stretch space characters to make t

[iText-questions] finding if anything exist in the region

2012-09-06 Thread agha ali
1)I want to find out if any text,image or anything exist in the region in which i am  inserting my image how would i do it .  2) Is there any problem if i insert the image in parallel loop it will increase or decrease the performance ---

Re: [iText-questions] PdfContentStreamProcessor not handling TJ operator correctly (maybe)

2012-09-06 Thread Shujaat
Hi Kevin, I'm not 100% sure this is related to TJ operator, but the string that it displays incorrectly is stored within a TJ. The contents of this TJ array look like this (the full string as it displays in Acrobat is "Marketing Math". You can see it on Page 14 of the PDF file available in the

Re: [iText-questions] How to subset fonts into an existing PDF file

2012-09-06 Thread WMJ
Hi, Thanks for the information. Must I rewrite the page content stream? Since the character code in the original document lacks a ToUnicode section, thus all content streams in the document which use that font share the same encoding. I think that reconstructing a ToUnicode stream for that font

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

Re: [iText-questions] PdfContentStreamProcessor not handling TJ operator correctly (maybe)

2012-09-06 Thread Kevin Day
Hi- what specifically about the Tj operator handling do you think might be wrong? I can't download your project (I don't even develop in C#), so we'll need to keep the conversation focused on minimal use cases that demonstrate the problem, etc... For example, what is the content stream with the T

[iText-questions] AUTO: Rajib SAHA is out office . Will be back on 19-Sep-2012. (returning 09/19/2012)

2012-09-06 Thread rajibsaha
I am out of the office until 09/19/2012. I am on leave from 06-Sep-2012 to 18-Sep-2012. For queries related to Holiday Tracker Application , contact only Lohith SS (719180 43803) . Please write to "#Research RAD" for any issues/queries related to ESO , Addins and Templates . For urgent assista

[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] PdfContentStreamProcessor not handling TJ operator correctly (maybe)

2012-09-06 Thread Shujaat
Thanks heaps Michael. I wouldn't have figured that out ever. I've now posted the file on MediaFire. Here's the new link. Doesn't require you to create any account. http://www.mediafire.com/?nz0o7xs9md1lg7q http://www.mediafire.com/?nz0o7xs9md1lg7q -- View this message in context: http://itext

[iText-questions] PdfContentStreamProcessor not handling TJ operator correctly (maybe)

2012-09-06 Thread Shujaat
Thanks heaps Michael. I wouldn't have figured that out ever. I've now posted the file on MediaFire. Here's the new link. Doesn't require you to create any account. http://www.mediafire.com/?nz0o7xs9md1lg7q -- Live Securi

Re: [iText-questions] How to subset fonts into an existing PDF file

2012-09-06 Thread WMJ
Thanks for the reply. I have read the example about embedding before posting this question. I do need subsetting. By analyzing the document, I have gotten the full list of the required characters in the document. The 'NOT a trivial task' is already accomplished. Please give me information about h

Re: [iText-questions] How to subset fonts into an existing PDF file

2012-09-06 Thread WMJ
Hi, I know quite well about the differences between embedding and subsetting and I do have the font ready for subsetting. By scanning and analyzing the document with iText, I also know quite well what characters will be needed in the subsetting process. For example, now I have a PDF documen

Re: [iText-questions] [SPAM] Re: PDF Validation error with PDF/A1b complaince

2012-09-06 Thread Leonard Rosenthol
Fix your FOP - that's the best bet! Leonard From: Manulak Dissanayake [mailto:manulak.dissanay...@ifsworld.com] Sent: Thursday, September 06, 2012 4:16 AM To: Post all your questions about iText here Subject: Re: [iText-questions] [SPAM] Re: PDF Validation error with PDF/A1b complaince Hi Leona

Re: [iText-questions] How to subset fonts into an existing PDF file

2012-09-06 Thread Leonard Rosenthol
I think you are confusing EMBEDDED (where some/all of the font data lives inside of the PDF) with SUBSETTED (where the font is embedded BUT only part of it). If the fonts aren’t installed and you have problems, that EMBEDDED. So forget about subsetting, you just need to embed. And in order to

[iText-questions] FW: [SPAM] Re: PDF Validation error with PDF/A1b complaince

2012-09-06 Thread John Renfrew
Manulak You seem to be asking the same question each time but with slightly different words, but complaint is not the same as compliant. Saying 'well I read the documentation a bit' and 'well I can't change this starting point' which is not producing PDF/A documents but I expect to be able to

Re: [iText-questions] How to subset fonts into an existing PDF file

2012-09-06 Thread iText Info
Op 6/09/2012 5:34, WMJ schreef: > I've gotten an existing PDF file which contains fonts that is not > subsetted. If the fonts are not installed in the system, the document > can't be displayed correctly. I definitely know what fonts are > suitable for those document. How can I subset those fonts

Re: [iText-questions] Annotation Appearance Stream Created in iText Not Set properly?

2012-09-06 Thread Suneet Shah
OK I figured out the problem. It wasn't with my setup.. it was this line here: canvas.AddTemplate(highlight_ap, boundingBox.Left, boundingBox.Bottom); I don't need to add it to the canvas. I just need to set the annotations appearance... Thanks Leonard! Suneet On Wed, Sep 5, 2012 at 7:15 PM, Su