Skip to content

Commit 8f13336

Browse files
committed
Added gradle support
1 parent cd4a117 commit 8f13336

File tree

440 files changed

+578
-168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

440 files changed

+578
-168
lines changed

.gitattributes

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# These are explicitly windows files and should use crlf
5+
*.bat text eol=crlf
6+

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ Example*.pdf
1313
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
1414
hs_err_pid*
1515
/bin
16+
17+
# Ignore Gradle project-specific cache directory
18+
.gradle
19+
20+
# Ignore Gradle build output directory
21+
build

LICENSE

+20-19
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
1-
© 2015 Innovatics Inc.
1+
BSD 2-Clause License
22

3+
Copyright (c) 2020, edragoev1
34
All rights reserved.
45

5-
Redistribution and use in source and binary forms, with or without modification,
6-
are permitted provided that the following conditions are met:
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
78

8-
* Redistributions of source code must retain the above copyright notice,
9-
this list of conditions and the following disclaimer.
10-
* Redistributions in binary form must reproduce the above copyright notice,
11-
this list of conditions and the following disclaimer in the documentation
12-
and/or other materials provided with the distribution.
9+
1. Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
1311

14-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
15-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
16-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
17-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
18-
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19-
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20-
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21-
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
22-
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
23-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12+
2. Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PDFjet.README

-23
This file was deleted.

README.md

+20-9
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
1-
pdfjet
2-
======
1+
# PDFjet
2+
[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause)
3+
4+
### About
35
PDFjet is a programming library that enables universal reporting in your web or desktop application, without forcing your user to install special software. Virtually all personal and business users will be able to see your reports exactly the way that you designed them.
46

5-
This is an enhanced version of the open source version of pdfjet in v6.0 (and in parts 7.0) (http://www.pdfjet.com/os/edition.html).
7+
This is an enhanced version of the open source version of pdfjet in v6.0 (Merge of v7 is work in progress) http://www.pdfjet.com/os/edition.html.
68

7-
You find the official pdfjet repo on github here: (https://github.com/edragoev1/pdfjet).
9+
You find the official pdfjet repo on github here: https://github.com/edragoev1/pdfjet.
810

9-
This version has the following enhancements compared to the pdfjet release (partially even compared to the commercially available version):
11+
This version has some enhancements compared to the pdfjet release (partially even compared to the commercially available version):
1012

1113
* Support for more input PDF files without corrupting additional content (happened especially with PDF files generated by Microsoft Print to PDF).
1214
* Support for input PDF files with mixed line endings.
1315
* Supports transparency for additional content for input PDF files.
1416

15-
In the meantime, my changes have been merged into the official pdfjet library.
17+
In the meantime, some changes have been merged into the official pdfjet library.
18+
19+
This fork is used for my Android app HandWrite Pro: http://www.hand-write.com
20+
21+
### Build
22+
This fork of pdfjet uses [gradle](https://gradle.org/) as a build tool.
23+
24+
Type:
25+
26+
`./gradlew jar`
1627

17-
It has been enhanced for my Android apps ScribMaster and HandWrite Pro:
28+
You find the pdfjet.jar in the folder build/libs after successful build.
1829

19-
http://www.scribmaster.com
30+
You can build the examples (in src/examples) via gradle, too:
2031

21-
http://www.hand-write.com
32+
`./gradlew examplesClasses`

THIRD-PARTIES.txt

+176
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
Third Parties
2+
3+
4+
This software includes machine extracted font metrics from 14 PostScript(R)
5+
AFM files that are covered by the following license:
6+
7+
This file and the 14 PostScript(R) AFM files it accompanies may be used,
8+
copied, and distributed for any purpose and without charge, with or
9+
without modification, provided that all copyright notices are retained;
10+
that the AFM files are not distributed without this file; that all
11+
modifications to this file or any of the AFM files are prominently noted
12+
in the modified file(s); and that this paragraph is not modified.
13+
Adobe Systems has no responsibility or obligation to support the use of
14+
the AFM files.
15+
16+
17+
This software is based in part on the work of the Independent JPEG Group that
18+
is covered by the following license:
19+
20+
The authors make NO WARRANTY or representation, either express or implied,
21+
with respect to this software, its quality, accuracy, merchantability, or
22+
fitness for a particular purpose. This software is provided "AS IS", and you,
23+
its user, assume the entire risk as to its quality and accuracy.
24+
25+
This software is copyright (C) 1991-1998, Thomas G. Lane.
26+
All Rights Reserved except as specified below.
27+
28+
Permission is hereby granted to use, copy, modify, and distribute this
29+
software (or portions thereof) for any purpose, without fee, subject to these
30+
conditions:
31+
(1) If any part of the source code for this software is distributed, then this
32+
README file must be included, with this copyright and no-warranty notice
33+
unaltered; and any additions, deletions, or changes to the original files
34+
must be clearly indicated in accompanying documentation.
35+
(2) If only executable code is distributed, then the accompanying
36+
documentation must state that "this software is based in part on the work of
37+
the Independent JPEG Group".
38+
(3) Permission for use of this software is granted only if the user accepts
39+
full responsibility for any undesirable consequences; the authors accept
40+
NO LIABILITY for damages of any kind.
41+
42+
These conditions apply to any software derived from or based on the IJG code,
43+
not just to the unmodified library. If you use our work, you ought to
44+
acknowledge us.
45+
46+
Permission is NOT granted for the use of any IJG author's name or company name
47+
in advertising or publicity relating to this software or products derived from
48+
it. This software may be referred to only as "the Independent JPEG Group's
49+
software".
50+
51+
We specifically permit and encourage the use of this software as the basis of
52+
commercial products, provided that all warranty or liability claims are
53+
assumed by the product vendor.
54+
55+
56+
This software includes machine extracted font metrics from the DejaVu Serif font
57+
that are covered by the following license:
58+
59+
License for 'DejaVu Serif'
60+
DejaVu Fonts License
61+
62+
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
63+
Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below)
64+
65+
Bitstream Vera Fonts Copyright
66+
———————————————
67+
68+
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
69+
a trademark of Bitstream, Inc.
70+
71+
Permission is hereby granted, free of charge, to any person obtaining a copy
72+
of the fonts accompanying this license (“Fonts”) and associated
73+
documentation files (the “Font Software”), to reproduce and distribute the
74+
Font Software, including without limitation the rights to use, copy, merge,
75+
publish, distribute, and/or sell copies of the Font Software, and to permit
76+
persons to whom the Font Software is furnished to do so, subject to the
77+
following conditions:
78+
79+
The above copyright and trademark notices and this permission notice shall
80+
be included in all copies of one or more of the Font Software typefaces.
81+
82+
The Font Software may be modified, altered, or added to, and in particular
83+
the designs of glyphs or characters in the Fonts may be modified and
84+
additional glyphs or characters may be added to the Fonts, only if the fonts
85+
are renamed to names not containing either the words “Bitstream” or the word
86+
“Vera”.
87+
88+
This License becomes null and void to the extent applicable to Fonts or Font
89+
Software that has been modified and is distributed under the “Bitstream
90+
Vera” names.
91+
92+
The Font Software may be sold as part of a larger software package but no
93+
copy of one or more of the Font Software typefaces may be sold by itself.
94+
95+
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
96+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
97+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
98+
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
99+
FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
100+
ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
101+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
102+
THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
103+
FONT SOFTWARE.
104+
105+
Except as contained in this notice, the names of Gnome, the Gnome
106+
Foundation, and Bitstream Inc., shall not be used in advertising or
107+
otherwise to promote the sale, use or other dealings in this Font Software
108+
without prior written authorization from the Gnome Foundation or Bitstream
109+
Inc., respectively. For further information, contact: fonts at gnome dot
110+
org.
111+
112+
Arev Fonts Copyright
113+
———————————————
114+
115+
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
116+
117+
Permission is hereby granted, free of charge, to any person obtaining
118+
a copy of the fonts accompanying this license (“Fonts”) and
119+
associated documentation files (the “Font Software”), to reproduce
120+
and distribute the modifications to the Bitstream Vera Font Software,
121+
including without limitation the rights to use, copy, merge, publish,
122+
distribute, and/or sell copies of the Font Software, and to permit
123+
persons to whom the Font Software is furnished to do so, subject to
124+
the following conditions:
125+
126+
The above copyright and trademark notices and this permission notice
127+
shall be included in all copies of one or more of the Font Software
128+
typefaces.
129+
130+
The Font Software may be modified, altered, or added to, and in
131+
particular the designs of glyphs or characters in the Fonts may be
132+
modified and additional glyphs or characters may be added to the
133+
Fonts, only if the fonts are renamed to names not containing either
134+
the words “Tavmjong Bah” or the word “Arev”.
135+
136+
This License becomes null and void to the extent applicable to Fonts
137+
or Font Software that has been modified and is distributed under the
138+
“Tavmjong Bah Arev” names.
139+
140+
The Font Software may be sold as part of a larger software package but
141+
no copy of one or more of the Font Software typefaces may be sold by
142+
itself.
143+
144+
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
145+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
146+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
147+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
148+
TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
149+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
150+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
151+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
152+
OTHER DEALINGS IN THE FONT SOFTWARE.
153+
154+
Except as contained in this notice, the name of Tavmjong Bah shall not
155+
be used in advertising or otherwise to promote the sale, use or other
156+
dealings in this Font Software without prior written authorization
157+
from Tavmjong Bah. For further information, contact: tavmjong @ free
158+
. fr.
159+
160+
161+
This software contains MODIFIED code from the d-project that is
162+
covered by the following license:
163+
164+
==========================================
165+
QRCode for Java
166+
167+
Copyright (c) 2009 Kazuhiko Arase
168+
169+
URL: http://www.d-project.com/
170+
171+
Licensed under the MIT license:
172+
http://www.opensource.org/licenses/mit-license.php
173+
174+
The word "QR Code" is registered trademark of
175+
DENSO WAVE INCORPORATED
176+
http://www.denso-wave.com/qrcode/faqpatent-e.html

build-java.sh

-89
This file was deleted.

0 commit comments

Comments
 (0)