* Fixed PDF signing and pkgconfig bug
* Fixed several issues related to use of
`nullable<std::unique_ptr<T>>`
* XMP: Fixed removing extension from extension bag
* XMP: Fix double inserting pdfuaid schema
* Text extraction fixes: improved word spacing heuristic,
space trimming in ligatures, text in XObject form with non
identity matrix
* Fixed pkg-config for shared built library
- Drop podofo-install_libdir.patch and podofo-fix_pkgconfig.patch
(merged upstream)
OBS-URL: https://build.opensuse.org/package/show/graphics/podofo?expand=0&rev=83
- Update to version 1.0.0
* Added support for Type1, CFF and OpenType CFF font subsetting
* Added support for Type3 font subsetting (no encoding
subsetting, yet)
* Implemented full "Adobe Glyph List" specification for text
extraction and glyph selection
* Implemented full Type1, TrueType font glyph selection
* Many fixes in TrueType legacy subsetting
* Added support for PDF/UA preserving when adding
annotations/form fields
* Improved PDF/A preserving (eg. when PDF/UA level is set as
well in the XMP metadata)
* Added support for automatically rotating imported images
drawn on a `PdfPainter` when a orientation is detected in
the source image codec metadata. Currently supported on Tiff
images only (Jpeg exif metadata support pending)
* Added high-level signing API, see `PdfSignerCMS` and
`TestSignature1` test case
* Added support for signing encrypted documents
* Added support for preserving encryption among savings
* Removed Libidn dependency, default to AESV3R6 encryption
* Added support for predefined CMap(s) for improved CJK text
extraction
* Added much better CMake integration
* Added raw rectangle corners retrieval in `PdfAnnotation`,
`PdfPage`
* `PdfDocument`: Added `GetFieldsIterator()`
* `PdfPage`: Added `GetFieldsIterator()`
* `PdfSignature`: Added `TryGetPreviousRevision()`
* `PdfCanvas`: Added `CopyContentsTo()`
* `FileStreamDevice` now uses again C stdio for better
performance
* `PdfName`:
+ Optimized for struct size and construction from string
const literal
+ Added `PdfName operator""_nm(const char*, size_t)`
* `PdfString`:
+ Optimized for struct size
+ Added `std::string&&` constructor
* `PdfVariant`: Optimized for accessing `PdfString`, `PdfName`
and `PdfReference`
* Reviewed `PdfFileSpec`, `PdfAction`, `PdfDestination` API
and their usage in `PdfOutlineItem`, `PdfOutlines`,
`PdfAnnotationActionBase`, `PdfAnnotationLink`,
`PdfAnnotationFileAttachment`
* Reviewed `PdfExtension` API
* Reviewed `PdfNameTree`, renamed to `PdfNameTrees` and added
`PdfNameTree` to pick specific trees with typed element
* Reviewed `PdfExtGState`
* Reviewed `PdfTilingPattern`, `PdfShadingPattern`,
`PdfFunction`: the API now exposes the full capabilities of
the PDF specification
* `PdfEncrypt` is now stateless: added `PdfEncryptContext` as a
separate state context and used as argument in `PdfEncrypt`
methods
* Set `PdfSignature` to have correct `/ByteRange` and
`/Contents` after signing with `PoDoFo::SignDocument`
* Added `PdfNames` and moved all known names there from
`PdfName`
* `PdfPageCollection`: Methods creating pages now takes
`PdfPageSize` or default inferred size from doc
* Fixed `PdfStreamedDocument`, see #88
* Tons of API improvements (see API-MIGRATION.md)
* Tons of other bug fixes
version 0.10.5:
* Fix#191, #197, #201, #212, #233, #241, #251, #252, #253
* PdfParser: Fixed stack overflow parsing documents with many
XRef stream updates
* PdfFont: Fixed GetBoundingBox() retrival
* PdfFontMetricsObject: Fixed reading /FontBBox
* PdfEncodingFactory: Fixed parsing of limits with /FirstChar
equals to /LastChar
* PdfFontMetricsStandard14: Fixed parsing /Widths
* PdfMetadata: Fixed missing init ensure for SetAuthor()
* PdfTokenizer: Fixed character escaping when reading strings
* PdfPageCollection: Fix memory leak in RemovePageAt
* Compilation and linking fixes in various conditions
* PdfFontManager: Fixed GetOrCreateFontFromBuffer stealing
memory
* PdfPageCollection: Disable copy/assignment
* PdfPage_TextExtraction: Fix `decodeString` with no font
* Fix eating of non-space chars in SplitTextAsLines
* Fix FreeType segfault race condition
* PdfCheckBox: Fixed IsChecked()
* PdfParser: Uncondtionally try to read XRef stream in all
PDFs that doesn't have a cross reference section
- Drop tools support ("Warning: Tools are currently unsupported,
untested and unmaintained.") and attendant patches
(podofo-tools_man.patch, podofo-CVE-2019-20093.patch)
- Add podofo-install_libdir.patch
OBS-URL: https://build.opensuse.org/request/show/1281625
OBS-URL: https://build.opensuse.org/package/show/graphics/podofo?expand=0&rev=81
- update to 0.10.3:
* Fixed big performance regression introduced in 0.10, see #108
* Fixed data loss with encrypted documents, see #99
* Fixed compilation with VS2022 >= 17.8
* Fixed compilation using libxml >= 2.12.0
added added PdfPainterTextContext to handle text object operations
- Just use "lua-devel" as BuildRequires current versions
- Dropped remove-internal-findfreetype-references.patch
- use _lib macro to properly determine lib suffix
* Build fixes for various plaforms - mostly for Windows/VS2008
-add lua-devel, which adds imposition capabilites
- new svn snapshot of upcoming 0.6.0
OBS-URL: https://build.opensuse.org/request/show/1135747
OBS-URL: https://build.opensuse.org/package/show/graphics/podofo?expand=0&rev=73
- Update to 0.10.1
- Security bugfixes, #66, #67, #69, #70, #71, #72
- Rewritten PdfPageCollection for performance
- PdfCMapEncoding: Fix parsing some invalid CMap(s) supported by Acrobat
- PdfXRefStreamParserObject: Fixed handling of invalid XRef stream entries
- Support compilation of the library header (not the library itself) with C++20
- Changes from 0.10.0
The release is complete re-imagination of PoDoFo 0.9.x API in C++17,
and it's API/ABI incompatible with the previous releases.
- PdfPage/PdfAnnotationCollection/PdfAnnotation: Now functions with rect input assume it
to be using the canonical coordinate system with no rotation
- PdfImage: Added support for CYMK jpeg
- PdfParser: Cleaned FindToken2 -> FindTokenBackward
- Renamed base source folder -> main
- PdfPainter: Revamped API, added full state inspection with current point,
added added PdfPainterTextContext to handle text object operations
Use it with PdfPainter::Text instance member. Added PdfContentStreamOperators
low level interface for PdfPainter moved SmoothCurveTo, QuadCurveTo SmoothQuadCurveTo,
ArcTo, Arc, to an helper structure until cleaned
- PdfFontMetrics: Added FilePath/FaceIndex for debugging, when available
- PdfFont: Renamed GetStringLength() overloads with PdfString to GetEncodedStringLength()
- PdfFontManager: Renamed GetFont() -> SearchFont() Re-Added better GetOrCreateFont() from file/buffer
- PdfEncrypt: Cleaned factory methods
- Added PdfArray::FindAtAs(), PdfArray::FindAtAsSafe(), PdfArray::TryFindAtAs(),
PdfArray::GetAtAs(), PdfArray::GetAtAsSafe(), PdfArray::TryGetAtAs()
- Added PdfDictionary::FindKeyAsSafe() and PdfDictionary::TryFindKeyAs()
- PdfDictionary::AddKeyIndirect/PdfArray::AddKeyIndirect accepts a reference
- PdfAnnotation/PdfField API review
- PdfDate: Introduced PdfDate::LocalNow() and PdfDate::UtcNow() and default constructor is epoch time instead
- Renamed PdfDocument::GetNameTree() -> GetNames()
- PdfObject: Flate compress on write objects that have no filters
- PdfMemDocument does collect garbage by default when saving
- PdfField/PdfAnntation: Fully reworked the hierarchy and added proper fields ownership
- Added PdfField::GetParent(), PdfField::GetChildren()
- PdfImage: Cleaned/reviewed/fixed SetData()/SetDataRaw()
- Renamed PdfPageTree -> PdfPageCollection
- Added XMP metadata reading/saving. Added PdfMetadata class
- Added text extraction API
- Review I/O API: Merged InputDevice/OutputDevice into StreamDevice.
New hierarchy deriving StreamDevice
- Reviewed PdfObjectStream API: added streaming operations, GetInputStream(),
GetOutputStream(). Renamed GetFilteredCopy() -> GetUnwrappedCopy()/UnwrapTo().
They only unwrap non media filters (see PdfImage::DecodeTo for media ones).
Added proper copy and move assignment operators
- PdfImage: Added DecodeTo(pixelFormat)
- Changes from other older versions
See https://github.com/podofo/podofo/blob/master/CHANGELOG.md
- Change source url to new location.
- Drop podofo-gcc12.patch because source no longer exists.
- Enable of compilation of tools.
- Add podofo-tools_man.patch to fix missing man pages for tools.
OBS-URL: https://build.opensuse.org/request/show/1096116
OBS-URL: https://build.opensuse.org/package/show/graphics/podofo?expand=0&rev=69
- Update to 0.9.8. No changelog. This version ships security
fixes:
* Check that /DecodeParams values are in range
(boo#1127514, CVE-2018-20797)
* CVE-2019-10723 - Excessive memory allocation crash at
PdfPagesTreeCache (boo#1131544)
* CVE-2018-12983 - stack-based buffer over-read in
PdfEncryptMD5Base::ComputeEncryptionKey() (boo#1099719)
- Drop patches, now upstream:
* podofo-CVE-2019-10723.patch
* podofo-CVE-2018-12983.patch (forwarded request 974851 from cgiboudeaux)
OBS-URL: https://build.opensuse.org/request/show/974857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/podofo?expand=0&rev=34
- Update to 0.9.8. No changelog. This version ships security
fixes:
* Check that /DecodeParams values are in range
(boo#1127514, CVE-2018-20797)
* CVE-2019-10723 - Excessive memory allocation crash at
PdfPagesTreeCache (boo#1131544)
* CVE-2018-12983 - stack-based buffer over-read in
PdfEncryptMD5Base::ComputeEncryptionKey() (boo#1099719)
- Drop patches, now upstream:
* podofo-CVE-2019-10723.patch
* podofo-CVE-2018-12983.patch
OBS-URL: https://build.opensuse.org/request/show/974851
OBS-URL: https://build.opensuse.org/package/show/graphics/podofo?expand=0&rev=64
- Add patches from upstream to fix several CVEs:
* r1933-Really-fix-CVE-2017-7381.patch
to fix a null pointer dereference (bsc#1032020, CVE-2017-7381)
* r1936-Really-fix-CVE-2017-7382.patch
to fix a null pointer dereference (bsc#1032021, CVE-2017-7382)
* r1937-Really-fix-CVE-2017-7383.patch
to fix a null pointer dereference (bsc#1032022, CVE-2017-7383)
* r1938-Fix-CVE-2018-11256-PdfError-info-gives-not-found-page-0-based.patch
to fix a null pointer dereference Denial of Service
(bsc#1096889, CVE-2018-11256)
* r1941-Fix-CVE-2017-8054-and-other-issues-keeping-binary-compat.patch
This patch was rebased from the one upstream so that it applies correctly
and modified so it doesn't break binary compatibility.
(CVE-2017-8054, boo#1035596)
* r1945-Fix-possible-incompatibility-of-PdfAESStream-with-OpenSSL-1.1.0g.patch
* r1948-Fix-CVE-2018-12982-implementing-inline-PdfDictionary-MustGetKey.patch
This patch was rebased from the one upstream so that it applies correctly.
(CVE-2018-12982, boo#1099720)
* r1949-Fix-CVE-2018-5783-by-introducing-singleton-limit-for-indirect-objects-keeping-binary-compat.patch
This patch was rebased from the one upstream so that it applies correctly
and modified so it doesn't break binary compatibility.
(CVE-2018-5783, boo#1076962)
* r1950-Fix-null-pointer-dereference-in-PdfTranslator-setTarget.patch
* r1952-Fix-CVE-2018-11255-Null-pointer-dereference-in-PdfPage-GetPageNumber.patch
(CVE-2018-11255, boo#1096890)
* r1953-Fix-CVE-2018-14320-Possible-undefined-behaviour-in-PdfEncoding-ParseToUnicode.patch
(CVE-2018-14320, boo#1108764)
* r1954-Fix-CVE-2018-20751-null-pointer-dereference-in-crop_page-of-tools-podofocrop.patch
(CVE-2018-20751, boo#1124357)
* r1961-EncryptTest-Fix-buffer-overflow-in-decrypted-out-buffer-in-TestEncrypt.patch
OBS-URL: https://build.opensuse.org/request/show/678232
OBS-URL: https://build.opensuse.org/package/show/graphics/podofo?expand=0&rev=55
- update to 0.9.5
- no change log, but it is available online at:
https://sourceforge.net/p/podofo/code/commit_browser
- update to 0.9.4
- no change log, but it is available online at:
https://sourceforge.net/p/podofo/code/commit_browser
- Just use "lua-devel" as BuildRequires current versions
support lua 5.2
- Update to 0.9.3
+ OSX build fixes
+ Fixed AES decryption
+ Improved load of (broken) PDF files
+ Sign PDF file as an incremental update
+ Added partial support for Type3 font encoding and metrics
+ Drawing API improvements
+ Unicode file names for attachments
+ Font subset embedding
+ Many compiler warnings squashed
- Dropped podofo-0.9.2-soname.patch which is upstream
- Dropped remove-internal-findfreetype-references.patch
- Added remove-internal-findfreetype-references.patch: fixes build
with freetype2 2.5.1 as internal copy is broken. It is also better
practice to use cmake's FindPackage modules
- Update to version 0.9.2:
* Many bug fixes which were made over the last two years.
* New encryption support based on OpenSSL. OpenSSL is now a mandatory
requirement.
- Removed podofobox.1_fix.patch (not needed anymore).
- Added a patch (podofo-0.9.2-soname.patch) to update the soname of the library
(http://sourceforge.net/apps/mantisbt/podofo/view.php?id=54).
- Added build requirements libcppunit-devel and libidn-devel.
- Build the devel docs (added doxygen build requirement).
- fix build on SLES
- Change lua-devel BuildRequires to lua51-devel on openSUSE > 12.1:
the code is not ready to work with lua 5.2.
- use _lib macro to properly determine lib suffix
- Update to version 0.9.1:
* Bug fixes and optimizations.
* Added a man page for podofogc.
From 0.9.0:
* Lot's of bug fixes for PDF parsing, PDF creation and in several other
areas.
* New compact write mode to create slightly smaller PDF files.
* Initial PDF signature support.
* Support for the 14 standard Type1 fonts.
* Improved font and encoding support (e.g. creation of fonts from existing
objects).
* New tools, e.g. podofocolor.
- Spec files updates:
* Changes based on spec-cleaner run.
* Changes in License.
* Updates in Group:, Summary: and %description entries.
* Updates in %build section for lib64 compilation.
* Minor other updates.
- Added a patch for podofobox.1 to fix an rpmlint warning.
-version update to 0.8.4
* Build fixes for various plaforms - mostly for Windows/VS2008
-new version 0.8.3
* Added a new write mode for PDFs, which is default, to create
more compact PDFs;
* Extended several APIs, e.g. image interpolation support,
image chroma key support, or selection of base14 fonts
* Fixed bugs in the predictor implementation
* Fixed encryption of unicode strings
* Fixed namestree implementation (root shall not have a Limits key)
* Fixed detection of inline image data and support for inline images larger than 4KB
* Several optimizations, bugs fixes and fixed a minor memory leak
-more spec file cleanups
-add missing libpng-devel
-version bump to 0.8.2
-many many bug fixes and build issues
-add lua-devel, which adds imposition capabilites
- Corrected licence
- Updated to 0.8.0, taken patches from hgraeber
. remove so number form devel package
- Taken from home:/mrdocs and corrected SPEC file:
. Added typical SUSE header
. Install section now contains the correct lines
. Changed devel package name to libpodofo0_6_99-devel
. Create this .changes file
- 0.7.0 release
- Package closer to policies: split.
- 0.6 release
- new svn snapshot of upcoming 0.6.0
- add openssl-devel dependency
- 64 bit builds fixed
- enable debug package
- revert back to 0.5.0 as the API is unstable
- new svn snapshot with 64 bit build support
- version upgrade
- use cmake as autotools are no longer supported
- initial package
OBS-URL: https://build.opensuse.org/request/show/547891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/podofo?expand=0&rev=25
- update to 0.9.5
- no change log, but it is available online at:
https://sourceforge.net/p/podofo/code/commit_browser
- Just use "lua-devel" as BuildRequires current versions
support lua 5.2
- Update to 0.9.3
+ OSX build fixes
+ Fixed AES decryption
+ Improved load of (broken) PDF files
+ Sign PDF file as an incremental update
+ Added partial support for Type3 font encoding and metrics
+ Drawing API improvements
+ Unicode file names for attachments
+ Font subset embedding
+ Many compiler warnings squashed
- Dropped podofo-0.9.2-soname.patch which is upstream
- Dropped remove-internal-findfreetype-references.patch
- Added remove-internal-findfreetype-references.patch: fixes build
with freetype2 2.5.1 as internal copy is broken. It is also better
practice to use cmake's FindPackage modules
- Update to version 0.9.2:
* Many bug fixes which were made over the last two years.
* New encryption support based on OpenSSL. OpenSSL is now a mandatory
requirement.
- Removed podofobox.1_fix.patch (not needed anymore).
- Added a patch (podofo-0.9.2-soname.patch) to update the soname of the library
(http://sourceforge.net/apps/mantisbt/podofo/view.php?id=54).
- Added build requirements libcppunit-devel and libidn-devel.
- Build the devel docs (added doxygen build requirement).
- fix build on SLES
- Change lua-devel BuildRequires to lua51-devel on openSUSE > 12.1:
the code is not ready to work with lua 5.2.
- use _lib macro to properly determine lib suffix
- Update to version 0.9.1:
* Bug fixes and optimizations.
* Added a man page for podofogc.
From 0.9.0:
* Lot's of bug fixes for PDF parsing, PDF creation and in several other
areas.
* New compact write mode to create slightly smaller PDF files.
* Initial PDF signature support.
* Support for the 14 standard Type1 fonts.
* Improved font and encoding support (e.g. creation of fonts from existing
objects).
* New tools, e.g. podofocolor.
- Spec files updates:
* Changes based on spec-cleaner run.
* Changes in License.
* Updates in Group:, Summary: and %description entries.
* Updates in %build section for lib64 compilation.
* Minor other updates.
- Added a patch for podofobox.1 to fix an rpmlint warning.
-version update to 0.8.4
* Build fixes for various plaforms - mostly for Windows/VS2008
-new version 0.8.3
* Added a new write mode for PDFs, which is default, to create
more compact PDFs;
* Extended several APIs, e.g. image interpolation support,
image chroma key support, or selection of base14 fonts
* Fixed bugs in the predictor implementation
* Fixed encryption of unicode strings
* Fixed namestree implementation (root shall not have a Limits key)
* Fixed detection of inline image data and support for inline images larger than 4KB
* Several optimizations, bugs fixes and fixed a minor memory leak
-more spec file cleanups
-add missing libpng-devel
-version bump to 0.8.2
-many many bug fixes and build issues
-add lua-devel, which adds imposition capabilites
- Corrected licence
- Updated to 0.8.0, taken patches from hgraeber
. remove so number form devel package
- Taken from home:/mrdocs and corrected SPEC file:
. Added typical SUSE header
. Install section now contains the correct lines
. Changed devel package name to libpodofo0_6_99-devel
. Create this .changes file
- 0.7.0 release
- Package closer to policies: split.
- 0.6 release
- new svn snapshot of upcoming 0.6.0
- add openssl-devel dependency
- 64 bit builds fixed
- enable debug package
- revert back to 0.5.0 as the API is unstable
- new svn snapshot with 64 bit build support
- version upgrade
- use cmake as autotools are no longer supported
- initial package
OBS-URL: https://build.opensuse.org/request/show/541611
OBS-URL: https://build.opensuse.org/package/show/graphics/podofo?expand=0&rev=46