Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts

2013-08-28 Thread Yusuf Poonawala
I rolled back through the past versions of Firefox to confirm that this was introduced in Firefox 19 - which is the first version with the new built-in PDF.js viewer. So, this has never worked in Mozilla's PDF viewer. Very disappointed with Mozilla, hopefully they fix this soon. Yusuf Poonawala

[iText-questions] display contents of listview in pdf - Version 5.4.3

2013-08-28 Thread Alana Thaxton
I have a list of events that is working perfectly on my site. Here is the code: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="EventList.ascx.cs" Inherits="Objects_EventList" %> <%# Eval("EventName").ToStrin

Re: [iText-questions] Allow malformed trailer/ID

2013-08-28 Thread Ivan B . Gregor
Leonard Rosenthol adobe.com> writes: > > On 8/28/13 2:11 AM, "Ivan B. Gregor" gmail.com> wrote: > > >As far as I remember this method was pioneerd by Adobe InDesign, the first > >full unicode Windows version, I do not remember the number. > > Nope, predates ID. First appeared (at least from

Re: [iText-questions] Fonts are merged although they should not

2013-08-28 Thread Ivan B . Gregor
Paulo Soares gmail.com> writes: > > PdfSmartCopy will consolidate structures if they are the same and > wouldn't do it for this case (they are different). Thanks for the hint about PdfSmartCopy. Changing PdfSmartCopy to PdfCopy fixed the issue for me. > PdfStamper will > never consolidate str

Re: [iText-questions] Insert custom dictionary in pdf file

2013-08-28 Thread skorpion
mkl wrote >> dpi.addPieceInfo(os, reader, appName, dataName, new PdfString("prova")); > That method does not accept an OutputStream. The OutPutStream parameter is and old prove that I haven't delete, sorry. I did not realize that I have to use a different OutputStream object. If I want overwrite

Re: [iText-questions] Fonts are merged although they should not

2013-08-28 Thread Paulo Soares
PdfSmartCopy will consolidate structures if they are the same and wouldn't do it for this case (they are different). PdfStamper will never consolidate structures. Please provide the original PDF and a small standalone example so that the eventual problem can be reproduced. Paulo On Wed, Aug 28, 2

[iText-questions] [SPAM] Re: Insert custom dictionary in pdf file

2013-08-28 Thread mkl
skorpion wrote > Yes i found it here, but don't store the data. I write here what I've > done: The code you posted does not even compile: > dpi.addPieceInfo(os, reader, appName, dataName, new PdfString("prova")); That method does not accept an OutputStream. The major conceptional error is, thou

[iText-questions] Fonts are merged although they should not

2013-08-28 Thread Ivan B . Gregor
> Gmane says I'm top-posting. I'm not! Hi, I'm not sure where to report a bug. I think I'll be able to fix it myself using some help of those knowing better. Question is at the very end. Original file has these structures: 27 0 obj <> -- 28 0 obj <> -- 33 0 obj <> /W[0[750]48[833.007812]68[55

Re: [iText-questions] Insert custom dictionary in pdf file

2013-08-28 Thread skorpion
Yes i found it here, but don't store the data. I write here what I've done: if(!file.exists()){ Document document = new Document(); FileOutputStream os = new FileOutputStream("prova.pdf"); try { writer = PdfWriter.getInstance(document, os); d

[iText-questions] [SPAM] Re: Insert custom dictionary in pdf file

2013-08-28 Thread mkl
skorpion wrote > I have a problem with the PdfDictionary, I insert in a PdfDictionary a > value using this class that I have found on internet > > public class DocumentPieceInfo > { > [...] > } > > But with this method if I close the program and I re-open for read the > PdfDictionary in PDF f

[iText-questions] Insert custom dictionary in pdf file

2013-08-28 Thread skorpion
Hi to everyone, I have a problem with the PdfDictionary, I insert in a PdfDictionary a value using this class that I have found on internet public class DocumentPieceInfo { static PdfName PIECE_INFO = new PdfName("PieceInfo"); static PdfName LAST_MODIFIED = new PdfName("LastModified");

Re: [iText-questions] Allow malformed trailer/ID

2013-08-28 Thread Leonard Rosenthol
On 8/28/13 2:11 AM, "Ivan B. Gregor" wrote: >As far as I remember this method was pioneerd by Adobe InDesign, the first >full unicode Windows version, I do not remember the number. Nope, predates ID. First appeared (at least from Adobe) in a version of the PDFMakers for Office, IIRC. And that

[iText-questions] Signing invisible signature field

2013-08-28 Thread c1409
Hello, I'm using iText 4.1.6 to sign PDF documents. What I try to achieve is to certificate document and then apply approval signature. I have done first step, certified document and added empty invisible signature field. public void SignFirstTime() { var reader = new