1
- # OpenPDF is an open source Java library for PDF files #
1
+ # OpenPDF is an open source Java library for PDF files
2
2
3
3
OpenPDF is a Java library for creating and editing PDF files with a LGPL and MPL open source
4
4
license. OpenPDF is the LGPL/MPL open source successor of iText, and is based on some forks of iText
@@ -18,15 +18,19 @@ and bugreports to this GitHub repository.
18
18
19
19
[ ![ Join the chat at https://gitter.im/LibrePDF/OpenPDF ] ( https://badges.gitter.im/LibrePDF/OpenPDF.svg )] ( https://gitter.im/LibrePDF/OpenPDF )
20
20
21
- ## OpenPDF version 2.0.1 released 2024-03-03 ##
21
+ ## OpenPDF version 2.0.2 released 2024-04-07
22
22
23
- Get version 2.0.1 here - https://github.com/LibrePDF/OpenPDF/releases/tag/2.0.1
23
+ Get version 2.0.2 here: https://github.com/LibrePDF/OpenPDF/releases/tag/2.0.2
24
24
25
25
Please note: Repositories like Maven Central and others may take a few days to update.
26
26
27
+ ### Other versions:
28
+
29
+ - [ OpenPDF 1.4.2 (release 2024-03-30)] ( https://github.com/LibrePDF/OpenPDF/releases/tag/1.4.2 )
30
+ - [ OpenPDF 1.3.43 (release 2024-03-29)] ( https://github.com/LibrePDF/OpenPDF/releases/tag/1.3.43 )
27
31
- [ Previous releases] ( https://github.com/LibrePDF/OpenPDF/releases )
28
32
29
- ## Features ##
33
+ ## Features
30
34
31
35
Some of the features of OpenPDF include:
32
36
@@ -49,11 +53,11 @@ Add this to your pom.xml file to use the latest version of OpenPDF:
49
53
<dependency >
50
54
<groupId >com.github.librepdf</groupId >
51
55
<artifactId >openpdf</artifactId >
52
- <version >2.0.1 </version >
56
+ <version >2.0.2 </version >
53
57
</dependency >
54
58
```
55
59
56
- ## License ##
60
+ ## License
57
61
58
62
[ GNU Lesser General Public License (LGPL), Version 2.1] ( https://www.gnu.org/licenses/old-licenses/lgpl-2.1 )
59
63
@@ -69,14 +73,14 @@ We want OpenPDF to consist of source code which is consistently licensed with th
69
73
licences only. This also means that any new contributions to the project must have a dual LGPL and
70
74
MPL license only.
71
75
72
- ## Documentation ##
76
+ ## Documentation
73
77
74
78
- [ Examples] ( pdf-toolbox/src/test/java/com/lowagie/examples )
75
79
- [ JavaDoc] ( https://javadoc.io/doc/com.github.librepdf/openpdf/latest/index.html )
76
80
- [ Tutorial] ( https://github.com/LibrePDF/OpenPDF/wiki/Tutorial ) (wiki, work in progress)
77
81
- [ Migration from iText, TIFF support] ( https://github.com/LibrePDF/OpenPDF/wiki/Migrating-from-iText-2-and-4 )
78
82
79
- ## Background ##
83
+ ## Background
80
84
81
85
OpenPDF is open source software with a LGPL and MPL license. It is a fork of iText version 4, more
82
86
specifically iText svn tag 4.2.0, which was hosted publicly on sourceforge with LGPL and MPL license
@@ -95,7 +99,7 @@ OpenPDF ancestors in GitHub (in fork order):
95
99
4 . [ @ymasory ] ( https://github.com/ymasory ) / [ iText-4.2.0] ( https://github.com/ymasory/iText-4.2.0 ) -
96
100
original parent on GitHub
97
101
98
- ## Projects using OpenPDF ##
102
+ ## Projects using OpenPDF
99
103
100
104
- [ Spring Framework] ( https://github.com/spring-projects/spring-framework )
101
105
- [ flyingsaucer] ( https://github.com/flyingsaucerproject/flyingsaucer )
@@ -105,27 +109,27 @@ OpenPDF ancestors in GitHub (in fork order):
105
109
well.
106
110
- Full list here: [ Artifacts using OpenPDF] ( https://mvnrepository.com/artifact/com.github.librepdf/openpdf/usages )
107
111
108
- ## Android ##
112
+ ## Android
109
113
110
114
OpenPDF can be used with Android, more info
111
115
here: [ Android-support] ( https://github.com/LibrePDF/OpenPDF/wiki/Android-support )
112
116
113
- ## Contributing ##
117
+ ## Contributing
114
118
115
119
Release the hounds! Please send all pull requests. Make sure that your contributions can be
116
120
released with a dual LGPL and MPL license. In particular, pull requests to the OpenPDF project must
117
121
only contain code that you have written yourself. GPL or AGPL licensed code will not be acceptable.
118
122
119
123
More details: [ Contributing] ( CONTRIBUTING.md )
120
124
121
- ### Coding Style ###
125
+ ### Coding Style
122
126
123
127
- Code indentation style is 4 spaces. Maximum line length is 120 characters.
124
128
- Generally try to preserve the coding style in the file you are modifying.
125
129
126
- ## Dependencies ##
130
+ ## Dependencies
127
131
128
- ### Required Dependencies: ###
132
+ ### Required Dependencies
129
133
130
134
We have now different versions of OpenPDF, and they require different versions of Java:
131
135
@@ -137,7 +141,7 @@ We have now different versions of OpenPDF, and they require different versions o
137
141
- OpenPDF versions 2.0.x: We are working on modernizing the OpenPDF library for Java
138
142
17+.
139
143
140
- ### UTF-8 Fonts: ###
144
+ ### UTF-8 Fonts
141
145
142
146
As of 1.3.21 the UTF-8 Liberation fonts moved to its own module, to reduce the size of the OpenPDF
143
147
jar. If you want to use the bundled UTF-8 fonts, please add the following dependency to your project
@@ -152,19 +156,19 @@ and use the class `org.librepdf.openpdf.fonts.Liberation`.
152
156
</dependency >
153
157
```
154
158
155
- ### Supporting complex glyph substitution/ Ligature substitution: ###
159
+ ### Supporting complex glyph substitution/ Ligature substitution
156
160
157
161
OpenPDF supports glyph substitution which is required for correct rendering of fonts ligature substitution requirements.
158
162
FOP dependency is required to enable this feature. Refer following wiki for
159
163
details: [ wiki] ( https://github.com/LibrePDF/OpenPDF/wiki/Multi-byte-character-language-support-with-TTF-fonts )
160
164
161
- ### Supporting OpenType layout, glyph positioning, reordering and substitution: ###
165
+ ### Supporting OpenType layout, glyph positioning, reordering and substitution
162
166
163
167
OpenPDF supports OpenType layout, glyph positioning, reordering and substitution which is e.g. required for correct
164
168
positioning of accents, the rendering of non-Latin and right-to-left scripts. OpenPDF supports DIN 91379.
165
169
See: [ wiki] ( https://github.com/LibrePDF/OpenPDF/wiki/Accents,-DIN-91379,-non-Latin-scripts )
166
170
167
- ### Optional: ###
171
+ ### Optional
168
172
169
173
- [ BouncyCastle] ( https://www.bouncycastle.org/ ) (BouncyCastle is used to sign PDF files, so it's a recommended
170
174
dependency)
@@ -174,6 +178,6 @@ See: [wiki](https://github.com/LibrePDF/OpenPDF/wiki/Accents,-DIN-91379,-non-Lat
174
178
- Apache FOP (` org.apache.xmlgraphics:fop ` )
175
179
- Please refer to our [ pom.xml] ( pom.xml ) to see what version is needed.
176
180
177
- ## Credits ##
181
+ ## Credits
178
182
179
183
Please see [ Contributors.md] ( Contributors.md ) .
0 commit comments