简体   繁体   English

iText 5.4.2 是开源的吗?

[英]Is iText 5.4.2 open source?

I would like to know whether iText 5.4.2 is a open source.我想知道 iText 5.4.2 是否是开源的。 I know it is described here well:我知道这里描述得很好:

http://itextpdf.com/terms-of-use/index.php http://itextpdf.com/terms-of-use/index.php

But I am confused as the page also says this:但我很困惑,因为该页面还说:

Buying such a license is mandatory as soon as you develop commercial activities distributing the iText software inside your product or deploying it on a network without disclosing the source code of your own applications under the AGPL license.一旦您开发了在您的产品中分发 iText 软件或将其部署在网络上的商业活动,而无需在 AGPL 许可下披露您自己的应用程序的源代码,就必须购买此类许可。 These activities include: offering paid services to customers as an ASP, serving PDFs on the fly in the cloud or in a web application, shipping iText with a closed source product.这些活动包括:作为 ASP 向客户提供付费服务、在云端或 Web 应用程序中即时提供 PDF、使用封闭源代码产品发布 iText。

AGPL stands for Affero GPL . AGPL 代表Affero GPL

It basically says, when you want to sell a software product that includes iText or use iText in any commercial webservice, than you need to buy a license.基本上是说,当您想销售包含 iText 的软件产品或在任何商业网络服务中使用 iText 时,您需要购买许可证。

If you do an open source (with an approriate license) or private project, than you are fine and don't need to buy a license.如果您从事开源(具有适当的许可证)或私人项目,那么您就可以了,不需要购买许可证。

The last iText version released under a less restrictive license was iText 2.1.7 (java) and 4.1.6 (c#).在限制较少的许可下发布的最后一个 iText 版本是 iText 2.1.7 (java) 和 4.1.6 (c#)。 It was both released under MPL / LGPL.它都是在 MPL / LGPL 下发布的。 Even though the authors removed it from the sourceforge page you are able to find it in many places in the web (eg maven central).即使作者从 sourceforge 页面中删除了它,您仍然可以在网络的许多地方找到它(例如 maven central)。 Those versions are from 2009 and still do their job fine, if you need the latest pdf features however (newer versions of digital signatures, ...) or experience a bug you may have to use the latest version...这些版本来自 2009 年并且仍然可以正常工作,但是如果您需要最新的 pdf 功能(较新版本的数字签名,...)或遇到错误,您可能必须使用最新版本...

Update : There was an unofficial java version 4.2.0 but you have to build it for yourself.更新:有一个非官方的 Java 版本 4.2.0,但您必须自己构建它。

Update II : There is a fork called ' OpenPDF ' which continues based on that version.更新二:有一个名为“ OpenPDF ”的分支,它继续基于该版本。 Today I would use that project.今天我会使用那个项目。

The short answer is, yes, iText is open source.简短的回答是,是的,iText 是开源的。 The long answer is the next paragraph.长答案是下一段。

The Affero GPL provides some restrictions, which they would be happy to remove, if you buy a license. Affero GPL 提供了一些限制,如果您购买许可证,他们会很乐意删除这些限制。 For example, you must disclose your source code for apps based on iText, but if you do not want to do that, you can buy a commercial license, freeing you from the AGPL.例如,您必须公开基于 iText 的应用程序的源代码,但如果您不想这样做,您可以购买商业许可证,从而将您从 AGPL 中解放出来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM