Releases: utelle/wxpdfdoc
wxPdfDocument 1.4.0
wxPdfDocument is a C++ class which allows wxWidgets applications to generate PDF files. Documentation is available online. wxPdfDocument 1.4.0 is compatible with wxWidgets versions 3.0.x and above.
Highlights of this version
- Blake Madden contributed the
wxPdfGraphicsContextimplementation and a sample application demonstrating the various capabilities. This is a long-awaited update to wxPdfDocument allowing to generate complex graphics much more easily than was possible with thewxPdfDCclass. - In the course of the
wxPdfGraphicsContextintegration support for linear and radial shading patterns for drawing and filling operations was implemented. A sample PDF exhibits the new features.
Changes
- Updated 3rd party libraries zint and woff2
- Improved documentation
- Changed default encryption to AES-256 instead of RC4
- Applied various code improvements
Additions
- Added support for granular font weights (Thin to ExtraHeavy)
- Added font style and weight attributes to font description
Fixed bugs
- Fixed issue where bold fonts were not correctly selected when using
wxFontwithwxFONTWEIGHT_BOLD - Fixed various compile time warnings
- Fixed several long-standing bugs
wxPdfDocument 1.3.1
wxPdfDocument 1.3.1 is compatible with wxWidgets versions 3.0.x and above.
Fixed bugs:
- Adjusted make files to properly handle white space in path names (issue #96)
wxPdfDocument 1.3.0
wxPdfDocument 1.3.0 is compatible with wxWidgets versions 3.0.x and above.
Added features:
- Added support for fonts in Web Open Font Format (WOFF/WOFF2)
- Added support for TrueType/OpenType fonts given as byte arrays
- Added support for additional barcodes (especially 2D barcodes like QR code, DataMatrix etc).
In principle, all barcodes supported by the Zint library can be used.
Fixed bugs:
- Fixed wxPdfDocument::Translate by adding missing unit conversion factor
wxPdfDocument 1.2.1
wxPdfDocument 1.2.1 is compatible with wxWidgets versions 3.0.x and above. Compatibility with the prior stable wxWidgets version 3.0 was restored.
Added features:
- Added support for document protection with AES-256 encryption (PDF 2.0).
- Added support for importing PDF documents protected with AES encryption.
Changes:
- Improved font lookup in wxPdfFontManager to search also under the font family alias, if given
- Replaced use of wxScreenDC by wxDisplay
- Restored support for wxWidgets 3.0.x
Fixed bugs:
- Check for availability of header file
Security/SecRandom.h(fix issue #94) - Fixed wxPdfDCImpl::DoDrawText for multiline text
wxPdfDocument 1.2.0
wxPdfDocument 1.2.0 is compatible with wxWidgets versions 3.2.x and above. In principle, compatibility with the prior stable wxWidgets version 3.0 could be restored, but this will only happen if there is a high demand.
Added features:
- Added support for document protection with AES-256 encryption (PDF 2.0).
- Added support for importing PDF documents protected with AES encryption.
Changes:
- The library now requires a C++11 compiler for compilation.
- Build support for Visual C++ versions below 2015 has been removed.
Fixed bugs:
- Fixed problem with page breaks in XML tables.
wxPdfDocument 1.1.0
wxPdfDocument 1.1.0 is compatible with wxWidgets versions 3.0.x, 3.1.x, and 3.2.x.
General changes:
- The signature of methods
ScaleX(),ScaleY(),ScaleXY(),Scale(),MirrorH(),MirrorV(),SkewX(),SkewY(),Skew(),Rotate(), andUseTemplate()has been changed to get rid of the negative default values for the position parameters. This was necessary to support negative coordinates in all graphics operations. If an application had explicitly specified the default value (-1) in calls to one of the above methods, these values have to be replaced by calls to methodGetX()respGetY().
Fixed bugs:
- Fixed issue #92 "Rotated text at wrong position". The problem arose from the use of negative coordinates. All graphics operations now support negative coordinates, too.
- Fixed output of wrong text background colour for rotated text in
wxPdfDC.
wxPdfDocument 1.0.3
wxPdfDocument 1.0.3 is compatible with wxWidgets versions 3.0.x, 3.1.x, and 3.2.x.
General changes:
- Updated Unicode data for ShowFont utility
Fixed bugs:
- Fixed handling of long table: take top page margin, page header and table header into account for page breaks.
- Fixed handling for empty table bodies.
- Fixed handling of the height of (optional) table header rows (taking it into account for calculating table parts fitting on a page).
- Fixed isue #81. Improve handling of table cell borders in markup. Table cell borders could be (partially) hidden by table cell backgrounds.
- Actually use wxPdfDocument::GetImageSize() MIME type parameter.
- Fixed handling of surrogates for TrueType fonts.
- Fixed problem with automatic page break
wxPdfDocument 1.0.2
wxPdfDocument 1.0.2 is compatible with wxWidgets versions 3.0.x and 3.1.x.
General changes:
- Added attribute "viewport" for XML markup element "img"
- Added option to specify the unit for numeric attributes in XML markup elements
- Slightly optimized handling for the XML markup element "img"
- Added new flag wxPDF_VIEWER_NOPRINTSCALING for method wxPdfDocument::SetViewerPreferences
- Added method wxPdfDocument::SetPaperHandling for better printout handling
Fixed bugs:
- Fixed markup handling for paragraphs in table cells
- Fixed markup table handling (wrong total height used to reserve space)
- Fixed justification issue in markup text
- Adjusted handling of pens and brushes in wxPdfDC
wxPdfDocument 1.0.1
wxPdfDocument 1.0.1 is compatible with wxWidgets versions 3.0.x and 3.1.x.
Fixed bugs:
- Fixed hatch pattern scaling in wxPdfDC
- Fixed compile time error in ANSI mode
wxPdfDocument 1.0.0
wxPdfDocument 1.0.0 is compatible with wxWidgets versions 3.0.x and 3.1.x.
Changes since last release:
- Removed support for wxWidgets 2.x
- Added support for PDF/A-1B conformance
- Added transformation matrix support for wxPdfDC
- Added attribute "char-spacing" for XML markup element "span"
- Added maximum height attribute for table rows in XML markup
- Implemented extended support for fill patterns (template based patterns, various hatch patterns)
- Enhanced support for wxBrush styles in wxPdfDC (stipple and hatch styles)
- Changed data type of image measures in XML markup (from integer to double)
- Optimized wxPdfDC output (setting of pens, brushes, state changes)
Fixed bugs:
- Fixed issue with bitmap images in wxPdfDC (now using globally unique identifiers)
- Fixed wxPdfDC issue with pen and brush color
- Fixed issue with patterns in templates
- Use the transparent background mode by default (relevant for alpha support in wxPdfDC)