Skip to content

Commit

Permalink
Prepare release of wxPdfDocument 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
utelle committed Jan 6, 2025
1 parent efe0f10 commit ade9e59
Show file tree
Hide file tree
Showing 7 changed files with 324 additions and 239 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,18 @@ and from version 0.9.0 onwards this project adheres to [Semantic Versioning](htt

## [Unreleased]

## [1.2.1] - 2025-01-06

### Changed

- 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

- Check for availability of header file `Security/SecRandom.h` (fix issue #94)
- Fixed wxPdfDCImpl::DoDrawText for multiline text

## [1.2.0] - 2024-02-18

Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dnl Copyright (C) 2017 Vadim Zeitlin <[email protected]>
dnl
dnl This file is covered by the same licence as the entire wxpdfdoc package.

AC_INIT([wxpdfdoc], [1.2.0], [[email protected]])
AC_INIT([wxpdfdoc], [1.2.1], [[email protected]])

dnl This is the version tested with, might work with earlier ones.
AC_PREREQ([2.69])
Expand Down Expand Up @@ -94,7 +94,7 @@ AC_LANG(C++)

AC_ARG_VAR(WX_CONFIG, [Path to wx-config script (default: search in PATH).])
WX_CONFIG_OPTIONS
WX_CONFIG_CHECK([3.2.0],
WX_CONFIG_CHECK([3.0.0],
[],
[AC_MSG_FAILURE([wxWidgets required but not detected.])],
[base,core,xml]
Expand All @@ -108,7 +108,7 @@ dnl we can't use "--optional-libs" wx-config option to do it all in one check
dnl for as long as we support 2.8 in which wx-config doesn't have this option
dnl yet).
core_WX_LIBS=$WX_LIBS
WX_CONFIG_CHECK([2.8.0],
WX_CONFIG_CHECK([3.0.0],
[WX_LIBS_PDFDC_SAMPLE=$WX_LIBS],
[AC_MSG_WARN([Some wxWidgets libraries not available, pdfdc sample won't be built])],
[adv,base,core,html,richtext,xml]
Expand Down
515 changes: 289 additions & 226 deletions docs/Doxyfile

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions include/wx/pdfdoc_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

#define PDFDOC_MAJOR_VERSION 1
#define PDFDOC_MINOR_VERSION 2
#define PDFDOC_RELEASE_NUMBER 0
#define PDFDOC_RELEASE_NUMBER 1
#define PDFDOC_SUBRELEASE_NUMBER 0
#define PDFDOC_VERSION_STRING "wxPdfDocument 1.2.0"
#define PDFDOC_VERSION_STRING "wxPdfDocument 1.2.1"

#endif // _PDFDOC_VERSION_H_
15 changes: 14 additions & 1 deletion include/wx/pdfdocdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
** Purpose: Compile time definitions and documentation
** Author: Ulrich Telle
** Created: 2005-08-04
** Copyright: (c) 2005-2024 Ulrich Telle
** Copyright: (c) 2005-2025 Ulrich Telle
** Licence: wxWindows licence
** SPDX-License-Identifier: LGPL-3.0+ WITH WxWindows-exception-3.1
*/
Expand Down Expand Up @@ -70,6 +70,19 @@ Or you can send a mail to the author
\section version Version history
<dl>
<dt><b>1.2.1</b> - <i>January 2025</i></dt>
<dd>
Changes:<br>
- 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:<br>
- Check for availability of header file "Security/SecRandom.h" (fix issue #94)
- Fixed wxPdfDCImpl::DoDrawText for multiline text
</dd>
<dt><b>1.2.0</b> - <i>February 2024</i></dt>
<dd>
Changes:<br>
Expand Down
2 changes: 1 addition & 1 deletion include/wx/pdffontdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class WXDLLIMPEXP_PDFDOC wxPdfGlyphListEntry
{
public:
/// Default constructor
wxPdfGlyphListEntry() {};
wxPdfGlyphListEntry() : m_gid(0), m_uid(0) {};

/// Destructor
~wxPdfGlyphListEntry() {};
Expand Down
12 changes: 6 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ creation of simple drawings.

## Version information

* 1.2.0 - *February 2024*
- Added support for document protection with AES-256 encryption (PDF 2.0).
- Added support for importing PDF documents protected with AES encryption.
- The library now requires a C++11 compiler for compilation.
- Build support for Visual C++ versions below 2015 has been removed.
- Fixed problem with page breaks in XML tables.
* 1.2.1 - *January 2025*
- 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
- Check for availability of header file "Security/SecRandom.h" (fix issue #94)
- Fixed wxPdfDCImpl::DoDrawText for multiline text

For further version information please consult the [CHANGELOG](CHANGELOG.md).

Expand Down

0 comments on commit ade9e59

Please sign in to comment.