Quantcast

(no subject)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

(no subject)

Vahid
Hello,
I have updated a working solution (iTextSharp) to the latest svn and now I'm getting this exception:
 
"Destination array is not long enough to copy all the items in the collection. Check array index and length."
Here in TtfUnicodeWriter class on line 22:
 
int[][] metrics = new int[0][];
line 22: longTag.Values.CopyTo(metrics, 0);
Array.Sort(metrics, font);

probably you should change it to
int[][] metrics = new int[longTag.Values.Count][];

------------------------------------------------------------------------------
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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: (no subject)

iText Software
On 30/07/2012 15:10, Vahid Nasiri wrote:
> I have updated a working solution (iTextSharp) to the latest svn

If you use a version from SVN, there's always a risk it won't work.
We're currently porting iText 5.3.1 (the Java version) to iTextSharp
5.3.1 (the C# version). During this process, some thing can get broken.
Thank you for the suggestion for the fix, look out for the iTextSharp
5.3.1 release (there's always about a week between the iText release and
the iTextSharp release).

------------------------------------------------------------------------------
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
[hidden email]
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
Loading...