Maintenance release
- Bugfix for #391 (
Uncaught Error: Call to undefined method Smalot\PdfParser\Header::__toString() in /var/www/vendor/smalot/pdfparser/src/Smalot/PdfParser/Font.php
) (thanks @fsmoak) - Addition of an alternative autoloader for non-Composer installations (#388). Based on the work of @apmuthu and others from #117.
Assets
2
🎆 Happy new year release! 🧨
A few bug fixes and improvements.
Fixes:
- Implemented missing
__toString
method inEncoding.php
(thanks @tomlutzenberger, #378). - In
Header.php
make sureinit
is only called if$element
is of typeElement
(thanks @lukgru, #380).
Improvements:
Assets
2
Hot fix release for a problem in PdfParser\Encoding\PostScriptGlyphs.php
, for instance:
Notice: Undefined offset: 67 in pdfparser\src\Smalot\PdfParser\Encoding\PostScriptGlyphs.php on line 1091
Assets
2
Bug fix release with a few improvements and a new composer dependency.
Highlights:
- added
symfony/polyfill-mbstring
to improve PHP 8 support (#337) - reverted 4f4fd10 and preserving fix for #260, fixing #319, #322 and #334 (#342)
- revived #257: Properly decode ANSI encodings (#349)
- allow for line breaks when splitting xrefs for id and position, fixes #19 (#345)
Document::getPages()
should only ever return elements of type 'Page' (#350)- rely on getTextArray() in getDataTm() to extract the texts (#340)
- fix missing BT command before each section (could result in wrong coordinates) and its resetting of Tm (#341)
Assets
2
Bugfix release.
Fixes
- Fix missing catalog bug (+ some code refactoring) #312, thanks @PaulBehrendtVentoro
- Handle corrupted PDF #328
- Fix error when Font aren't available #324, thanks @wivaku
Assets
2
Bugfix release.
Fixes
- array access on integer for php7.4 - #310, #267 - thanks @PaulBehrendtVentoro
- mb_convert_encoding(): Illegal character encoding specified - #313, #229 - thanks @daneren2005
Assets
2
This release contains a lot of refinements and some fixes.
New features
- get text for a given set of coordinates
- to do that use
Page::getTextXY
- function details - related pull request: #297, thanks @izabala
- to do that use
Changes
Assets
2
We raised some dependencies to ensure people aren't running the library with too much outdated deps.
For example, we raised tecnickcom/tcpdf
to ^6.2.22
to ensure people aren't running the version containing a security issue (see https://packagist.org/packages/tecnickcom/tcpdf/advisories?version=2463879).
The library wasn't tested for PHP version < 5.6 so we drop minimum PHP version to 5.6.
There is a new test build which check the library is running ok on the lowest dependencies available.
We also introduced PHP-CS-Fixer (mainly for developement) to ensure coding styles is ok.
Last but not least, there are new maintainers of the lib along with @smalot:
Merged PRs:
Assets
2
smalot
released this
v0.15.0 Some fixes from community