Re: [iText-questions] Possible defect: Does not display unicodeafter "Flattening"

2009-11-07 Thread Paulo Soares
You must add a substitution font in AcroFields.

Paulo

- Original Message - 
From: "Aftab Mahmood" 
To: "Post all your questions about iText here" 

Sent: Saturday, November 07, 2009 8:09 PM
Subject: Re: [iText-questions] Possible defect: Does not display 
unicodeafter "Flattening"


I have attached before "test_utf_3.pdf" and after "generatedPdf.pdf" files. 
I have also attached the code that I am using to fill in forms.

 I have verified that
#1- at the time the value is set in the code, the debugger shows correct 
value unicode value for the AcroField.
#2 - if I don not "flatten" the fields then "generatedPdf.pdf" show unicode 
text correctly.

So I don't think it is font issue until unless there is a special 
requirement for an additional font setup before "Flattening" . Is it?

--
Aftab


On Sat, Nov 7, 2009 at 12:59 AM, 1T3XT info 
mailto:i...@1t3xt.info>> wrote:
Aftab Mahmood wrote:
>
> When I fill in a pdf form using itext and then flatten it by
> "stamp.setFormFlattening(true)" . then resulting pdf does not show
> Unicode text in any pdf reader. Is it known limitation?
> Which iText class should I use to read contents of a page from the pdf 
> file?

Maybe you aren't providing the fonts that allow flattening.
I can't tell for sure, I don't know what you're doing.
Nor do I know what you get as result.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] IDENTITY-H encoding in iText

2009-11-07 Thread Paulo Soares
I don't see anything wrong with the file and the pre-flight in Acrobat 
doesn't complain. What errors do you get?

Paulo

- Original Message - 
From: "Mathias Nilsson" 
To: 
Sent: Saturday, November 07, 2009 12:25 PM
Subject: Re: [iText-questions] IDENTITY-H encoding in iText





Mathias Nilsson wrote:
>
> I'm using Ghostscript 8.7 and I can't see any newer version.
>
> / Mathias
>
Here is the file I'm working with
http://old.nabble.com/file/p26240922/test.pdf test.pdf
-- 
View this message in context: 
http://old.nabble.com/IDENTITY-H-encoding-in-iText-tp26230847p26240922.html
Sent from the iText - General mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] IDENTITY-H encoding in iText

2009-11-07 Thread Mathias Nilsson



Mathias Nilsson wrote:
> 
> I'm using Ghostscript 8.7 and I can't see any newer version. 
> 
> / Mathias
> 
Here is the file I'm working with
http://old.nabble.com/file/p26240922/test.pdf test.pdf 
-- 
View this message in context: 
http://old.nabble.com/IDENTITY-H-encoding-in-iText-tp26230847p26240922.html
Sent from the iText - General mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] IDENTITY-H encoding in iText

2009-11-07 Thread Mathias Nilsson

I'm using Ghostscript 8.7 and I can't see any newer version. 

/ Mathias
-- 
View this message in context: 
http://old.nabble.com/IDENTITY-H-encoding-in-iText-tp26230847p26240921.html
Sent from the iText - General mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Best practice to add an empty row in a PdfPTable (assumption to be verified)

2009-11-07 Thread 1T3XT info
martin.we...@mw-informatik.ch wrote:
> Hi all iText cracks,
> I know, I very basic question. But to my surprise I have not found an answer 
> neither in the newsgroup nor in the book.
> 
> My assumption (PdfPTable with 4 columns):
> => PdfPCell.setColspan(4);
> 
> Correct ?

If the row is really empty, then the row will have zero height, and it 
will not be visible as such. Of course: if you define a minimumHeight 
(or a fixed height), then it will work.

This won't be in the new book either, because adding an empty row... 
Isn't that rather unusual? As you say yourself: it's the first time the 
question pops up on the mailing-list.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] Best practice to add an empty row in a PdfPTable (assumption to be verified)

2009-11-07 Thread martin . weiss
Hi all iText cracks,
I know, I very basic question. But to my surprise I have not found an answer 
neither in the newsgroup nor in the book.

My assumption (PdfPTable with 4 columns):
=> PdfPCell.setColspan(4);

Correct ?
Thanks a lot and kind regards,
Martin

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Possible defect: Does not display unicode after "Flattening"

2009-11-07 Thread 1T3XT info
Aftab Mahmood wrote:
> 
> When I fill in a pdf form using itext and then flatten it by 
> "stamp.setFormFlattening(true)" . then resulting pdf does not show 
> Unicode text in any pdf reader. Is it known limitation?
> Which iText class should I use to read contents of a page from the pdf file?

Maybe you aren't providing the fonts that allow flattening.
I can't tell for sure, I don't know what you're doing.
Nor do I know what you get as result.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] FW: Invisible links

2009-11-07 Thread 1T3XT info
I won't repeat what has been said here,
I'll only add this: Amen!

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/