I would like to say that the PDF file is created using http://www.tcpdf.org
and PHP. So the creation of the document is as :
/
// create new PDF document
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true,
'UTF-8', false);
// set document information
$pdf->SetCreator(PDF_CREATOR);
$pdf->SetAuthor('Nicola Asuni');
$pdf->SetTitle('TCPDF Example 061');
$pdf->SetSubject('TCPDF Tutorial');
$pdf->SetKeywords('TCPDF, PDF, example, test, guide');/
So , basically the code is from the official example and should be right.
On the other hand the document info looks like this
http://itext-general.2136553.n4.nabble.com/file/n4655426/info.png info.png .
If I manually type strings the exception is not thrown.
Well I have not so mach knoledge with PHP, but it seems to be file to me.
And what comes in mind is why the exception is not thrown with iText5.1.2?
Best Regards
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/ClassCastException-when-using-iText5-2-1-tp4655413p4655426.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php