xref: /plugin/dw2pdf/vendor/mpdf/qrcode/LICENSE (revision fb347f35dc824cf59875d883dbf86d311f54de06)
1*fb347f35SAndreas Gohr                  GNU LESSER GENERAL PUBLIC LICENSE
2*fb347f35SAndreas Gohr                       Version 3, 29 June 2007
3*fb347f35SAndreas Gohr
4*fb347f35SAndreas Gohr Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5*fb347f35SAndreas Gohr Everyone is permitted to copy and distribute verbatim copies
6*fb347f35SAndreas Gohr of this license document, but changing it is not allowed.
7*fb347f35SAndreas Gohr
8*fb347f35SAndreas Gohr
9*fb347f35SAndreas Gohr  This version of the GNU Lesser General Public License incorporates
10*fb347f35SAndreas Gohrthe terms and conditions of version 3 of the GNU General Public
11*fb347f35SAndreas GohrLicense, supplemented by the additional permissions listed below.
12*fb347f35SAndreas Gohr
13*fb347f35SAndreas Gohr  0. Additional Definitions.
14*fb347f35SAndreas Gohr
15*fb347f35SAndreas Gohr  As used herein, "this License" refers to version 3 of the GNU Lesser
16*fb347f35SAndreas GohrGeneral Public License, and the "GNU GPL" refers to version 3 of the GNU
17*fb347f35SAndreas GohrGeneral Public License.
18*fb347f35SAndreas Gohr
19*fb347f35SAndreas Gohr  "The Library" refers to a covered work governed by this License,
20*fb347f35SAndreas Gohrother than an Application or a Combined Work as defined below.
21*fb347f35SAndreas Gohr
22*fb347f35SAndreas Gohr  An "Application" is any work that makes use of an interface provided
23*fb347f35SAndreas Gohrby the Library, but which is not otherwise based on the Library.
24*fb347f35SAndreas GohrDefining a subclass of a class defined by the Library is deemed a mode
25*fb347f35SAndreas Gohrof using an interface provided by the Library.
26*fb347f35SAndreas Gohr
27*fb347f35SAndreas Gohr  A "Combined Work" is a work produced by combining or linking an
28*fb347f35SAndreas GohrApplication with the Library.  The particular version of the Library
29*fb347f35SAndreas Gohrwith which the Combined Work was made is also called the "Linked
30*fb347f35SAndreas GohrVersion".
31*fb347f35SAndreas Gohr
32*fb347f35SAndreas Gohr  The "Minimal Corresponding Source" for a Combined Work means the
33*fb347f35SAndreas GohrCorresponding Source for the Combined Work, excluding any source code
34*fb347f35SAndreas Gohrfor portions of the Combined Work that, considered in isolation, are
35*fb347f35SAndreas Gohrbased on the Application, and not on the Linked Version.
36*fb347f35SAndreas Gohr
37*fb347f35SAndreas Gohr  The "Corresponding Application Code" for a Combined Work means the
38*fb347f35SAndreas Gohrobject code and/or source code for the Application, including any data
39*fb347f35SAndreas Gohrand utility programs needed for reproducing the Combined Work from the
40*fb347f35SAndreas GohrApplication, but excluding the System Libraries of the Combined Work.
41*fb347f35SAndreas Gohr
42*fb347f35SAndreas Gohr  1. Exception to Section 3 of the GNU GPL.
43*fb347f35SAndreas Gohr
44*fb347f35SAndreas Gohr  You may convey a covered work under sections 3 and 4 of this License
45*fb347f35SAndreas Gohrwithout being bound by section 3 of the GNU GPL.
46*fb347f35SAndreas Gohr
47*fb347f35SAndreas Gohr  2. Conveying Modified Versions.
48*fb347f35SAndreas Gohr
49*fb347f35SAndreas Gohr  If you modify a copy of the Library, and, in your modifications, a
50*fb347f35SAndreas Gohrfacility refers to a function or data to be supplied by an Application
51*fb347f35SAndreas Gohrthat uses the facility (other than as an argument passed when the
52*fb347f35SAndreas Gohrfacility is invoked), then you may convey a copy of the modified
53*fb347f35SAndreas Gohrversion:
54*fb347f35SAndreas Gohr
55*fb347f35SAndreas Gohr   a) under this License, provided that you make a good faith effort to
56*fb347f35SAndreas Gohr   ensure that, in the event an Application does not supply the
57*fb347f35SAndreas Gohr   function or data, the facility still operates, and performs
58*fb347f35SAndreas Gohr   whatever part of its purpose remains meaningful, or
59*fb347f35SAndreas Gohr
60*fb347f35SAndreas Gohr   b) under the GNU GPL, with none of the additional permissions of
61*fb347f35SAndreas Gohr   this License applicable to that copy.
62*fb347f35SAndreas Gohr
63*fb347f35SAndreas Gohr  3. Object Code Incorporating Material from Library Header Files.
64*fb347f35SAndreas Gohr
65*fb347f35SAndreas Gohr  The object code form of an Application may incorporate material from
66*fb347f35SAndreas Gohra header file that is part of the Library.  You may convey such object
67*fb347f35SAndreas Gohrcode under terms of your choice, provided that, if the incorporated
68*fb347f35SAndreas Gohrmaterial is not limited to numerical parameters, data structure
69*fb347f35SAndreas Gohrlayouts and accessors, or small macros, inline functions and templates
70*fb347f35SAndreas Gohr(ten or fewer lines in length), you do both of the following:
71*fb347f35SAndreas Gohr
72*fb347f35SAndreas Gohr   a) Give prominent notice with each copy of the object code that the
73*fb347f35SAndreas Gohr   Library is used in it and that the Library and its use are
74*fb347f35SAndreas Gohr   covered by this License.
75*fb347f35SAndreas Gohr
76*fb347f35SAndreas Gohr   b) Accompany the object code with a copy of the GNU GPL and this license
77*fb347f35SAndreas Gohr   document.
78*fb347f35SAndreas Gohr
79*fb347f35SAndreas Gohr  4. Combined Works.
80*fb347f35SAndreas Gohr
81*fb347f35SAndreas Gohr  You may convey a Combined Work under terms of your choice that,
82*fb347f35SAndreas Gohrtaken together, effectively do not restrict modification of the
83*fb347f35SAndreas Gohrportions of the Library contained in the Combined Work and reverse
84*fb347f35SAndreas Gohrengineering for debugging such modifications, if you also do each of
85*fb347f35SAndreas Gohrthe following:
86*fb347f35SAndreas Gohr
87*fb347f35SAndreas Gohr   a) Give prominent notice with each copy of the Combined Work that
88*fb347f35SAndreas Gohr   the Library is used in it and that the Library and its use are
89*fb347f35SAndreas Gohr   covered by this License.
90*fb347f35SAndreas Gohr
91*fb347f35SAndreas Gohr   b) Accompany the Combined Work with a copy of the GNU GPL and this license
92*fb347f35SAndreas Gohr   document.
93*fb347f35SAndreas Gohr
94*fb347f35SAndreas Gohr   c) For a Combined Work that displays copyright notices during
95*fb347f35SAndreas Gohr   execution, include the copyright notice for the Library among
96*fb347f35SAndreas Gohr   these notices, as well as a reference directing the user to the
97*fb347f35SAndreas Gohr   copies of the GNU GPL and this license document.
98*fb347f35SAndreas Gohr
99*fb347f35SAndreas Gohr   d) Do one of the following:
100*fb347f35SAndreas Gohr
101*fb347f35SAndreas Gohr       0) Convey the Minimal Corresponding Source under the terms of this
102*fb347f35SAndreas Gohr       License, and the Corresponding Application Code in a form
103*fb347f35SAndreas Gohr       suitable for, and under terms that permit, the user to
104*fb347f35SAndreas Gohr       recombine or relink the Application with a modified version of
105*fb347f35SAndreas Gohr       the Linked Version to produce a modified Combined Work, in the
106*fb347f35SAndreas Gohr       manner specified by section 6 of the GNU GPL for conveying
107*fb347f35SAndreas Gohr       Corresponding Source.
108*fb347f35SAndreas Gohr
109*fb347f35SAndreas Gohr       1) Use a suitable shared library mechanism for linking with the
110*fb347f35SAndreas Gohr       Library.  A suitable mechanism is one that (a) uses at run time
111*fb347f35SAndreas Gohr       a copy of the Library already present on the user's computer
112*fb347f35SAndreas Gohr       system, and (b) will operate properly with a modified version
113*fb347f35SAndreas Gohr       of the Library that is interface-compatible with the Linked
114*fb347f35SAndreas Gohr       Version.
115*fb347f35SAndreas Gohr
116*fb347f35SAndreas Gohr   e) Provide Installation Information, but only if you would otherwise
117*fb347f35SAndreas Gohr   be required to provide such information under section 6 of the
118*fb347f35SAndreas Gohr   GNU GPL, and only to the extent that such information is
119*fb347f35SAndreas Gohr   necessary to install and execute a modified version of the
120*fb347f35SAndreas Gohr   Combined Work produced by recombining or relinking the
121*fb347f35SAndreas Gohr   Application with a modified version of the Linked Version. (If
122*fb347f35SAndreas Gohr   you use option 4d0, the Installation Information must accompany
123*fb347f35SAndreas Gohr   the Minimal Corresponding Source and Corresponding Application
124*fb347f35SAndreas Gohr   Code. If you use option 4d1, you must provide the Installation
125*fb347f35SAndreas Gohr   Information in the manner specified by section 6 of the GNU GPL
126*fb347f35SAndreas Gohr   for conveying Corresponding Source.)
127*fb347f35SAndreas Gohr
128*fb347f35SAndreas Gohr  5. Combined Libraries.
129*fb347f35SAndreas Gohr
130*fb347f35SAndreas Gohr  You may place library facilities that are a work based on the
131*fb347f35SAndreas GohrLibrary side by side in a single library together with other library
132*fb347f35SAndreas Gohrfacilities that are not Applications and are not covered by this
133*fb347f35SAndreas GohrLicense, and convey such a combined library under terms of your
134*fb347f35SAndreas Gohrchoice, if you do both of the following:
135*fb347f35SAndreas Gohr
136*fb347f35SAndreas Gohr   a) Accompany the combined library with a copy of the same work based
137*fb347f35SAndreas Gohr   on the Library, uncombined with any other library facilities,
138*fb347f35SAndreas Gohr   conveyed under the terms of this License.
139*fb347f35SAndreas Gohr
140*fb347f35SAndreas Gohr   b) Give prominent notice with the combined library that part of it
141*fb347f35SAndreas Gohr   is a work based on the Library, and explaining where to find the
142*fb347f35SAndreas Gohr   accompanying uncombined form of the same work.
143*fb347f35SAndreas Gohr
144*fb347f35SAndreas Gohr  6. Revised Versions of the GNU Lesser General Public License.
145*fb347f35SAndreas Gohr
146*fb347f35SAndreas Gohr  The Free Software Foundation may publish revised and/or new versions
147*fb347f35SAndreas Gohrof the GNU Lesser General Public License from time to time. Such new
148*fb347f35SAndreas Gohrversions will be similar in spirit to the present version, but may
149*fb347f35SAndreas Gohrdiffer in detail to address new problems or concerns.
150*fb347f35SAndreas Gohr
151*fb347f35SAndreas Gohr  Each version is given a distinguishing version number. If the
152*fb347f35SAndreas GohrLibrary as you received it specifies that a certain numbered version
153*fb347f35SAndreas Gohrof the GNU Lesser General Public License "or any later version"
154*fb347f35SAndreas Gohrapplies to it, you have the option of following the terms and
155*fb347f35SAndreas Gohrconditions either of that published version or of any later version
156*fb347f35SAndreas Gohrpublished by the Free Software Foundation. If the Library as you
157*fb347f35SAndreas Gohrreceived it does not specify a version number of the GNU Lesser
158*fb347f35SAndreas GohrGeneral Public License, you may choose any version of the GNU Lesser
159*fb347f35SAndreas GohrGeneral Public License ever published by the Free Software Foundation.
160*fb347f35SAndreas Gohr
161*fb347f35SAndreas Gohr  If the Library as you received it specifies that a proxy can decide
162*fb347f35SAndreas Gohrwhether future versions of the GNU Lesser General Public License shall
163*fb347f35SAndreas Gohrapply, that proxy's public statement of acceptance of any version is
164*fb347f35SAndreas Gohrpermanent authorization for you to choose that version for the
165*fb347f35SAndreas GohrLibrary.
166