Hi,
We are using the iText v 2.0.3 which is under the Library GPL.
We need to change some code in the Library to accommodate OTF related
feature in an application that we are developing.
Could you please let us know as to what we would be required to do in
order to use this modified library in our commercial application.
Till now this what we have gathered from our understanding;
1. We would need to include a section in our license agreement that,
the source code of the "modified iText library" can be available on
demand
2. We would need to provide both iText original and modified jar along
with the installer
3. We would add a line in the classpath of the .bat files that are
used to start the application. By default it will point to the new
iText.jar
4. We would also additionally add a commented line, where we will have
the original iText.jar in the classpath, this is so that the customer
can always revert to the original third party implementation.
This feature is very specific to our application.
It's in the PdfGraphics2D.java,.
private BaseFont getCachedBaseFont(Font f) {
synchronized (baseFonts) {
BaseFont bf = null;
String fontName = f.getName();
if(fontName.contains("@IB@"))
{
String key = f.getName();
if(font.isBold())
{
key = key + ",Bold";
}
if(font.isItalic())
{
key = key + ",Italic";
}
bf = (BaseFont)baseFonts.get(key);
if (bf == null)
{
bf = fontMapper.awtToPdf(F);
baseFonts.put(key, bf);
}
}
else
{
bf = (BaseFont)baseFonts.get(f.getFontName());
if (bf == null)
{
bf = fontMapper.awtToPdf(F);
baseFonts.put(f.getFontName(), bf);
}
}
return bf;
}
}
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Urgent-Help-What-should-be-done-in-order-to-modify-and-use-iText-2-0-3-under-Library-GPL-Library-in-n-tp4471381p4471381.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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
[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