Re: [iText-questions] Fwd: Issue in rendering Custom Urdu Font

2013-03-26 Thread Adnan Siddiqi
More details here? May it help? p.s: When will the feature be available? My product will be launched in June http://salrc.uchicago.edu/resources/fonts/available/urdu/nafeesnastaleeq.shtml /A On Wed, Mar 27, 2013 at 3:33 AM, Paulo Soares wrote: > I see where the problem is. The font uses the

Re: [iText-questions] Fwd: Issue in rendering Custom Urdu Font

2013-03-26 Thread Paulo Soares
I see where the problem is. The font uses the GSUB table to map various forms. There's work underway to use GSUB applied to the Indic scripts but that will also benefit Arabic. For the time being it's unsupported. Paulo On Tue, Mar 26, 2013 at 8:13 PM, Adnan Siddiqi wrote: > Can this approach so

[iText-questions] [SPAM] Re: [SPAM] Re: [SPAM] Re: How to get style of the text of a PDF document

2013-03-26 Thread mkl
Kausik Porel, Kausik Porel wrote > For margin can I use TextMarginFinder class? If you assume the margin remain the same on the complete page, yes. If the margin can change somewhere on the page, you'll have to refine that class. Regards, Michael -- View this message in context: http://ite

Re: [iText-questions] ICC Profile for Images

2013-03-26 Thread Mandeep
So, If there is no profile how can i apply a default profile? i have tried it with IEC61966-2.1 from the example http://itextpdf.com/examples/iia.php?id=226, But there was no use and the images in the pdf's were still without a profile. -Mandeep On 2013-03-26, at 3:49 PM, Paulo Soares wrote:

Re: [iText-questions] Fwd: Issue in rendering Custom Urdu Font

2013-03-26 Thread Adnan Siddiqi
Can this approach solve the issue? http://www.mindfiresolutions.com/HTML-to-PDF-conversion-using-iTextsharp-1088.php On Tue, Mar 26, 2013 at 3:17 PM, Paulo Soares wrote: > Your font doesn't have the required chars. If it works elsewhere it's > because another font is being used as a substitute.

Re: [iText-questions] ICC Profile for Images

2013-03-26 Thread Paulo Soares
Your file doesn't have any icc profile. The IEC61966-2.1 profile is a default profile used by Acrobat and Photoshop if none is found. Look for the profile name in the file and you won't find it. Paulo On Tue, Mar 26, 2013 at 4:07 PM, Mandeep wrote: > sure thing, I understand, > Regards > Mandee

Re: [iText-questions] Copy from existing pdf and write to a new PDF, and export it to servlet GUI

2013-03-26 Thread Emi Lu
>> >> Is there a simple example about the following steps please? >> >> Purpose: Based on existing a.pdf, to write more info, and print through >> web servlet GUI. >> >> Steps to be done: >> (1) copy a.pdf to dynamic_pdf2.pdf > > Why do you need to copy a.pdf? Can't you just read a.pdf into a > Pdf

[iText-questions] [SPAM] Re: Problem is check underline/overstrike status of a character in PDF

2013-03-26 Thread mkl
wwkloo wrote > I am trying to check the underline and overstrike status of characters in > a PDF. > > I heard that underline and overstrike are achieved by graphical objects in > PDF. So I tried to detect the rectangle and line objects first. Based on > their position and the bounding box position

Re: [iText-questions] Copy from existing pdf and write to a new PDF, and export it to servlet GUI

2013-03-26 Thread 1T3XT BVBA
On 26/03/2013 17:16, Emi Lu wrote: > Hello, > > Is there a simple example about the following steps please? > > Purpose: Based on existing a.pdf, to write more info, and print through > web servlet GUI. > > Steps to be done: > (1) copy a.pdf to dynamic_pdf2.pdf Why do you need to copy a.pdf? Can't

[iText-questions] Copy from existing pdf and write to a new PDF, and export it to servlet GUI

2013-03-26 Thread Emi Lu
Hello, Is there a simple example about the following steps please? Purpose: Based on existing a.pdf, to write more info, and print through web servlet GUI. Steps to be done: (1) copy a.pdf to dynamic_pdf2.pdf (2) write to dynamic_pdf2.pdf (3) output dynamic_pdf2.pdf from servlet web GUI Thanks

Re: [iText-questions] Image in digital signature

2013-03-26 Thread 1T3XT BVBA
On 26/03/2013 17:37, Ainur wrote: > The reason and the location is setted in my app, so I can comment this lines. > The Date is setted in a request to a timestamp server and is part of the > digital signature, so i cant delete it. Please don't post "isolated" follow-ups. This was your original ques

Re: [iText-questions] Image in digital signature

2013-03-26 Thread Ainur
The reason and the location is setted in my app, so I can comment this lines. The Date is setted in a request to a timestamp server and is part of the digital signature, so i cant delete it. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Image-in-digital-signature-t

Re: [iText-questions] ICC Profile for Images

2013-03-26 Thread Paulo Soares
Please attach the image, don't paste it in the mail. Paulo On Tue, Mar 26, 2013 at 2:43 PM, Mandeep wrote: > Hi, > Here is an image with the sRGB IEC61966-2.1(8bpc) profile , Thanks again > for looking into it. > Regards > Mandeep > > Please provide an image with that profile so that the proble

[iText-questions] Signature Image is sometimes scaled down twice in 5.4.0 and trunk

2013-03-26 Thread Julien Faissolle
Hello, I am encountering a problem with the scaling of digital signature images. I am providing a SignatureAppearance with an Image 4 times bigger than the signature field. It ends up 4 times smaller. It seems that the problem lies in that the image is first scaled down in PdfAppearance.getAppeara

Re: [iText-questions] [SPAM] Re: [SPAM] Re: How to get style of the text of a PDF document

2013-03-26 Thread Kausik Porel
Hi Michael, For margin can I use TextMarginFinder class? Regards, Kausik Porel On Tue, Mar 26, 2013 at 1:52 AM, mkl wrote: > Kausik Porel wrote > > TextRenderInfo objects give me the font details and position. Is it > > possible to find the margin details also? I'm able to find the height and

Re: [iText-questions] Fwd: Issue in rendering Custom Urdu Font

2013-03-26 Thread Paulo Soares
Your font doesn't have the required chars. If it works elsewhere it's because another font is being used as a substitute. Can you post the ABCPDF pdf? Paulo On Tue, Mar 26, 2013 at 8:04 AM, Adnan Siddiqi wrote: > I got you but the same font has been working fine by using ABCPDF PDF > library. Th

[iText-questions] Image in digital signature

2013-03-26 Thread Ainur
I have signed my pdf correctly. Now I want to change a little the appearance of my visible signature. I would leave it so that the image looks just like a stamp, but I get over the image "Digitally signed by xxx. Yyyy Date. Reason Location L z". Is there any way to remove this text? -- View this

Re: [iText-questions] Fwd: Issue in rendering Custom Urdu Font

2013-03-26 Thread Adnan Siddiqi
I got you but the same font has been working fine by using ABCPDF PDF library. The only difference is that their Library has feature to use HTML/CSS font code and specify tag by using fontFamily which made it work. How could it be done in iTextSharp? /A On Mon, Mar 25, 2013 at 8:35 PM, Paulo So

Re: [iText-questions] Image only correct size on first page - images on other pages have smaller size

2013-03-26 Thread Marc Kleinebrummel
Thank you so much for your help. Version 5.4.0 fixed everything. To me, nothing in the changelog made the impression to fix this problem, so I stayed with the "old" version. Von: 1T3XT BVBA [mailto:i...@1t3xt.info] Gesendet: Montag, 25. März 2013 16:15 An: Post all your questions about iText here

[iText-questions] Mixed up text

2013-03-26 Thread Frederic Laruelle
Any idea why doing a text parse of the following doc in Java (Groovy): def url = " http://www.perspecsys.com/wp-content/uploads/2013/02/Java-Developer.pdf"; def reader = new PdfReader(new URL(url)) PdfTextExtractor.getTextFromPage(reader, 1) returns text that seems mixed up: "...Are you n aoutsta

[iText-questions] Success with Accessibility Tags but prints first page only

2013-03-26 Thread abhi_1983
Hi, We have been using iText to generate PDF reports. We have a 1 page PDF template(eg:Employee profile) which is populated at run time to generate reports. We use this template and generate a PDF report which will have multiple copies of this template(Profile report of multiple employees). PDF te