Re: [iText-questions] Problems with FontSize and TextRenderInfo length while parsing itext

2012-11-08 Thread jian li
Itext can't get character width if it is using type3 font. Does Itext can not parse type3 font correctly? Any suggestion? Thanks very much On Thu, Nov 8, 2012 at 10:39 AM, jian li wrote: > Hi, ALL: > here is my problem. While parsing pdf using IText, I found some > textRenderInfo has same s

[iText-questions] Color Inverted after MakeMask of a Packedbit TIFF image

2012-11-08 Thread Peter Suen
I try to make a monochrome tiff image to transparent with MakeMask() in a PDF. It works on a CCITTT6 Tiff image, However when I do with a PackedBit Tiff Image, Its color was inverted after img.MakeMask(), and the content become transparent. Then I try to trace with iTextSharp's Source code, and I

Re: [iText-questions] How to insert bold text in VerticalText

2012-11-08 Thread Xavier
I'll do it in a few days only. I have iText in action first edition only -- View this message in context: http://itext-general.2136553.n4.nabble.com/How-to-insert-bold-text-in-VerticalText-tp4656887p4656902.html Sent from the iText - General mailing list archive at Nabble.com. ---

Re: [iText-questions] How to insert bold text in VerticalText

2012-11-08 Thread jian li
read chapter 11 of "itext in action 2". On Fri, Nov 9, 2012 at 1:36 PM, Xavier wrote: > Just as a complement about the mailing list, I registered at least three > times to the mailing list. I don't know how what to do to appears as a > member. > > > > -- > View this message in context: > http:/

Re: [iText-questions] How to insert bold text in VerticalText

2012-11-08 Thread Xavier
Thanks for your help. I already made some tests with the different font as specifed in the book and for different languages. Chinese (STSong-Light,UniGB-UCS2-H), Japanese (KozMinPro-Regular, UniJIS-UCS2-H or V) before trying to use the VerticalText element. Using a direct document.add( new Phrase

Re: [iText-questions] How to insert bold text in VerticalText

2012-11-08 Thread Xavier
Just as a complement about the mailing list, I registered at least three times to the mailing list. I don't know how what to do to appears as a member. -- View this message in context: http://itext-general.2136553.n4.nabble.com/How-to-insert-bold-text-in-VerticalText-tp4656887p4656900.html Sent

Re: [iText-questions] Unknown ecnryption type R=6

2012-11-08 Thread mcnamaragio
As there are already apps producing files with this encryption scheme (Revision=6) is there any chance to have it supported before it is finalized? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Unknown-ecnryption-type-R-6-tp4656881p4656898.html Sent from the iText

Re: [iText-questions] Words wrapping problems in Korean

2012-11-08 Thread vicchugu
I've send sample code to you gmail account. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Words-wrapping-problems-in-Korean-tp4656795p4656894.html Sent from the iText - General mailing list archive at Nabble.com. ---

Re: [iText-questions] Cannot set a collection dictionary from a PdfStamper instance

2012-11-08 Thread iText Info
Op 8/11/2012 18:46, Brian Bernstein schreef: > That being said, is there any particular reason why the method to > write a Collection on PdfWriter is called setCollection while the same > method on PdfStamper is called makePackage? If there is one, I don't remember. I must admit that I also had to

Re: [iText-questions] Cannot set a collection dictionary from a PdfStamper instance

2012-11-08 Thread Brian Bernstein
Thank you. That solved my issue. That being said, is there any particular reason why the method to write a Collection on PdfWriter is called setCollection while the same method on PdfStamper is called makePackage? It seems a little bit confusing. Had the methods been named the same, I probably

Re: [iText-questions] Cannot set a collection dictionary from a PdfStamper instance

2012-11-08 Thread iText Info
Op 8/11/2012 17:14, Bernie schreef: > I am trying to create a pdf portfolio by embedding one or more pdf files into > a "portfolio" file. > > When creating this portfolio file from scratch, with PdfWriter and a > Document, the collection is set as expected. However, if I try to set the > collectio

Re: [iText-questions] Unknown ecnryption type R=6

2012-11-08 Thread Bruno Lowagie
Op 8/11/2012 15:45, Leonard Rosenthol schreef: > I think you SHOULD join the committee - been telling you that for a while I joined the NBN and now I get plenty of mail regarding all kinds of ISO-standards. I've read PDF/UA, PDF/A-3 and I posted some comments to the NBN (they were forwarded to t

Re: [iText-questions] Set field read-only

2012-11-08 Thread iText Info
Op 8/11/2012 11:52, Danilo Nicolò schreef: > Hi all, > > I have a question. Is it possible to set read-only fields of pdf created > with adobe livecycle? I tried > > acroff.setFieldProperty(id, "setfflags", PdfFormField.FF_READ_ONLY, null); > > but it doens't work when I open pdf I can write to fie

[iText-questions] Cannot set a collection dictionary from a PdfStamper instance

2012-11-08 Thread Bernie
I am trying to create a pdf portfolio by embedding one or more pdf files into a "portfolio" file. When creating this portfolio file from scratch, with PdfWriter and a Document, the collection is set as expected. However, if I try to set the collection on an already existing pdf document, using Pd

Re: [iText-questions] How to insert bold text in VerticalText

2012-11-08 Thread iText Info
First this: please register to the mailing-list. You may assume that you are registered, but you are not. See http://lowagie.com/nabble Op 8/11/2012 11:12, Xavier schreef: > Hello guys, > > I try to create a vertical text with normal and bold text. For this to work you need to use a font family s

[iText-questions] How to insert bold text in VerticalText

2012-11-08 Thread Xavier
Hello guys, I try to create a vertical text with normal and bold text. My text is in chinese. I use UTF-8 encoding for wording integration from an external file. I use arialuni.ttf font. When working with simple document.add(new Phrase(myText,myFont)) in an Horizontal format, everything is ok.

Re: [iText-questions] Unknown ecnryption type R=6

2012-11-08 Thread Leonard Rosenthol
I think you SHOULD join the committee - been telling you that for a whileŠ As to why we "slowed down", it's because it was felt that it was better to do some key work now and get it into 2.0 than having to do a 2.1Š Leonard On 11/8/12 12:05 AM, "Bruno Lowagie" wrote: >Op 8/11/2012 0:11, Leona

[iText-questions] Set field read-only

2012-11-08 Thread Danilo Nicolò
Hi all, I have a question. Is it possible to set read-only fields of pdf created with adobe livecycle? I tried acroff.setFieldProperty(id, "setfflags", PdfFormField.FF_READ_ONLY, null); but it doens't work when I open pdf I can write to field. Thanks. Regards, Danilo ---

Re: [iText-questions] Unknown ecnryption type R=6

2012-11-08 Thread Bruno Lowagie
Op 8/11/2012 0:11, Leonard Rosenthol schreef: > Actually, it just went back to being a CD:(. Not going to be a standard > till probably early 2014 at the rate things are going:(. Oh boy, I hope you're being too pessimistic here. I've just done a "what's new in PDF 2.0 talk at a conference." May

Re: [iText-questions] My HTML does not print all content on A4

2012-11-08 Thread iText Info
Op 7/11/2012 20:18, Alessandro Teixeira schreef: > My first appearance on this list. Yes, sorry, I fear you won't get an answer. Your question is good, and you're providing a sample and all, but... this is typically something we look at on the paid support ticketing system. I fear there are very