Re: [iText-questions] iTextAsian.jar question

2011-02-04 Thread joe.lau
I noticed that iTextAsian.jar still uses package from "com.lowagie.text.pdf.fonts/" instead of "com/itextpdf/text/pdf/fonts/" as in iText-5.0.5.jar. Is there a new version of iTextAsian.jar that uses "com/itextpdf/text/pdf/fonts/" as in iText-5.0.5.jar. [root@joelauok2 TMP]# jar -tvf iTextAsian

Re: [iText-questions] iTextAsian.jar question

2011-02-04 Thread joe.lau
I don't think it is my Acrobat Reader's problem becasue I saw the Chinese characters when I viewed the sample pdf file: http://examples.itextpdf.com/results/part3/chapter11/font_selection.pdf Only the pdf file that was created by me using the downloaded sample program does not show Chinese chara

Re: [iText-questions] iTextAsian.jar question

2011-02-04 Thread Paulo Soares
Your viewer doesn't have the fonts. If you are using Acrobat it should have prompted you to download the fonts. Paulo - Original Message - From: joe@emc.com To: itext-questions@lists.sourceforge.net Sent: Friday, February 04, 2011 10:06 PM Subject: Re: [iText-questions] i

Re: [iText-questions] iTextAsian.jar question

2011-02-04 Thread joe.lau
I simply downloaded FontSelectionExample.java from http://itextpdf.com/examples/iia.php?id=214 I did not make any change to the program. The program creates fonts this way: FontSelector selector = new FontSelector

Re: [iText-questions] iTextPDF support for AcrobatReader 10

2011-02-04 Thread perotin
I have a similar problem. A pdf is generated and Adobe Reader is started to display. No problem with Reader 4 to 9, but Reader X gives an error message unless protected mode is unchecked. Creating the pdf file in temp directory works with protected mode. I am still using iText 2, a test with iText

Re: [iText-questions] iTextAsian.jar question

2011-02-04 Thread Mark Storer
Fonts and encoding most likely. The font you choose must support the charaters you want to display, likewise with the encoding. Helvetica/WinAnsiEncoding isn't going to work no matter what jars are on your class path. We'll need to know more about how you're creating your fonts before we can g

[iText-questions] iTextAsian.jar question

2011-02-04 Thread joe.lau
Hi, I am new to iText. Sorry if my question has been asked before. I downloaded part3.chapter11.FontSelectionExample and iText-5.0.5.jar, and iTextAsian.jar. The program compiled and ran without any error. But the pdf file does not show any Asian (e.g Chinese) character as I expected from t

[iText-questions] ReaderX 'feature'

2011-02-04 Thread John Renfrew
Slightly off topic I know Leonard It's not a feature it's a PITA The new Reader, which will NOT allow me to remove (temp or permanent) the Comment and Share buttons or the floating toolbar icon or the dropdown next to it.. I use PDF a lot, which we create on the fly using iText runn

Re: [iText-questions] [Book] (Second Edition) understanding "8.7.1 Reader-enabling a form using Adobe Acrobat"

2011-02-04 Thread jmueto
Hi Leonard Am 03.02.2011 17:56, schrieb Leonard Rosenthol: > HUH?!? I don't know where you heard that it is a bug and we are fixing it - > but they are VERY CONFUSED. > > It's not a bug - it's a feature! > > Reader X now supports highlight and note comments on ALL PDFs. However, for > other ty

Re: [iText-questions] Little info about Rectangles

2011-02-04 Thread Nurettin DAG
You cannot really write inside the rectangle since it is just a graphical object. However, what you can do is to use the rectangle in hand to determine the x-y coordinates of where to start writing text using ColumnText.showTextAligned(pdfPContentByte, Element.ALIGN_CENTER, TeacherUse.PHR

[iText-questions] Little info about Rectangles

2011-02-04 Thread Yuri Sarzi
Hi, i'm trying to make a sort of labelling system, using your Rectangle class. It is quite simple to do, but now i'm in trouble with filling the rectangles with text.. I would like to write both horizontally and vertically in my rectangles! How do i can do? Please find attached my java class (it m

[iText-questions] Max font size in last line of ColumnText

2011-02-04 Thread Javier Martínez
I'm writing text using ColumnText (setSimpleColumn()), to control output to a PDF. iText outputs leading space at the top of every line it writes. I'm trying to simulate behavior of text processors, that output leading space after (at the bottom of) each line. I don't have any problem with the

Re: [iText-questions] PDF protection/Encryption - 'Detection'

2011-02-04 Thread crimeunit
Owkey, i finally found it, it128Key() Sorry. -- View this message in context: http://itext-general.2136553.n4.nabble.com/PDF-protection-Encryption-Detection-tp3257928p3260093.html Sent from the iText - General mailing list archive at Nabble.com. ---

Re: [iText-questions] PDF protection/Encryption - 'Detection'

2011-02-04 Thread crimeunit
Is their a directly method for make a condition on this? I looked in pdfreader, neither in pdfencryption, pdfencryptor or pdfstamper? -- View this message in context: http://itext-general.2136553.n4.nabble.com/PDF-protection-Encryption-Detection-tp3257928p3260002.html Sent from the iText - Gene

Re: [iText-questions] Document structure and marked content usingtemplates

2011-02-04 Thread asamaj
Mark, Thank you for your help, although the problem is not solved. " IIRC, its A Bad Thing to reuse your paragraph structure element the way you are. I believe the /T entry should contain the text of the marked content, not a description of the tag type... Nope, not quite. According to the P

[iText-questions] iText 5.0.6 is released

2011-02-04 Thread 1T3XT BVBA
Hello all, iText 5.0.6 has just been released. The most substantial changes are in the HTMLWorker functionality. Some new features were added, but most of all: the code has been rewritten to make it easier to extend. This will allow us to support more tags and styles soon (in iText 5.1.0). We al

Re: [iText-questions] PDF protection/Encryption - 'Detection'

2011-02-04 Thread 1T3XT BVBA
Op 4/02/2011 9:26, crimeunit schreef: > You think this is a good code, or need I check first on more printing-things > before I can say that the print is allowed or not? An extra check you may want to add, is whether 40-bit or 128-bit encryption is used. Some settings are only valid for 128-bit e

Re: [iText-questions] PDF protection/Encryption - 'Detection'

2011-02-04 Thread 1T3XT BVBA
Op 4/02/2011 9:11, crimeunit schreef:. > -> If I can print the document in Acrobat reader (doesn't matter via > print-icon or menu-file>Print), why iText isPrintingAllowed() shows me a > false boolean? I don't know, I know that this worked in the past, but maybe it doesn't work anymore. Did you c

Re: [iText-questions] PDF protection/Encryption - 'Detection'

2011-02-04 Thread crimeunit
No I did it like this (as attached) You think this is a good code, or need I check first on more printing-things before I can say that the print is allowed or not? The same question for Copy the text and/or images? Thanks, http://itext-general.2136553.n4.nabble.com/file/n3259815/Example_print_

Re: [iText-questions] PDF protection/Encryption - 'Detection'

2011-02-04 Thread crimeunit
Sorry, i don't understand it realy good, When I see at the security panel and details panel: the Printing is standing on 'allowed'. -> If I can print the document in Acrobat reader (doesn't matter via print-icon or menu-file>Print), why iText isPrintingAllowed() shows me a false boolean? How can