Op 7/03/2012 7:07, aneelmehta Mehta schreef:
Could you please brief me how to start and how it will be used in main library. I mean what interface /methods are required for library to use it.

Legal:
start by reading the code contribution policy: http://itextpdf.com/terms-of-use/policy.php You may have to sign a Contributor License Agreement before we are allowed to accept the code contribution.

Technical:
First download the source code using a SVN client.
Make sure you update on a regular basis so that you're always on the most recent version.
For inspiration, take a look at com/itextpdf/text/pdf/ArabicLigaturizer.java
To support Hindi, you'd need to write an IndicLigaturizer class.

Note that Arabic ligatures only work in PdfPCell and ColumnText.
Both of these classes use BidiLine. That's where all the magic happens.
Maybe you could work with a constant RUN_DIRECTION_LTR_INDIC and invoke the IndicLigaturizer when this parameter is used as the run direction.

That would be a good start (that would avoid breaking any existing code).

Happy coding!
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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 via email to