| 1 |
Revision history for Perl extension PDF::Reuse |
| 2 |
|
| 3 |
0.43 Thu Jan 23 2026 |
| 4 |
- Fix prTTFont/prEnd crash from orphaned docProxy (GitHub #24) |
| 5 |
DESTROY was releasing TTFont0 objects still owned by DocProxy, |
| 6 |
corrupting their uid and crashing write_objects(). |
| 7 |
- prInitVars now properly resets docProxy state |
| 8 |
|
| 9 |
0.42 Thu Jan 22 2026 |
| 10 |
- Add provides and no_index to META for proper PAUSE indexing |
| 11 |
- Add LICENSE, SECURITY.md, CONTRIBUTING.md |
| 12 |
- Address CPANTS Kwalitee experimental metrics |
| 13 |
|
| 14 |
0.41 Thu Jan 22 2026 |
| 15 |
- Add GitHub Issues bugtracker to distribution metadata |
| 16 |
- Add IO::String to TEST_REQUIRES |
| 17 |
|
| 18 |
0.40 Thu Jan 22 2026 |
| 19 |
Bug fixes: |
| 20 |
120459 Uses deprecated defined(%hash) - breaks Perl 5.24+ |
| 21 |
120346 Parsing of refs is too strict |
| 22 |
120401 Reads the entire contents when extracting a single page |
| 23 |
130152 sprintf with undefined objekt values should not warn |
| 24 |
171691 IO::String untie - prFile() fails after IO::String write |
| 25 |
83185 crossrefObj non-numeric argument warning from hex strings |
| 26 |
168975 prForm() should accept IO::String objects as file input |
| 27 |
131484 Document GhostScript usage for stream concatenation |
| 28 |
GitHub#8 prDocForm crash on undefined links array reference |
| 29 |
|
| 30 |
Internal improvements: |
| 31 |
- Root object finding patch (from ver_0.40 branch) |
| 32 |
- strict compatibility fixes (variable declarations) |
| 33 |
- Added regression test suite (t/regression.t) |
| 34 |
|
| 35 |
Thanks to all who contributed patches for these fixes! |
| 36 |
|
| 37 |
0.39 Tues Sept 26 2016 |
| 38 |
This release simply corrects the rev number |
| 39 |
|
| 40 |
0.38 Mon Sept 26 2016 |
| 41 |
118069: MYMETA must not be included |
| 42 |
|
| 43 |
0.37 Fri Sept 23 2016 |
| 44 |
101145 Add support for IO::String and "in memory" files |
| 45 |
107301 prStrWidth returns undef when string is '0' |
| 46 |
41287 It seems that filehandles of TTF files are not closed |
| 47 |
79703 Allow a handle to be provided instead of a file name |
| 48 |
107299 Warnings on empty strings in prStrWidth/prText |
| 49 |
117892 Could not open 'Reuse.pm' (0.36_02) |
| 50 |
93049 PDF::Reuse Bookmarks bug and fix |
| 51 |
97290 fix for uninitialized value $param{"Index"} when reading PDF version 1.5 file |
| 52 |
43232 Wrong prototype for findFont() |
| 53 |
46202 PDF-Reuse 0.35 prDoc/xrefSection problem |
| 54 |
48804 Bad PDF Spins CPU |
| 55 |
59359 qQ imbalance in Reuse.pm |
| 56 |
104874 prMbox() not dealing with 0 ux/uy |
| 57 |
|
| 58 |
Thanks to all who contributed patches for these fixes! |
| 59 |
|
| 60 |
0.36 Wed Dec 10 2014 |
| 61 |
Added binary blob handling to prJpeg |
| 62 |
Added prAltJpeg to allow for insertion of alternate low-res images for display |
| 63 |
Added support for grayscale images to prJpeg after suggestions from Ingo Lachmann |
| 64 |
Removing depricated define(@array) syntax per suggestion from Nigel Gourlay |
| 65 |
Updating copyright notices |
| 66 |
|
| 67 |
0.35 Mon Jul 3 2008 |
| 68 |
Thanks to Yunliang Yu Outlines mode is turned on, if bookmarks are added |
| 69 |
and a minor bug with bookmarks and another one with the creation of pages |
| 70 |
are corrected. |
| 71 |
|
| 72 |
0.34 June 2008 |
| 73 |
Thanks to Grant McLean prTTFont method is added to support embedding |
| 74 |
TrueType fonts and using UTF8 text with prText (only works if Font::TTF and |
| 75 |
Text::PDF are installed) |
| 76 |
|
| 77 |
0.33 Tue Nov 15 2005 |
| 78 |
Corrected a "bug" with prField. Changed the documentation a little. |
| 79 |
The address to the mailing list is given. |
| 80 |
|
| 81 |
0.32 Fri Jul 22 2005 |
| 82 |
prText has 1 more parameter, rotation, parameter 4 now only handles alignment. |
| 83 |
prDoc has new functionality. If there are "contents" available, it is added to |
| 84 |
the array of streams of the first included page. (This was developed for a specific |
| 85 |
task with support from the Electoral Enrolment Centre, Wellington, New Zealand.) |
| 86 |
prSinglePage is a new function. It is a variant of prDoc for one page. It also |
| 87 |
has a counter of pages and last page extracted from a document, so it has more or |
| 88 |
less the ability to loop through a document if necessary. |
| 89 |
A new output definition for Apache2, thanks to Matisse Enzer. |
| 90 |
|
| 91 |
0.30 Thu Jun 3 |
| 92 |
Changes to the documentation. Fonts are handled a little differently. |
| 93 |
If prFont is called in list context, a reference to all fonts known to |
| 94 |
the current program is also returned. |
| 95 |
|
| 96 |
0.29 Mon May 10 |
| 97 |
A bug with fonts corrected, minor changes to the documentation. |
| 98 |
|
| 99 |
0.28 Fri Apr 23 2004 |
| 100 |
New annotations, which are repeated on many pages, are defined only once. |
| 101 |
You can tie the request object to the output file, thanks to Matisse Enzer. |
| 102 |
Compress::Zlib is included in the code with 'use'. There was some problem with |
| 103 |
'autouse', and I couldn't solve it. Minor changes to the the code to improve |
| 104 |
performance a little. |
| 105 |
|
| 106 |
0.27 Fri Apr 16 2004 |
| 107 |
A potential bug with links removed. Repeated links are stored only once. |
| 108 |
Unnecessary line feeds removed. |
| 109 |
|
| 110 |
0.26 Thu Apr 15 2004 |
| 111 |
Bugs fixed. When an image was imported, the program could become confused |
| 112 |
about standard fonts. Importing of JavaScripts failed. Corrected. |
| 113 |
|
| 114 |
0.25 Sat Apr 10 2004 |
| 115 |
-"prLink" added, to add and merge hyper links into a document |
| 116 |
-prStrWidth added. You get string width calculated for some predefined fonts. |
| 117 |
-A new parameter to prText added, so you can center, right adjust and rotate |
| 118 |
texts. |
| 119 |
If the text is not rotated you can get from- and to- positions of text strings |
| 120 |
-New parameters to prFile to control how a document is initially displayed |
| 121 |
-MediaBox is defined at the top of the page tree also. |
| 122 |
-Special characters in values to prField are hex-encoded when they are |
| 123 |
transferred to the new document, and unescaped from within JavaScript. |
| 124 |
So special characters might be handled in a new way ! |
| 125 |
|
| 126 |
0.24 Tue Mar 9 2004 |
| 127 |
Corrected a warning about when JavaScripts can be added to a document |
| 128 |
|
| 129 |
0.23 Tue Feb 3 2004 |
| 130 |
Added warnings in the documentation about JavaScript and webpdf.api |
| 131 |
|
| 132 |
0.22 Sun Jan 11 2004 |
| 133 |
Corrected an error introduced in version 0.15. Resources were not inherited |
| 134 |
the way they should. |
| 135 |
Changes to the documentation. The examples have been moved from this |
| 136 |
distribution to PDF::Reuse::Tutorial. |
| 137 |
|
| 138 |
0.21 Fri Dec 26 2003 |
| 139 |
-prFontSize will accept sizes with decimal point. |
| 140 |
-The constant IS_MODPERL has been added. It is taken from $ENV{MOD_PERL}. |
| 141 |
If it is set, STDOUT can be tied to Apache. |
| 142 |
|
| 143 |
0.20 Sun Dec 14 2003 |
| 144 |
-You can extract pages or split documents with the help of two |
| 145 |
new parameters to prDoc. |
| 146 |
-prField can have a snippet of JavaScript code instead of a value. |
| 147 |
-Bugs removed. Internal changes. |
| 148 |
|
| 149 |
0.19 Fri Nov 21 2003 |
| 150 |
Code produced for prField is now prepared with "extra" backslashes for |
| 151 |
\n \r and \'. Improved precision in the "formula" for rotation. |
| 152 |
|
| 153 |
0.18 Tue Nov 11 2003 |
| 154 |
Several new parameters for forms and images, so they can be resized, moved |
| 155 |
and rotated. |
| 156 |
|
| 157 |
0.17 Sat Nov 1 2003 |
| 158 |
A bug removed. The module sometimes got confused when it was reconstructing |
| 159 |
forms and was switching between different files. This was an error |
| 160 |
introduced with version 0.15 |
| 161 |
|
| 162 |
0.16 Tue Oct 21 2003 |
| 163 |
Added backslashes to the 4 special characters in the comment line, which is |
| 164 |
written to every file produced by PDF::Reuse. If not escaped, |
| 165 |
they caused Red Hat (8.0) Linux to terminate the run with the error message: |
| 166 |
"Wide character in syswrite ... PDF/Reuse.pm line 268". |
| 167 |
A changed regex to find object references. Some global variables |
| 168 |
have been removed. If you use the function prCompress(1), new JavaScripts |
| 169 |
are also compressed. |
| 170 |
You can have a new parameter with prInit, so the initiation code is shown |
| 171 |
at document level. By default (now, but not before) it is not shown. |
| 172 |
|
| 173 |
|
| 174 |
0.15 Fri Oct 10 2003 |
| 175 |
First steps to adjust the module to PDF-1.5 (Acrobat 6.0). Lots of changes to |
| 176 |
the code. |
| 177 |
If you try to update a field with prField and the field can't be found, the |
| 178 |
field is just ignored. Before the change, you had a JavaScript error and a |
| 179 |
subsequent interruption. |
| 180 |
|
| 181 |
0.14 Mon Sep 15 2003 |
| 182 |
The added parameter for prInit from version 0.12 had to be withdrawn. |
| 183 |
Sometimes it caused Acrobat/Acrobat Reader to crash. |
| 184 |
|
| 185 |
0.12 Tue Sep 9 2003 |
| 186 |
Corrected a "bug". The "typeof info.moddate" can give another result than |
| 187 |
1 year ago, so an important test at initiation had to be changed. |
| 188 |
You can have a new parameter with prInit, so the initiation code is shown |
| 189 |
at document level. By default (now, but not before) it is not shown. |
| 190 |
|
| 191 |
0.11 Wed Sep 3 2003 |
| 192 |
You can have your bookmarks closed with a new parameter. |
| 193 |
Changes to the documentation. |
| 194 |
|
| 195 |
0.10 Tue Aug 26 2003 |
| 196 |
Added a function to define bookmarks. |
| 197 |
Corrected a bug with object numbers. |
| 198 |
Sometimes the module reserved an object number and didn't need it. Subsequent |
| 199 |
procedures continued with new object numbers and there was a gap .. |
| 200 |
Changes to the documentation. "Experimental" has been removed from the |
| 201 |
interactive functions. |
| 202 |
|
| 203 |
0.09 Mon Jul 21 2003 |
| 204 |
If no file name is given to the function prFile, output is written to STDOUT. |
| 205 |
|
| 206 |
0.08 Sun Jun 29 |
| 207 |
Corrected bugs which occurred when a font was going to be reused. The function |
| 208 |
prInitVars has been added. changes to the documentation. |
| 209 |
|
| 210 |
0.07 Tue Jun 17 |
| 211 |
You can add JavaScripts as strings, not only as files. Corrected bugs which |
| 212 |
occurred 1) when JavaScripts were added and 2) when the log for prAdd was |
| 213 |
produced. |
| 214 |
|
| 215 |
0.06 Mon Jun 2 |
| 216 |
Corrected a bug in prText: when you tried to print '0' it was transformed |
| 217 |
to ''. Minor changes to the barcode font. Changed documentation referring |
| 218 |
to GD::Barcode and the modules in that group |
| 219 |
|
| 220 |
0.05 Wed May 21 15:45 |
| 221 |
Tried to make the module backwards compatible with Perl 5.6.1 |
| 222 |
Changed use 5.008 to use 5.006, constants are individually defined and |
| 223 |
AutoLoader is used instead of SelfLoader. |
| 224 |
|
| 225 |
0.03 Tue Apr 29 16:50:00 2003 |
| 226 |
- Corrected an error that occurred when a form was used many times in different |
| 227 |
documents. (Translation of old => new object number) |
| 228 |
- Some preparations for using PDF::Reuse as an COM-object (ActiveX object) |
| 229 |
(In version 0.02 of PDF::Reuse::Tutorial there will be examples) |
| 230 |
|
| 231 |
0.02 Fri Apr 25 20:49:50 2003 |
| 232 |
- I had to put all PDF documents and generated modules used in the examples |
| 233 |
in a zip file, to hide them from the normal processing around the upload to CPAN. |
| 234 |
|
| 235 |
0.01 Thu Apr 3 12:21:26 2003 |
| 236 |
- original version; created by h2xs 1.22 with options |
| 237 |
-AX -n PDF::Reuse |
| 238 |
|
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
|