Skip to content

Releases: utelle/wxpdfdoc

wxPdfDocument 1.2.1

06 Jan 09:14
80276bb
Compare
Choose a tag to compare

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

19 Feb 21:11
a3a4dce
Compare
Choose a tag to compare

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

27 Jan 17:30
4ffbccc
Compare
Choose a tag to compare

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(), and UseTemplate() 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 method GetX() resp GetY().

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

16 Nov 15:58
fb65699
Compare
Choose a tag to compare

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

23 Dec 21:48
8028890
Compare
Choose a tag to compare

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

19 Sep 12:07
5bdcdb9
Compare
Choose a tag to compare

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

14 Sep 21:56
d55b1aa
Compare
Choose a tag to compare

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)

wxPdfDocument 0.9.8

21 Sep 08:41
Compare
Choose a tag to compare

Changes since last release:

  • Added alpha transparency support for wxPdfDC (wxWidgets 3.x only)
  • Eliminated error messages issued from method wxPdfFontManager::RegisterSystemFonts on registering bitmap fonts files
  • Removed call to deprecated function wxFillLogFont
  • Added configure options to skip building samples/utilities
  • Added build support for Visual C++ 2019
  • Added AppVeyor CI

Fixed bugs:

  • Fixed issue with XML tables: Rows affected by common row spans are now kept together on the same page

Note

The property file wx_setup.props in the build subdirectory was adjusted to allow running AppVeyor CI without any modifications.

This modification triggers the use of specific library directories for different compiler versions (as it is used by the pre-built wxWidgets libraries). This adds the toolkit version (i.e. 141 for VS 2015, 142 for VS 2019) to the library path name.

For wxWidgets releases prior to version 3.1.3 this mode is not yet supported for VS 2019; for wxWidgets version 3.0.4 and below this affects also VS 2017. For those wxWidgets releases the wrong toolkit version is selected. The file include/msvc/wx/setup.h has been updated (lines 68 to 71) in the wxWidgets GitHub repository, but the released versions select the wrong toolkit version.

To get the previous default behaviour (library path names without toolkit version) the 2 parameters wxCompilerPrefix and wxMsvcVersionAuto in file wx_setup.props have to be adjusted as follows:

<wxCompilerPrefix>vc</wxCompilerPrefix>
<wxMsvcVersionAuto></wxMsvcVersionAuto>

Sorry for the inconvenience.

wxPdfDocument 0.9.7

09 Jan 19:09
Compare
Choose a tag to compare

Changes since last release:

  • Adjusted dash patterns to get (hopefully) perfect dots for all pen cap styles
  • Added a new map mode style wxPDF_MAPMODESTYLE_PDFFONTSCALE
  • Added support for justified text alignment when using Unicode fonts
  • Added border width and colour attributes to XML table output
  • Added speed up for text drawing in wxPdfDC class
  • Added multiline text support for wxPdfDC::DoDrawRotatedText
  • Added text background color support for wxPdfDC::DoDrawText and wxPdfDC::DoDrawRotatedText

Fixed bugs:

  • Fixed a bug when using a protected/encrypted external template
  • Fixed an issue on failing to load an image from simple XML due to missing mimetype
  • Fixed an issue on parsing the document information of an existing PDF document
  • Fixed a wxPdfParser issue with "startxref" not found
  • Fixed a crash on importing a completely empty page
  • Fixed a problem with empty content streams on import
  • Fixed several glitches in XML support
  • Fixed issue using wrong pen on drawing splines in method wxPdfDC::DoDrawSpline
  • Fixed issues in wxPdfDC class by taking transparency of pen and brush into account

wxPdfDocument 0.9.6

03 Apr 21:01
Compare
Choose a tag to compare

Changes since last release:

  • Overhauled the build system
  • Added continuous integration (Travis CI)
  • Replaced all occurrences of macro wxT by wxS
  • Added version information as Windows resource for DLL builds on Windows

Fixed bugs:

  • Fixed adjustment of angles in method wxPdfDocument::Ellipse
  • Fixed issue with drawing arcs from wxPdfDC by forcing angles into proper range for counter-clockwise drawing
  • Replaced MD5 implementation to resolve a license incompatibility issue
  • Replaced image in transparency sample to resolve a potential license issue

Note: The doxygen generated API documentation is not included any longer in the below downloads. Drop a note, if the API documentation should be made available as a download for offline usage.