diff options
author | Taichi Haradaguchi <20001722@ymail.ne.jp> | 2022-12-11 18:00:28 +0900 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-09-26 18:51:51 +0200 |
commit | be2a48316e8a0196b27bac97a251ae527f7a0fd8 (patch) | |
tree | 590a639bab1a47c9f1bbf0daa1934e44e34c5604 /external | |
parent | 2944114a7b644d6f2d97045990118921f15838db (diff) |
poppler: upgrade to release 22.12.0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143977
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit 1ec7f8b5b21bf74f684095b97a2b9900a71a0979)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144066
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
(cherry picked from commit b0c879d8f43f3266ce33eb5f20c08cf33c9734aa)
fix poppler build
* Update POPPLER_VERSION in poppler-config.patch.1
Change-Id: Iba770e6a3036a091925997025d4528f1d855da5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149795
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 36034a942ad90e9bde04b5d4172e5541bbc58563)
Diffstat (limited to 'external')
-rw-r--r-- | external/poppler/disable-freetype.patch.1 | 4 | ||||
-rw-r--r-- | external/poppler/poppler-config.patch.1 | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/external/poppler/disable-freetype.patch.1 b/external/poppler/disable-freetype.patch.1 index d59006eba979..710742206925 100644 --- a/external/poppler/disable-freetype.patch.1 +++ b/external/poppler/disable-freetype.patch.1 @@ -22,7 +22,7 @@ disable freetype dependent code // return a newly allocated char* containing an UTF16BE string of size length char *pdfDocEncodingToUTF16(const std::string &orig, int *length) -@@ -2730,6 +2730,8 @@ +@@ -2743,6 +2743,8 @@ Form::AddFontResult Form::addFontToDefaultResources(const std::string &filepath, int faceIndex, const std::string &fontFamily, const std::string &fontStyle) { @@ -31,7 +31,7 @@ disable freetype dependent code if (!GooString::endsWith(filepath, ".ttf") && !GooString::endsWith(filepath, ".ttc") && !GooString::endsWith(filepath, ".otf")) { error(errIO, -1, "We only support embedding ttf/ttc/otf fonts for now. The font file for {0:s} {1:s} was {2:s}", fontFamily.c_str(), fontStyle.c_str(), filepath.c_str()); return {}; -@@ -2939,6 +2941,7 @@ +@@ -2951,6 +2953,7 @@ } return { dictFontName, fontDictRef }; diff --git a/external/poppler/poppler-config.patch.1 b/external/poppler/poppler-config.patch.1 index 455a88e2afc4..1e61b533d31b 100644 --- a/external/poppler/poppler-config.patch.1 +++ b/external/poppler/poppler-config.patch.1 @@ -173,7 +173,7 @@ index 0fbd336a..451213f8 100644 +#define PACKAGE_NAME "poppler" + +/* Define to the full name and version of this package. */ -+#define PACKAGE_STRING "poppler 22.09.0" ++#define PACKAGE_STRING "poppler 22.12.0" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "poppler" @@ -182,7 +182,7 @@ index 0fbd336a..451213f8 100644 +#define PACKAGE_URL "" + +/* Define to the version of this package. */ -+#define PACKAGE_VERSION "22.09.0" ++#define PACKAGE_VERSION "22.12.0" + +/* Poppler data dir */ +#define POPPLER_DATADIR "/usr/local/share/poppler" @@ -200,7 +200,7 @@ index 0fbd336a..451213f8 100644 +/* #undef USE_FLOAT */ + +/* Version number of package */ -+#define VERSION "22.09.0" ++#define VERSION "22.12.0" + +#if defined(__APPLE__) +#elif defined (_WIN32) @@ -281,7 +281,7 @@ index 0fbd336a..451213f8 100644 + +/* Defines the poppler version. */ +#ifndef POPPLER_VERSION -+#define POPPLER_VERSION "22.09.0" ++#define POPPLER_VERSION "22.12.0" +#endif + +/* Use single precision arithmetic in the Splash backend */ @@ -433,9 +433,9 @@ index 0fbd336a..451213f8 100644 + +#include "poppler-global.h" + -+#define POPPLER_VERSION "22.09.0" ++#define POPPLER_VERSION "22.12.0" +#define POPPLER_VERSION_MAJOR 22 -+#define POPPLER_VERSION_MINOR 9 ++#define POPPLER_VERSION_MINOR 12 +#define POPPLER_VERSION_MICRO 0 + +namespace poppler |