Skip to content

Commit ade9e59

Browse files
committedJan 6, 2025··
Prepare release of wxPdfDocument 1.2.1
1 parent efe0f10 commit ade9e59

File tree

7 files changed

+324
-239
lines changed

7 files changed

+324
-239
lines changed
 

‎CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,18 @@ and from version 0.9.0 onwards this project adheres to [Semantic Versioning](htt
77

88
## [Unreleased]
99

10+
## [1.2.1] - 2025-01-06
11+
1012
### Changed
1113

1214
- Improved font lookup in wxPdfFontManager to search also under the font family alias, if given
15+
- Replaced use of wxScreenDC by wxDisplay
16+
- Restored support for wxWidgets 3.0.x
17+
18+
### Fixed
19+
20+
- Check for availability of header file `Security/SecRandom.h` (fix issue #94)
21+
- Fixed wxPdfDCImpl::DoDrawText for multiline text
1322

1423
## [1.2.0] - 2024-02-18
1524

‎configure.ac

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dnl Copyright (C) 2017 Vadim Zeitlin <vadim@wxwidgets.org>
55
dnl
66
dnl This file is covered by the same licence as the entire wxpdfdoc package.
77

8-
AC_INIT([wxpdfdoc], [1.2.0], [github@telle-online.de])
8+
AC_INIT([wxpdfdoc], [1.2.1], [github@telle-online.de])
99

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

9595
AC_ARG_VAR(WX_CONFIG, [Path to wx-config script (default: search in PATH).])
9696
WX_CONFIG_OPTIONS
97-
WX_CONFIG_CHECK([3.2.0],
97+
WX_CONFIG_CHECK([3.0.0],
9898
[],
9999
[AC_MSG_FAILURE([wxWidgets required but not detected.])],
100100
[base,core,xml]
@@ -108,7 +108,7 @@ dnl we can't use "--optional-libs" wx-config option to do it all in one check
108108
dnl for as long as we support 2.8 in which wx-config doesn't have this option
109109
dnl yet).
110110
core_WX_LIBS=$WX_LIBS
111-
WX_CONFIG_CHECK([2.8.0],
111+
WX_CONFIG_CHECK([3.0.0],
112112
[WX_LIBS_PDFDC_SAMPLE=$WX_LIBS],
113113
[AC_MSG_WARN([Some wxWidgets libraries not available, pdfdc sample won't be built])],
114114
[adv,base,core,html,richtext,xml]

‎docs/Doxyfile

+289-226
Large diffs are not rendered by default.

‎include/wx/pdfdoc_version.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
#define PDFDOC_MAJOR_VERSION 1
1515
#define PDFDOC_MINOR_VERSION 2
16-
#define PDFDOC_RELEASE_NUMBER 0
16+
#define PDFDOC_RELEASE_NUMBER 1
1717
#define PDFDOC_SUBRELEASE_NUMBER 0
18-
#define PDFDOC_VERSION_STRING "wxPdfDocument 1.2.0"
18+
#define PDFDOC_VERSION_STRING "wxPdfDocument 1.2.1"
1919

2020
#endif // _PDFDOC_VERSION_H_

‎include/wx/pdfdocdef.h

+14-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
** Purpose: Compile time definitions and documentation
44
** Author: Ulrich Telle
55
** Created: 2005-08-04
6-
** Copyright: (c) 2005-2024 Ulrich Telle
6+
** Copyright: (c) 2005-2025 Ulrich Telle
77
** Licence: wxWindows licence
88
** SPDX-License-Identifier: LGPL-3.0+ WITH WxWindows-exception-3.1
99
*/
@@ -70,6 +70,19 @@ Or you can send a mail to the author
7070
\section version Version history
7171
7272
<dl>
73+
<dt><b>1.2.1</b> - <i>January 2025</i></dt>
74+
<dd>
75+
Changes:<br>
76+
- Improved font lookup in wxPdfFontManager to search also under the font family alias, if given
77+
- Replaced use of wxScreenDC by wxDisplay
78+
- Restored support for wxWidgets 3.0.x
79+
80+
Fixed bugs:<br>
81+
- Check for availability of header file "Security/SecRandom.h" (fix issue #94)
82+
- Fixed wxPdfDCImpl::DoDrawText for multiline text
83+
84+
</dd>
85+
7386
<dt><b>1.2.0</b> - <i>February 2024</i></dt>
7487
<dd>
7588
Changes:<br>

‎include/wx/pdffontdata.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class WXDLLIMPEXP_PDFDOC wxPdfGlyphListEntry
3838
{
3939
public:
4040
/// Default constructor
41-
wxPdfGlyphListEntry() {};
41+
wxPdfGlyphListEntry() : m_gid(0), m_uid(0) {};
4242

4343
/// Destructor
4444
~wxPdfGlyphListEntry() {};

‎readme.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ creation of simple drawings.
1919

2020
## Version information
2121

22-
* 1.2.0 - *February 2024*
23-
- Added support for document protection with AES-256 encryption (PDF 2.0).
24-
- Added support for importing PDF documents protected with AES encryption.
25-
- The library now requires a C++11 compiler for compilation.
26-
- Build support for Visual C++ versions below 2015 has been removed.
27-
- Fixed problem with page breaks in XML tables.
22+
* 1.2.1 - *January 2025*
23+
- Improved font lookup in wxPdfFontManager to search also under the font family alias, if given
24+
- Replaced use of wxScreenDC by wxDisplay
25+
- Restored support for wxWidgets 3.0.x
26+
- Check for availability of header file "Security/SecRandom.h" (fix issue #94)
27+
- Fixed wxPdfDCImpl::DoDrawText for multiline text
2828

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

0 commit comments

Comments
 (0)
Please sign in to comment.