commit 4602cac96104b74037862e223bb774be26bfd67c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Sep 1 00:30:57 2022 +0200

    poppler 22.09.0

 CMakeLists.txt     |  4 ++--
 NEWS               | 19 +++++++++++++++++++
 cpp/CMakeLists.txt |  2 +-
 cpp/Doxyfile       |  2 +-
 qt5/src/Doxyfile   |  2 +-
 qt6/src/Doxyfile   |  2 +-
 6 files changed, 25 insertions(+), 6 deletions(-)

commit 0c9bfb401780d6e05adba58e03c3dbdfa44c9895
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Wed Aug 31 11:07:14 2022 +0200

    Store 'gfx' as a std::unique_ptr

    Otherwise it will leak if charProc is not a stream (line 488).

    Found by

      https://sonarcloud.io/project/overview?id=tsdgeos_poppler_mirror

 poppler/CairoFontEngine.cc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 9a3d991e62ba936495780007132299d73f3d603b
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Wed Aug 31 11:05:18 2022 +0200

    Fix copy'n'paste bug in the check for bounding box correctness

    Found by

      https://sonarcloud.io/project/overview?id=tsdgeos_poppler_mirror

 glib/tests/CMakeLists.txt | 2 +-
 glib/tests/check_bb.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit c4cc5650067d4aca26091d187fb464eaee54bef0
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Tue Aug 30 14:30:34 2022 +0200

    Store destination_private in a std::unique_ptr

    This simplifies the code a bit.

    It also fixes a 'code smell' found by

      https://sonarcloud.io/project/overview?id=tsdgeos_poppler_mirror

 cpp/poppler-destination.cpp | 16 +++-------------
 cpp/poppler-destination.h   |  4 +++-
 2 files changed, 6 insertions(+), 14 deletions(-)

commit eb6b42a12a81cdf84b64db9e4e44b5158dcb8a3a
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Tue Aug 30 14:26:43 2022 +0200

    Make noncopyable objects move-assignable

    Move-assignment needs to be allowed explicitly, because
    otherwise derived classes that implement operator=(&&)
    will try to use noncopyable::operator=(&), which is
    not allowed.

 cpp/poppler-global.cpp | 3 +++
 cpp/poppler-global.h   | 2 ++
 2 files changed, 5 insertions(+)

commit 4f7ae5bbcf10e8eec44e08b885504a1115fb05a4
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Aug 31 00:05:27 2022 +0200

    Update (C)

 poppler/Annot.cc            | 1 +
 poppler/PDFDoc.cc           | 1 +
 poppler/SignatureHandler.cc | 1 +
 3 files changed, 3 insertions(+)

commit 5c3cbea4044fed263fe5e34d911e9db85d55bdf4
Author: Erich E. Hoover <erich.e.hoover@gmail.com>
Date:   Thu Aug 4 10:31:16 2022 -0600

    SignatureHandler: Fix getSignerName when signing_cert is available
    but CMSSignerInfo is not

 poppler/SignatureHandler.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 8452b0dee6b5267e785bf6dea4d7b537a4cfb637
Author: Erich E. Hoover <erich.e.hoover@gmail.com>
Date:   Sat Jul 30 15:40:08 2022 -0600

    Form: When signing with an appearance, ensure that a Form exists

 poppler/Form.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2beb458226509c3babd78e658e1a8ac72ccfb2b8
Author: Erich E. Hoover <erich.e.hoover@gmail.com>
Date:   Sat Jul 30 10:27:23 2022 -0600

    Annot: Fix applying signatures to fields that are not part of a form

 poppler/Annot.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 977dd2171fc3cf91d4a9d5855e379c39df8ee77e
Author: Erich E. Hoover <erich.e.hoover@gmail.com>
Date:   Fri Jul 29 17:04:36 2022 -0600

    PDFDoc: Fix finding signature fields not associated with a form

 poppler/PDFDoc.cc | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

commit 6b5437a07535d5fd07c114e71c2cbff9b2a2f454
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Aug 29 00:45:19 2022 +0200

    Fix memory leak in TextStringToUTF8

 utils/pdfsig.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 27354e9d9696ee2bc063910a6c9a6b27c5184a52
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Aug 25 00:14:22 2022 +0200

    JBIG2Stream: Fix crash on broken file

    https://github.com/jeffssh/CVE-2021-30860

    Thanks to David Warren for the heads up

 poppler/JBIG2Stream.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 619bfc1f280eed11523e6f8756460ed2598769b9
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Aug 23 22:31:24 2022 +0200

    cmake: Better linking against GTK3

 glib/demo/CMakeLists.txt  | 7 -------
 glib/tests/CMakeLists.txt | 7 +------
 test/CMakeLists.txt       | 9 ++-------
 3 files changed, 3 insertions(+), 20 deletions(-)

commit 5bec49749b9a2a9b4779a977f673531b42470264
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Aug 19 22:20:17 2022 +0200

    We can use isnan now

 poppler/Function.cc               | 4 ++--
 poppler/MarkedContentOutputDev.cc | 6 +++---
 poppler/TextOutputDev.cc          | 3 +--
 3 files changed, 6 insertions(+), 7 deletions(-)

commit 03c7bbd6216cbfac257243b59453084f5f52e354
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Aug 19 18:52:11 2022 +0200

    JBIG2Stream::readHalftoneRegionSeg: Fix potential memory leak

 poppler/JBIG2Stream.cc | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

commit d1b1535af673170c5e094b924dd3cc122890270e
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Aug 19 18:41:38 2022 +0200

    pdfunite: Fix potential memory leak of docs

 utils/pdfunite.cc | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

commit 99889f51e95169c4946f3bbd74adb317bf3b64a9
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Aug 19 18:38:06 2022 +0200

    glib: Fix two potential memory leaks in
    poppler_document_create_dests_tree

 glib/poppler-document.cc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit efb68686784f0c58668b7ced990fd173e09346db
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Aug 18 23:41:24 2022 +0200

    pdfunite: Don't crash in broken documents

 utils/pdfunite.cc | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

commit b976740c3dfb8e29ee716a9ab19ba5bb4106f5a0
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Aug 19 13:41:27 2022 +0200

    CI: remove workarounds for cmake 3.24.0

    now that they have 3.24.1

 .gitlab-ci.yml           |  4 ++--
 CMakeLists.txt           |  6 ------
 qt5/tests/CMakeLists.txt | 24 ------------------------
 qt6/tests/CMakeLists.txt | 24 ------------------------
 4 files changed, 2 insertions(+), 56 deletions(-)

commit c569e5d819de1e53813ebd8409e57c297d069537
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Aug 13 18:55:57 2022 +0200

    Add (C)

 poppler/PDFDoc.h | 1 +
 1 file changed, 1 insertion(+)

commit 4564a002bcb6094cc460bc0d5ddff9423fe6dd28
Author: crt <chluo@cse.cuhk.edu.hk>
Date:   Sat Aug 13 16:53:11 2022 +0000

    pdfunite: Fix crash on broken files

 poppler/PDFDoc.cc | 6 +++++-
 poppler/PDFDoc.h  | 2 +-
 utils/pdfunite.cc | 9 ++++++++-
 3 files changed, 14 insertions(+), 3 deletions(-)

commit c9c5eb782a8820f328dc32bcaf74d7f0b2cb6d7a
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Sun Aug 7 10:49:00 2022 +0200

    Use std::vector to store dash patterns

    Makes the code more readable.

 poppler/Annot.cc              | 73
 +++++++++++--------------------------------
 poppler/Annot.h               |  6 ++--
 poppler/CairoOutputDev.cc     |  8 ++---
 poppler/Gfx.cc                | 33 ++++++-------------
 poppler/GfxState.cc           | 16 ++--------
 poppler/GfxState.h            | 11 +++----
 poppler/PSOutputDev.cc        |  8 ++---
 poppler/PreScanOutputDev.cc   |  6 ++--
 poppler/SplashOutputDev.cc    |  9 ++----
 qt5/src/QPainterOutputDev.cc  | 10 +++---
 qt5/src/poppler-annotation.cc | 15 +++++----
 qt6/src/QPainterOutputDev.cc  | 10 +++---
 qt6/src/poppler-annotation.cc | 11 ++-----
 13 files changed, 67 insertions(+), 149 deletions(-)

commit b8aaf51d69938412f9cca215d3825f53931706d6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Aug 9 00:21:00 2022 +0200

    Workaround cmake 3.24.0 warning-y code

    https://gitlab.kitware.com/cmake/cmake/-/issues/23823

 .gitlab-ci.yml           |  6 ++----
 CMakeLists.txt           |  6 ++++++
 qt5/tests/CMakeLists.txt | 24 ++++++++++++++++++++++++
 qt6/tests/CMakeLists.txt | 24 ++++++++++++++++++++++++
 4 files changed, 56 insertions(+), 4 deletions(-)

commit 6ea5c63b7d8a1728f178b3a5d377bca3a17f7447
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Aug 7 13:20:13 2022 +0200

    clang-format-14 reformat to ignore-revs file

 .git-blame-ignore-revs | 2 ++
 1 file changed, 2 insertions(+)

commit a94a444e5acff86e04d1688d862e81a82108cf03
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jul 29 16:31:10 2022 +0200

    CI: clang 13 -> 14

 .gitlab-ci.yml            |  19 ++--
 README.contributors       |   2 +-
 goo/gfile.h               |  10 +-
 poppler/CairoOutputDev.h  | 100 ++++++++++++++----
 poppler/Gfx.h             |  10 +-
 poppler/GfxState.h        |  65 +++++++++---
 poppler/GlobalParams.cc   |   5 +-
 poppler/OutputDev.h       | 107 +++++++++++++++----
 poppler/PDFDoc.h          | 260
 ++++++++++++++++++++++++++++++++++++----------
 poppler/PSOutputDev.h     | 155 +++++++++++++++++++++------
 poppler/SplashOutputDev.h |  15 ++-
 poppler/TextOutputDev.h   | 125 +++++++++++++++++-----
 qt5/src/poppler-private.h |   5 +-
 qt6/src/poppler-private.h |   5 +-
 splash/Splash.h           |  15 ++-
 utils/InMemoryFile.h      |   5 +-
 16 files changed, 715 insertions(+), 188 deletions(-)

commit 1abe4a246adc4b655b7e2bf9a00c537d8d360329
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Aug 6 11:50:40 2022 +0200

    Save copying data in SplashState::setLineDash

 poppler/SplashOutputDev.cc |  6 +++---
 splash/Splash.cc           | 35 ++++++++++++-----------------------
 splash/Splash.h            |  6 ++----
 splash/SplashState.cc      | 27 ++++-----------------------
 splash/SplashState.h       |  9 ++++-----
 5 files changed, 25 insertions(+), 58 deletions(-)

commit 58e30f9aac59437c438b973bedc6a7982349c63a
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Sat Aug 6 09:53:52 2022 +0200

    Do not truncate line dash patterns with more than 20 entries

    Because otherwise files with longer patterns will not render
    correctly.  One example is the file in

      https://gitlab.freedesktop.org/poppler/poppler/-/issues/1281

    Fixes: 1281

 poppler/SplashOutputDev.cc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit 56a7f817567d65ce62bea03af27c0e60340116f4
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Aug 5 23:24:30 2022 +0200

    CI: workaround cmake 3.24.0 issues

    https://gitlab.kitware.com/cmake/cmake/-/issues/23823

 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

commit da27bb857f733ac0cd2115ba90b802d5e4382bc6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Aug 4 01:41:46 2022 +0200

    pdfsig: signatureNumber doesn't need to be global anymore

 utils/pdfsig.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7a08fc031c7ef42f6aeb1b3d034c9627cba701a7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Aug 4 01:40:50 2022 +0200

    Update (C)

 poppler/Form.cc | 1 +
 utils/pdfsig.cc | 1 +
 2 files changed, 2 insertions(+)

commit 64ccb8d248611fd1d7aef279d08ea7589a4e1fcb
Author: Erich E. Hoover <erich.e.hoover@gmail.com>
Date:   Mon Aug 1 16:02:05 2022 -0600

    pdfsig: Add support for specifying signature by field name

 utils/pdfsig.1  |  4 ++--
 utils/pdfsig.cc | 32 +++++++++++++++++++++++++++++++-
 2 files changed, 33 insertions(+), 3 deletions(-)

commit ec71a5dc45039f2a8352b99803e98c148a2679a8
Author: Erich E. Hoover <erich.e.hoover@gmail.com>
Date:   Fri Jul 29 10:12:53 2022 -0600

    pdfsig: List signature field names when listing signature information

 utils/pdfsig.cc | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

commit 41af89601202f7973a6044f31ed14eba05c77f9a
Author: Erich E. Hoover <erich.e.hoover@gmail.com>
Date:   Tue Aug 2 14:12:06 2022 -0600

    Fix convertToUtf16 so it does not add the Unicode marker to the
    output string

 poppler/Form.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0c42f7482ca3ab9ec6945c4975b8fb6f0a2cb7cc
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Aug 2 23:18:41 2022 +0200

    Fix error() string formatting

 poppler/Form.cc         | 18 +++++++++---------
 poppler/GlobalParams.cc |  4 ++--
 2 files changed, 11 insertions(+), 11 deletions(-)

commit 12853d22e9d0527c10ada02666aef629db3e5e7c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Aug 1 23:06:48 2022 +0200

    22.08.0

 CMakeLists.txt   | 4 ++--
 NEWS             | 6 ++++++
 cpp/Doxyfile     | 2 +-
 qt5/src/Doxyfile | 2 +-
 qt6/src/Doxyfile | 2 +-
 5 files changed, 11 insertions(+), 5 deletions(-)

commit 78e939131f868e3ea6541ee1c096d82cd548e706
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Aug 1 21:33:25 2022 +0200

    Fix infinite recursion in broken files

    oss-fuzz/49702

 poppler/Annot.cc | 31 +++++++++++++++++++++++++++----
 1 file changed, 27 insertions(+), 4 deletions(-)

commit a89c3c27e02e9c300aa667c966d91fdf787c7d0a
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Jul 30 19:13:31 2022 +0200

    Merge Form DR into widget DR

    Fixes #1189
    Fixes #1267

 poppler/Annot.cc | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

commit e57106ffc5b2589e6d1e11182f1ff9e5370848f2
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Aug 1 00:00:11 2022 +0200

    Update clang used for clazy

 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 8677500399fc2548fa816b619580c2c07915a98c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jul 29 23:28:35 2022 +0200

    pdfseparate: Account for XRef::add failing because we run out
    of memory

    Fixes #1278

 poppler/PDFDoc.cc | 63
 ++++++++++++++++++++++++++++++++++++++++++-------------
 poppler/PDFDoc.h  |  6 +++---
 poppler/XRef.cc   | 11 ++++++++--
 poppler/XRef.h    |  4 ++--
 4 files changed, 62 insertions(+), 22 deletions(-)

commit ae6be1946e4eefd0d4f798930f9dfbb6fe332959
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jul 29 22:52:57 2022 +0200

    Update (C)

    and fix format, somehow i landed this without waiting for CI results,
    bad bad Albert

 utils/pdfunite.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 4631115647c1e4f0482ffe0491c2f38d2231337b
Author: crt <chluo@cse.cuhk.edu.hk>
Date:   Fri Jul 29 20:51:11 2022 +0000

    Check isDict before calling getDict

    Issue #1276

 utils/pdfunite.cc | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit cb1f2a685461b60e05d503165d05ea6c557ff277
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jul 29 20:59:28 2022 +0200

    JBIG2Stream: Fix crash on broken files

    oss-fuzz/49406

 poppler/JBIG2Stream.cc | 4 ++++
 1 file changed, 4 insertions(+)

commit 8f874169e5d43418873b40e86954b86c01f7ba99
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jul 29 16:26:20 2022 +0200

    Generate qt6 docs

 .gitlab-ci.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

commit b443f529a1a35b9d5028cb95c6dcc0111e1acec1
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jul 29 00:25:33 2022 +0200

    Update (C)

 poppler/CairoFontEngine.cc | 1 +
 poppler/PDFDoc.cc          | 1 +
 2 files changed, 2 insertions(+)

commit 2e3c53b71f78b13f2afdb122c2d59243de70ac45
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Jul 28 01:10:27 2022 +0200

    Fix leak in early return check that was just introduced

 poppler/PDFDoc.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit dcd5bd8238ea448addd102ff045badd0aca1b990
Author: crt <chluo@cse.cuhk.edu.hk>
Date:   Wed Jul 27 08:40:02 2022 +0000

    pdfseparate: Check XRef's Catalog for being a Dict

 poppler/PDFDoc.cc | 4 ++++
 1 file changed, 4 insertions(+)

commit b96437128742e87a7603fa2a4d74baeda8368fba
Author: Marcel Fabian Krüger <tex@2krueger.de>
Date:   Thu Jul 21 23:47:39 2022 +0200

    Support Type3 charprocs having Resources in Cairo

    In !955 the same was done for OutputDevs with
    interpretType3Chars()=true,
    this adds similar handling to CairoFontEngine.

 poppler/CairoFontEngine.cc | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit bb1651334abc11495fa0326c8d562243d2a4b055
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 4 20:09:04 2022 +0200

    poppler 22.07.0

 CMakeLists.txt      |  2 +-
 NEWS                | 14 ++++++++++++++
 cpp/Doxyfile        |  2 +-
 glib/CMakeLists.txt |  2 +-
 qt5/src/Doxyfile    |  2 +-
 qt6/src/Doxyfile    |  2 +-
 6 files changed, 19 insertions(+), 5 deletions(-)

commit 16812b7f41ea2a7299449415aae89d3d812b6b47
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 4 00:18:22 2022 +0200

    Update (C)

 poppler/Form.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a0e4ff30be462cae010d22d291ab282f5d86a5e3
Author: Nelson Benítez León <nbenitezl@gmail.com>
Date:   Wed May 11 21:07:30 2022 -0400

    glib: add support for stamp annotation

    Creates new PopplerAnnotStamp type with the
    following public api:

    PopplerAnnot *poppler_annot_stamp_new(PopplerDocument *doc,
    PopplerRectangle *rect);
    PopplerAnnotStampIcon poppler_annot_stamp_get_icon(PopplerAnnotStamp
    *poppler_annot);
    void poppler_annot_stamp_set_icon(PopplerAnnotStamp *poppler_annot,
    PopplerAnnotStampIcon icon);
    gboolean poppler_annot_stamp_set_custom_image(PopplerAnnotStamp
    *poppler_annot, cairo_surface_t *image, GError **error);

    Updates poppler-glib-demo to test PopplerAnnotStamp
    including the custom image support.

 glib/demo/annots.c                  | 171 ++++++++++++++++++++-
 glib/poppler-annot.cc               | 288
 ++++++++++++++++++++++++++++++++++++
 glib/poppler-annot.h                |  35 +++++
 glib/poppler-page.cc                |   3 +
 glib/poppler-private.h              |   2 +
 glib/poppler.h                      |   1 +
 glib/reference/poppler-sections.txt |  10 ++
 glib/reference/poppler.types        |   1 +
 8 files changed, 507 insertions(+), 4 deletions(-)

commit 40762b05b73ec790c8cbe33ab76770f181f67aee
Author: Nelson Benítez León <nbenitezl@gmail.com>
Date:   Sun Jun 19 19:28:52 2022 -0400

    Form.cc: Fix crash in Form::ensureFontsForAllCharacters()

    code was assuming that defaultResources->lookupFont() would
    never return null.

    Fixes #1258

 poppler/Form.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 188aa1f8547e945752344e4e2294d4eafa167018
Author: Fabian Keßler <fabian_kessler@gmx.de>
Date:   Mon Jun 20 18:55:31 2022 +0000

    Fixes 2 MSVC compilation bugs

 glib/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a59bd7fa60609beb0e59eef0706ffe69f98e5beb
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jun 17 19:50:31 2022 +0200

    Update (C)

 poppler/NameToUnicodeTable.h | 1 +
 1 file changed, 1 insertion(+)

commit 9f938008f64bba382095fe6044a786950e059bae
Author: Vincent Lefevre <vincent@vinc17.net>
Date:   Fri Jun 17 17:51:02 2022 +0200

    Add ToUnicode support for lessorequalslant and greaterorequalslant

    Character names lessorequalslant and greaterorequalslant are generated
    from \leqslant and \geqslant in LaTeX with the amssymb package. They
    correspond to the Unicode characters
      U+2A7D LESS-THAN OR SLANTED EQUAL TO
      U+2A7E GREATER-THAN OR SLANTED EQUAL TO

 poppler/NameToUnicodeTable.h | 2 ++
 1 file changed, 2 insertions(+)

commit 8a14a2dd6fb837944a4465646b8154d75fe6c3cc
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Jun 16 19:18:21 2022 +0200

    Make the pregenerated contents more stable

    by running sed to remove the path from gperf command line

 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 727b334b00e1e298badcca94700369a13846f822
Author: Fabian Keßler <fabian_kessler@gmx.de>
Date:   Thu Jun 16 17:15:11 2022 +0000

    Run gperf as the full path found by find_program

    instead of relying it being in the path

 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e7e9721b120876cddf16fc98a605ecb49dc44620
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 24 17:11:05 2022 +0200

    Annot: Fix first lines of Annotations sometimes being cut off

    What we're calculating in those two places is the top left corner for
    where to draw the character substracting the descent doesn't make any
    sense.

    Bug #1246

 poppler/Annot.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit da226d346e691f7545d995d6761d43e08855a3b7
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sat Jun 11 20:36:13 2022 +0930

    CairoFontEnginer: increment font_face reference when retrieving from
    the cache

    since ~CairoFont() will decrement the reference count

 poppler/CairoFontEngine.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 184efabbaed7250903169627fbbaeb505ee2f51a
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jun 6 11:23:51 2022 +0200

    Signatures: Don't crash if the signature doesn't have a common name

    Fixes KDE bug #454782

 poppler/SignatureHandler.cc | 3 +++
 1 file changed, 3 insertions(+)

commit 32fa2888eaaaaf80e5d2338cb8cb8b773ccfd4d3
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Jun 1 17:00:51 2022 +0200

    poppler 22.06.0

 CMakeLists.txt   |  4 ++--
 NEWS             | 15 +++++++++++++++
 cpp/Doxyfile     |  2 +-
 qt5/src/Doxyfile |  2 +-
 qt6/src/Doxyfile |  2 +-
 5 files changed, 20 insertions(+), 5 deletions(-)

commit b4a961ecdaeb66daf603980cc294e17968ef5037
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Jun 1 00:39:55 2022 +0200

    Update (C)

 poppler/Form.cc              | 2 +-
 qt5/src/QPainterOutputDev.cc | 2 +-
 qt6/src/QPainterOutputDev.cc | 2 +-
 splash/SplashFTFontFile.cc   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

commit d24ff1963429f409d5286632108d46d34ae3f2b1
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Wed May 11 08:32:24 2022 +0930

    Make FT support UTF-8 filenames on windows

 CMakeLists.txt               | 17 ++++++-----
 goo/ft_utils.cc              | 71
 ++++++++++++++++++++++++++++++++++++++++++++
 goo/ft_utils.h               | 25 ++++++++++++++++
 poppler/CairoFontEngine.cc   |  3 +-
 poppler/Form.cc              |  5 ++--
 qt5/src/QPainterOutputDev.cc |  3 +-
 qt6/src/QPainterOutputDev.cc |  3 +-
 splash/SplashFTFontFile.cc   |  7 +++--
 8 files changed, 118 insertions(+), 16 deletions(-)

commit 2edb75336aaea52007d3d2e2f3f4566978a948a4
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Jun 1 00:28:18 2022 +0200

    Update (C)

 utils/HtmlOutputDev.cc | 1 +
 1 file changed, 1 insertion(+)

commit ae13fd1f561125be152f3249ca87c8259b22ca6a
Author: Brian Rosenfield <brosenfi@yahoo.com>
Date:   Tue May 31 21:21:16 2022 +0000

    Fix type 3 font size initialization in pdftohtml using font
    bounding box

 utils/HtmlOutputDev.cc | 50
 +++++++++++++++++++++++++++++---------------------
 1 file changed, 29 insertions(+), 21 deletions(-)

commit f33cdde7e0e6a6352d724033cc9801c964487bc6
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sat May 14 12:47:23 2022 +0930

    Refactor CairoFontEngine caching

 poppler/CairoFontEngine.cc | 421
 ++++++++++++++++++---------------------------
 poppler/CairoFontEngine.h  |  44 +++--
 poppler/CairoOutputDev.cc  |   2 +-
 poppler/CairoOutputDev.h   |   2 +-
 4 files changed, 204 insertions(+), 265 deletions(-)

commit 7c822d062fe5602475f82746d0fd5961a70a831a
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed May 25 17:59:26 2022 +0200

    test: Fix finding cairo headers on compile time

 test/CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

commit ea8c6fe95ef63e0f6d6502d2521c0a0dac17cc1d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed May 25 14:51:22 2022 +0200

    Make gcc a bit happier

 cpp/poppler-page.h           | 6 +++---
 qt5/src/QPainterOutputDev.cc | 3 ++-
 qt6/src/QPainterOutputDev.cc | 3 ++-
 3 files changed, 7 insertions(+), 5 deletions(-)

commit a8ffdc092dff15a7729d4ec2e5a1476dc1030172
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Tue May 24 19:12:48 2022 +0930

    Add cairo thread test

 test/CMakeLists.txt       |  21 ++
 test/cairo-thread-test.cc | 561
 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 582 insertions(+)

commit 3d8e5e005fb553147c2a4a6d7327c98896221faa
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon May 9 00:44:16 2022 +0200

    pdfattach: Assume filename is utf8 encoded

    Which is the encoding most [linux] OS use

    Fixes issue #1079

 utils/pdfattach.cc | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit b700e0b254ed35b672b85bb86d6a81877fe30e10
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 17 00:52:04 2022 +0200

    Forms: Fix crash in forms with their own DR

    When adding potentially missing fonts to the PDF file because we have
    written a letter like ħ that is not available on the form font,
    if the
    form has their own DR, we also need to add the font to that DR
    Font dict
    and not only to the global Form one (in theory we would only have
    to add
    it to the particular form one and not to the global, but it's easier
    this way and it's not like we're adding the data twice, we're just
    adding the Ref to two dicts)

 poppler/Form.cc               | 52
 ++++++++++++++++++++++++++++++++-----------
 poppler/Form.h                | 16 +++++++++----
 poppler/PDFDoc.cc             |  2 +-
 qt5/src/poppler-annotation.cc |  2 +-
 qt6/src/poppler-annotation.cc |  2 +-
 5 files changed, 54 insertions(+), 20 deletions(-)

commit 4139f79cf8c4e3f529570c9a300491c36f9100e8
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 13 01:31:00 2022 +0200

    TextPage::coalesce: Fix crash on broken files

    oss-fuzz/47350

 poppler/TextOutputDev.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 4eeb3380ea77d277ace735f191f303564a25a0e3
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu May 12 22:42:02 2022 +0200

    greallocn: Make gcc 12.1 happier

    Without this hint that bytes is always going to be > 0 we got
    a million
    of warnings like

    In function ‘void gfree(void*)’,
        inlined from ‘void* greallocn(void*, int, int, bool, bool)’
        at goo/gmem.h:178:14,
        inlined from ‘void CharCodeToUnicode::setMapping(CharCode,
        Unicode*, int)’ at poppler/CharCodeToUnicode.cc:648:60:
    goo/gmem.h:65:14: warning: pointer used after ‘void free(void*)’
    [-Wuse-after-free]
       65 |     std::free(p);
          |     ~~~~~~~~~^~~
    In function ‘void gfree(void*)’,
        inlined from ‘void* grealloc(void*, size_t, bool)’ at
        goo/gmem.h:73:14,
        inlined from ‘void* greallocn(void*, int, int, bool, bool)’
        at goo/gmem.h:174:27,
        inlined from ‘void CharCodeToUnicode::setMapping(CharCode,
        Unicode*, int)’ at poppler/CharCodeToUnicode.cc:648:60:
    goo/gmem.h:65:14: note: call to ‘void free(void*)’ here
       65 |     std::free(p);
          |     ~~~~~~~~~^~~

 goo/gmem.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit e7f0fd89d937d28a77539fb9782a2b59eb51e5a8
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu May 12 22:38:40 2022 +0200

    NetPBMWriter: Change destructor

    Makes gcc 12.1 happier, i think it was a gcc bug anyway, but the new
    code is a bit "better" anyway, the warning i was getting is

    In file included from utils/ImageOutputDev.cc:44:
    In destructor ‘virtual NetPBMWriter::~NetPBMWriter()’,
        inlined from ‘virtual NetPBMWriter::~NetPBMWriter()’ at
        goo/NetPBMWriter.h:41:31,
        inlined from ‘void ImageOutputDev::writeImage(GfxState*,
        Object*, Stream*, int, int, GfxImageColorMap*, bool)’ at
        utils/ImageOutputDev.cc:636:16:
    goo/NetPBMWriter.h:41:31: warning: array subscript
    ‘NetPBMWriter[0]’ is partly outside array bounds of ‘ImgWriter
    [2]’ [-Warray-bounds]
       41 |     ~NetPBMWriter() override {};
          |                               ^
    utils/ImageOutputDev.cc: In member function ‘void
    ImageOutputDev::writeImage(GfxState*, Object*, Stream*, int, int,
    GfxImageColorMap*, bool)’:
    utils/ImageOutputDev.cc:620:57: note: object of size 16 allocated
    by ‘operator new’
      620 |             writer = new PNGWriter(PNGWriter::MONOCHROME);
          |                                                         ^
    utils/ImageOutputDev.cc:623:51: note: object of size 16 allocated
    by ‘operator new’
      623 |             writer = new PNGWriter(PNGWriter::GRAY);
          |                                                   ^
    utils/ImageOutputDev.cc:627:52: note: object of size 16 allocated
    by ‘operator new’
      627 |             writer = new PNGWriter(PNGWriter::RGB48);
          |                                                    ^
    utils/ImageOutputDev.cc:630:50: note: object of size 16 allocated
    by ‘operator new’
      630 |             writer = new PNGWriter(PNGWriter::RGB);
          |                                                  ^

 goo/NetPBMWriter.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit cf5034d83593dae25890d8cb58159491683629f6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu May 12 22:35:33 2022 +0200

    Update (C)

 poppler/CairoOutputDev.cc | 2 +-
 poppler/GfxState.h        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit b2f48cfc89b0ef73e0eed56ca819bf6add04eb96
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed May 4 00:13:56 2022 +0200

    Fix uninitialized memory read on broken files

 fofi/FoFiType1C.cc | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

commit 5b476757e70c79e8dca5fe2a3fb69cbbbfe710a9
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 22 17:50:04 2022 +0200

    GetWindowsFontDir: Simply call SHGetFolderPathA

    Instead of all the dance with loading various different dlls

    We don't support terribly old Windows that don't even have
    SHGetFolderPathA

 poppler/GlobalParamsWin.cc | 34 +++-------------------------------
 1 file changed, 3 insertions(+), 31 deletions(-)

commit 29f32a477f0f75ee44df890acac377a2eed314c6
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Fri Apr 22 16:15:09 2022 +0930

    cairo: preserve text color when drawing type 3 glyphs

    Type 3 glyphs (that don't override the color) should be painted with
    the current graphics state color when the text operator is invoked.

 poppler/CairoFontEngine.cc |  11 +++-
 poppler/CairoOutputDev.cc  | 154
 ++++++++++++++++++++++++++++++---------------
 poppler/CairoOutputDev.h   |  21 +++++--
 poppler/GfxState.h         |   2 +
 4 files changed, 130 insertions(+), 58 deletions(-)

commit 27672cc02a6dd07849bf83a298597e083831ec49
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed May 4 23:25:49 2022 +0200

    JBIGStream: Fix unint memory read on broken files
