Poppler 24.09.0 released
Available from http://poppler.freedesktop.org/poppler-24.09.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-24.09.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 core: * Catalog: map page by Ref to make findPage() faster * Catalog: Add support for OpenAction * CairoFontEngine: Fix cairo_font_face_t leak * Splash: Fix crash when softMask fails to allocate * Remove incorrect \n and \r characters at the end of error() strings This release was brought to you by Adrian Johnson, Albert Astals Cid, Hubert Figuière, Vincent Lefevre and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I know I'm behind in reviews P.P.S: I will be on vacation most of September and early October so 24.10.0 will probably be late
Poppler 24.08.0 released
Available from http://poppler.freedesktop.org/poppler-24.08.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-24.08.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 24.08.0: core: * Add support for modifying the appearance stream text in form field choice * Fix buffer overflow in Windows specific font selection code * Fix crashes in malformed files * Internal code improvements qt5: * Add support for modifying the appearance stream text in form field choice qt6: * Add support for modifying the appearance stream text in form field choice utils: * pdfinfo: Fix crash in malformed documents This release was brought to you by Adrian Johnson, Albert Astals Cid, Pratham Gandhi, Sune Vuorela and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I know I'm behind in reviews I apologize, I'm trying to schedule my spare time better
Re: Poppler 24.07.0 released
El dijous, 4 de juliol del 2024, a les 1:25:57 (CEST), William Bader va escriure: > The problem seems to be how I clone it. > > `git clone https://gitlab.freedesktop.org/poppler/poppler` works. > > `git clone git://git.freedesktop.org/git/poppler/poppler` is missing the > last few commits. Interesting, not much I can do, this is infrastructure and totally outside my control. I've filed a bug at https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/1467 Cheers, Albert > > ____________ > From: Albert Astals Cid > Sent: Wednesday, July 3, 2024 5:03 PM > To: PDF rendering library ; William Bader > Subject: Re: Poppler 24.07.0 released > > El dimecres, 3 de juliol del 2024, a les 18:50:35 (CEST), William Bader va > > escriure: > > Hi, > > Is it possible to add a poppler-24.07.0 tag to > > git.freedesktop.org/git/poppler/poppler ? > > It's there? > > https://gitlab.freedesktop.org/poppler/poppler/-/tags > > Cheers, > Albert > > > Thanks, > > William > > > > > > From: poppler on behalf of Albert > > Astals Cid Sent: Monday, July 1, 2024 5:44 PM > > To: poppler@lists.freedesktop.org > > Cc: ftp-rele...@lists.freedesktop.org > > Subject: Poppler 24.07.0 released > > > > Available from http://poppler.freedesktop.org/poppler-24.07.0.tar.xz > > > > The tarball is signed at > > http://poppler.freedesktop.org/poppler-24.07.0.tar.xz.sig with my key > > https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A > > 3 > > A6A4DB839EAA6D7 > > > > Release 24.07.0: > > > > core: > > * Fix crashes in broken files > > * Internal code improvements > > > > qt6: > > * Add getters for document additional actions > > * Implement reset forms link > > > > qt5: > > * Add getters for document additional actions > > * Implement reset forms link > > > > utils: > > * pdfinfo: Fix crash in broken documents when using -dests > > > > build system: > > * Mark glib-mkenums as required > > > > This release was brought to you by Adrian Johnson, Albert Astals Cid, > > Nelson Benítez León, Pratham Gandhi, Sune Vuorela and everyone else that > > filed bugs or helped with code reviews :) > > > > Testing, patches and bug reports welcome. > > > > Cheers, > > > > Albert > > > > P.S: Yes, I know I'm behind in reviews
Re: Poppler 24.07.0 released
El dimecres, 3 de juliol del 2024, a les 18:50:35 (CEST), William Bader va escriure: > Hi, > Is it possible to add a poppler-24.07.0 tag to > git.freedesktop.org/git/poppler/poppler ? It's there? https://gitlab.freedesktop.org/poppler/poppler/-/tags Cheers, Albert > Thanks, > William > > > From: poppler on behalf of Albert > Astals Cid Sent: Monday, July 1, 2024 5:44 PM > To: poppler@lists.freedesktop.org > Cc: ftp-rele...@lists.freedesktop.org > Subject: Poppler 24.07.0 released > > Available from http://poppler.freedesktop.org/poppler-24.07.0.tar.xz > > The tarball is signed at > http://poppler.freedesktop.org/poppler-24.07.0.tar.xz.sig with my key > https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3 > A6A4DB839EAA6D7 > > Release 24.07.0: > core: > * Fix crashes in broken files > * Internal code improvements > > qt6: > * Add getters for document additional actions > * Implement reset forms link > > qt5: > * Add getters for document additional actions > * Implement reset forms link > > utils: > * pdfinfo: Fix crash in broken documents when using -dests > > build system: > * Mark glib-mkenums as required > > This release was brought to you by Adrian Johnson, Albert Astals Cid, Nelson > Benítez León, Pratham Gandhi, Sune Vuorela and everyone else that filed > bugs or helped with code reviews :) > > Testing, patches and bug reports welcome. > > Cheers, > Albert > > P.S: Yes, I know I'm behind in reviews
Poppler 24.07.0 released
Available from http://poppler.freedesktop.org/poppler-24.07.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-24.07.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 24.07.0: core: * Fix crashes in broken files * Internal code improvements qt6: * Add getters for document additional actions * Implement reset forms link qt5: * Add getters for document additional actions * Implement reset forms link utils: * pdfinfo: Fix crash in broken documents when using -dests build system: * Mark glib-mkenums as required This release was brought to you by Adrian Johnson, Albert Astals Cid, Nelson Benítez León, Pratham Gandhi, Sune Vuorela and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I know I'm behind in reviews
Re: Is anongit down right now?
El divendres, 28 de juny del 2024, a les 21:09:06 (CEST), Zoe Clifford va escriure: > Hello Poppler maintainers, > > Is there something up with anongit.freedesktop.org today? The Poppler > documentation suggests this way to check out: > > git clone https://anongit.freedesktop.org/git/poppler/poppler.git > > However, that URL is currently giving me an HTTP 404. > > I know this worked on 2024-05-15, which was the last time we checked out > the Poppler code. I searched around for anyone else having freedesktop > anongit issues, but couldn't find anything. I know it's almost 2 days late, but seems to be working now for me. Cheers, Albert
Re: Poppler 24.06.0 released
El dissabte, 8 de juny del 2024, a les 20:27:04 (CEST), Andreas Radke va escriure: > Am Thu, 06 Jun 2024 11:01:31 +0200 > > schrieb Albert Astals Cid : > > El dilluns, 3 de juny del 2024, a les 0:04:47 (CEST), Albert Astals > > > > Cid va escriure: > > > Available from > > > http://poppler.freedesktop.org/poppler-24.06.0.tar.xz > > > > Apologies, we broke the internal ABI and forgot to increase the > > soversion of the internal library, should I do a 24.06.1 release with > > the increased soversion? > > > > Cheers, > > > > Albert > > > > P.S: Not sure if we have much distro people here ^_^ > > Arch is already on that new version. I haven't seen any report about > broken stuff but please do another release with a proper .so bump. Done. Cheers, Albert > > -Andy > Arch Linux
Re: Poppler 24.06.0 released
El dilluns, 3 de juny del 2024, a les 0:04:47 (CEST), Albert Astals Cid va escriure: > Available from http://poppler.freedesktop.org/poppler-24.06.0.tar.xz Apologies, we broke the internal ABI and forgot to increase the soversion of the internal library, should I do a 24.06.1 release with the increased soversion? Cheers, Albert P.S: Not sure if we have much distro people here ^_^ > > The tarball is signed at > http://poppler.freedesktop.org/poppler-24.06.0.tar.xz.sig with my key > https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3 > A6A4DB839EAA6D7 > > Release 24.05.0: > core: > * Performance improvements in some files > * Fix some issues with files bigger than 2^31 bytes > * Remove all cairo include guards for cairo < 1.16 > * Fix MSVC build > * Internal code improvements > > qt6: > * Update Qt6 doc example > * Use the non deprecated version of QString::fromUcs4 > > glib: > * properly document return value from poppler_font_info_scan > > This release was brought to you by Adrian Johnson, Albert Astals Cid, Carl > Schwan, Fernando Herrera, Hubert Figuiere, Oliver Sander, Pablo Correa > Gómez, Sune Vuorela and everyone else that filed bugs or helped with code > reviews :) > > Testing, patches and bug reports welcome. > > Cheers, > Albert > > P.S: Yes, I know I'm behind in reviews
Poppler 24.06.0 released
Available from http://poppler.freedesktop.org/poppler-24.06.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-24.06.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 24.05.0: core: * Performance improvements in some files * Fix some issues with files bigger than 2^31 bytes * Remove all cairo include guards for cairo < 1.16 * Fix MSVC build * Internal code improvements qt6: * Update Qt6 doc example * Use the non deprecated version of QString::fromUcs4 glib: * properly document return value from poppler_font_info_scan This release was brought to you by Adrian Johnson, Albert Astals Cid, Carl Schwan, Fernando Herrera, Hubert Figuiere, Oliver Sander, Pablo Correa Gómez, Sune Vuorela and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I know I'm behind in reviews
Re: Poppler 24.05.0 released
El dimecres, 1 de maig del 2024, a les 23:30:04 (CEST), Albert Astals Cid va escriure: > Available from http://poppler.freedesktop.org/poppler-24.05.0.tar.xz Due to an unfortunate set of circumstances, this fails to build with MSVC Fix at https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1549/diffs If someone really needs this i can release 24.05.1 but otherwise i'd prefer to wait for 24.06.0 Cheers, Albert > > The tarball is signed at > http://poppler.freedesktop.org/poppler-24.05.0.tar.xz.sig with my key > https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3 > A6A4DB839EAA6D7 > > Release 24.05.0: > core: > * Fix signing not being totally correct in some kind of PDF files > * Assume "Adobe-Identity" for character collection. Issue #1465 > * Small improvements in annotation font rendering > * Remove some GooString methods, use std::string ones instead > * Move some GooString methods to UTF.h > * Fix crash in broken files > > cpp: > * Fix crash extracting text and font in some files. Issue #1477 > * Change base class of ustring to char16_t > > qt6: > * Add async API for certificate validation > * Fix text extraction for Landscape/Seascape pages > > qt5: > * Add async API for certificate validation > * Fix text extraction for Landscape/Seascape pages > > utils: > * pdfdetach: Small code improvements > * pdftops: Write compliant ps header > > build system: > * Increase minimum supported base to that provided by Ubuntu 22.04 > > > This release was brought to you by Albert Astals Cid, LinuxUserGD, Nelson > Benítez León, Nicolas Fella, Oliver Sander, Stefan Brüns, Sune Vuorela, > Ömer Fadıl USTA and everyone else that filed bugs or helped with code > reviews :) > > Testing, patches and bug reports welcome. > > Cheers, > Albert
Poppler 24.05.0 released
Available from http://poppler.freedesktop.org/poppler-24.05.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-24.05.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 24.05.0: core: * Fix signing not being totally correct in some kind of PDF files * Assume "Adobe-Identity" for character collection. Issue #1465 * Small improvements in annotation font rendering * Remove some GooString methods, use std::string ones instead * Move some GooString methods to UTF.h * Fix crash in broken files cpp: * Fix crash extracting text and font in some files. Issue #1477 * Change base class of ustring to char16_t qt6: * Add async API for certificate validation * Fix text extraction for Landscape/Seascape pages qt5: * Add async API for certificate validation * Fix text extraction for Landscape/Seascape pages utils: * pdfdetach: Small code improvements * pdftops: Write compliant ps header build system: * Increase minimum supported base to that provided by Ubuntu 22.04 This release was brought to you by Albert Astals Cid, LinuxUserGD, Nelson Benítez León, Nicolas Fella, Oliver Sander, Stefan Brüns, Sune Vuorela, Ömer Fadıl USTA and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Re: Poppler 24.04.0 released
El dilluns, 1 d’abril del 2024, a les 20:59:13 (CEST), William Bader va escriure: > Until the full extent of the recent xz compromise is known, would it be > possible to distribute in an additional format like bz2? If you fear my system has been potentially compromised and the tar.xz I created can not be trusted, you should not trust the tar.bz2 I created either. You can create your own tarballs by running git archive --prefix=poppler-24.4.0/ 0aa1fe5c30a6c467c91bad8d81bd6c2f57fcb726 > poppler-24.4.0.tar on the git repository If you check the add_custom_target(dist in CMakeLists.txt that and a few small other things is what is used to create the release tarball. Cheers, Albert > The compromise was > introduced in xz 5.6.0, which is only in bleeding edge distributions, but > the developer controlled releases starting at 5.3.1. > > "backdoor in upstream xz/liblzma leading to ssh server compromise" > https://www.openwall.com/lists/oss-security/2024/03/29/4 > > "Linux xz Backdoor Damage Could Be Greater Than Feared" > https://thenewstack.io/linux-xz-backdoor-damage-could-be-greater-than-feare > d/ > > > > > ____ > From: poppler on behalf of Albert > Astals Cid Sent: Monday, April 1, 2024 4:08 AM > To: poppler@lists.freedesktop.org > Cc: ftp-rele...@lists.freedesktop.org > Subject: Poppler 24.04.0 released > > Available from http://poppler.freedesktop.org/poppler-24.04.0.tar.xz > > The tarball is signed at > http://poppler.freedesktop.org/poppler-24.04.0.tar.xz.sig with my key > https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3 > A6A4DB839EAA6D7 > > Release 24.04.0: > core: > * Optimize page text extraction speed > * Fix clipping path handling in some files. Issue #739 > * Fix regression in text selection > * Fix text search across lines between paragraphs > > qt6: > * Fix crash in SoundObject::data > > utils: > * pdfsig: Add Catalan translation > > build system: > * Build code as C++20 > > This release was brought to you by Albert Astals Cid, Josep M. Ferrer, > Nelson Benítez León, Stefan Brüns and everyone else that filed bugs or > helped with code reviews :) > > Testing, patches and bug reports welcome. > > Cheers, > Albert
Poppler 24.04.0 released
Available from http://poppler.freedesktop.org/poppler-24.04.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-24.04.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 24.04.0: core: * Optimize page text extraction speed * Fix clipping path handling in some files. Issue #739 * Fix regression in text selection * Fix text search across lines between paragraphs qt6: * Fix crash in SoundObject::data utils: * pdfsig: Add Catalan translation build system: * Build code as C++20 This release was brought to you by Albert Astals Cid, Josep M. Ferrer, Nelson Benítez León, Stefan Brüns and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Poppler 24.03.0 released
Available from http://poppler.freedesktop.org/poppler-24.03.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-24.03.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 24.03.0: core: * Fix opening some malformed files. Issue #1447 * Skip drawing image when it has singular matrix. Issue #1114 * Fix crash on malformed files * Small internal code cleanup utils: * pdfdetach: Fix potential directory traversal * pdfimages: Enable to print filenames to stdout. * pdfsig: Add visible name/date when signing an existing form signature field This release was brought to you by Albert Astals Cid, Erich E. Hoover, Even Rouault, Nelson Benítez León, Sebastian J. Bronner, Sune Vuorela and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Poppler 24.02.0 released
Available from http://poppler.freedesktop.org/poppler-24.02.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-24.02.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 24.02.0: core: * Fix reading some JBIG2 streams. Issue #1319 * Fix saving some annotation interior color when it's empty * Make searching for fonts when adding annotations a bit faster * Make sure images are compressed when adding them * Small internal code cleanup utils: * pdfimages: return exit code 2 when error opening output files This release was brought to you by Adam Sampson, Albert Astals Cid, Fernando Herrera, Keyu Tao, Nelson Benítez León, Sune Vuorela and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Poppler 24.01.0 released
Available from http://poppler.freedesktop.org/poppler-24.01.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-24.01.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 24.01.0: core: * Don't crash on certain documents on the NSS signature backend * Fix infinite loop in some annotation code if there's not space for even one character * Fix build on Android with generic font configuration * Small internal code cleanup This release was brought to you by Albert Astals Cid, suzuki toshiya and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Re: [poppler] Is it acceptable if vcpkg patches in an inline namespace to avoid symbol clashes?
> Hello Poppler maintainers! > > I'm reviewing a PR from a contributor to vcpkg which introduces an inline namespace when we install Poppler to avoid conflicts with other bits that want the name 'Parser'. See https://github.com/microsoft/vcpkg/pull/35472 > > We understand that you might not want to merge this as an upstream contribution since it's a workaround for something downstream of you. We still would like to make sure you won't hate us / think we're putting words in your mouth if we go ahead with it. > > Can someone take a look and indicate that they don't outright hate this workaround? Please see https://gitlab.freedesktop.org/poppler/poppler/-/issues/1449 Cheers, Albert > > Thanks! > > Billy O'Neal > Visual C++ - vcpkg
[poppler] Poppler 23.12.0 released
Available from http://poppler.freedesktop.org/poppler-23.12.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.12.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.12.0: core: * Rewrite FoFiType1::parse to be more flexible. Issue #1422 * Small internal code refactoring This release was brought to you by Albert Astals Cid, Oliver Sander and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in following up some MRs, I should have a bit more time this month to help move things along, and of course more reviewers are always welcome
[poppler] Anyone has an Adobe-Manga1 pdf?
I've seen https://github.com/adobe-type-tools/cmap-resources/commit/f5cf3bca7fdfeaceb77aa82847e974f2306c20b4 And was wondering if anyone has a PDF that actually uses that cmap, i have not been able to found anything. Cheers, Albert
[poppler] Poppler 23.11.0 released
Available from http://poppler.freedesktop.org/poppler-23.11.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.11.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.11.0: core: * CairoOutputDev: Use internal downscaling algorithm if image exceeds Cairo's maximum dimensions. * Internal code improvements * Fix crash on malformed files utils: * pdftocairo: Add option to document logical structure if output is pdf * pdftocairo: EPS output should not contain %%PageOrientation This release was brought to you by Adrian Johnson, Albert Astals Cid, Anton Thomasson, Oliver Sander and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in following up some MRs, more reviewers are always welcome
[poppler] Poppler 23.10.0 released
Available from http://poppler.freedesktop.org/poppler-23.10.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.10.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.10.0: core: * cairo: update type 3 fonts for cairo 1.18 api * Fix crash on malformed files build system: * Make a few more dependencies soft-mandatory * Add more supported gnupg releases * Check if linker supports version scripts This release was brought to you by Adrian Johnson, Albert Astals Cid, Even Rouault, Oliver Sander, Sune Vuorela and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in following up some MRs, more reviewers are always welcome
Re: [poppler] skip annotations when rendering pages?
El dilluns, 2 d’octubre de 2023, a les 20:26:23 (CEST), Stéphane Charette va escriure: > When converting PDF pages to images using > poppler::page_renderer::render_page(), if the page has notes (annotations?) > then it renders a yellow and white "speech bubble" icon on the page. > > Is there a way to turn off rendering that icon to get the "original" page? The cpp frontend doesn't implement that feature. If you're interested in such a feature have a look at how it is implemented in the Qt frontend and propose a MR. Hint: grep for annotDisplayDecideCbk Cheers, Albert > > Thanks, > > Stéphane Charette
Re: [poppler] building poppler for windows
El dilluns, 25 de setembre de 2023, a les 18:55:45 (CEST), Ivan Kara va escriure: > is it possible to compile poppler with msvc? Sure. Cheers, Albert > or am i stuck with mingw. > > On 9/25/23 23:39, Albert Astals Cid wrote: > > El dimarts, 19 de setembre de 2023, a les 4:22:10 (CEST), Ivan Kara va > > > > escriure: > >> hi, > >> > >> i have been trying to build poppler for windows on my ubuntu. i have > >> installed the necessary libraries and was able to build one for ubuntu > >> but > >> when i added the mingw toolchain stuff it says that it cant find the > >> FREETYPE_LIBRARY and other stuff. > > > > Because you don't have the cross-compiled versions of those libraries. > > > >> im very new in this compiling stuff so if > >> anyone can point out some tutorials i will be very thankful. > > > > This mailing list isn't really the place to explain how [cross] compiling > > works, please use the internet for that :) > > > > Cheers, > > > >Albert > >> > >> Ivan
Re: [poppler] building poppler for windows
El dimarts, 19 de setembre de 2023, a les 4:22:10 (CEST), Ivan Kara va escriure: > hi, > > i have been trying to build poppler for windows on my ubuntu. i have > installed the necessary libraries and was able to build one for ubuntu but > when i added the mingw toolchain stuff it says that it cant find the > FREETYPE_LIBRARY and other stuff. Because you don't have the cross-compiled versions of those libraries. > im very new in this compiling stuff so if > anyone can point out some tutorials i will be very thankful. This mailing list isn't really the place to explain how [cross] compiling works, please use the internet for that :) Cheers, Albert > > Ivan
[poppler] Poppler 23.09.0 released
Available from http://poppler.freedesktop.org/poppler-23.09.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.09.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.09.0: core: * Add Android-specific font matching functionality * Fix digital signatures for NeedAppearance=true * Forms: Don't look up same glyph multiple times * Provide the key location for certificates you can sign with * Add ToUnicode support for similarequal * Fix crash on malformed files qt5: * Provide the key location for certificates you can sign with * Allow to force a rasterized overprint preview during PS conversion qt6: * Provide the key location for certificates you can sign with * Allow to force a rasterized overprint preview during PS conversion pdfsig: * Provide the key location for certificates you can sign with This release was brought to you by Albert Astals Cid,Even Rouault, Kevin Ottens, Shivodit Gill, Sune Vuorela, Vincent Lefevre and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in following up some MRs, more reviewers are always welcome
[poppler] Poppler 23.08.0 released
Available from http://poppler.freedesktop.org/poppler-23.08.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.08.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.08.0: core: * Fix GWG 19.2 - DeviceN Overprint (White) * Splash: avoid bogus memory allocation size in doTilingPatternFill * Fix use-of-uninitialized-value in XRef * Fix float-cast-overflow error in Catalog * Cleanup gpgme backend code * Version symbols in poppler core glib: * Improve poppler_get_available_signing_certificates * Add new members to PopplerCertificateInfo utils: * pdftotext: small improvement to man page This release was brought to you by Albert Astals Cid, Ilaï Deutel, Jan-Michael Brummer, Marek Kasik, Sune Vuorela, Thomas Freitag and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in following up some MRs, more reviewers are always welcome
[poppler] Poppler 23.07.0 released
Available from http://poppler.freedesktop.org/poppler-23.07.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.07.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.07.0: core: * Fix reading of utf8-with-bom files * Fix crash if CERT_ExtractPublicKey doesn't return a public key * Fix rendering of some malformed documents. Issue #1395 * Allow for stream compression and compress font streams in forms * Remove method Hints::getPageRanges qt5: * Fix crash when overprint preview is enabled * Don't fail signature basics tests if backend is not configured qt6: * Fix crash when overprint preview is enabled * Don't fail signature basics tests if backend is not configured utils: * pdfsig: Allow showung and selecting signature backend * pdfsig: Describe signature dump format in manual page glib: * Add signing API build system: * zlib is now mandatory This release was brought to you by Albert Astals Cid, Anton Thomasson, Even Rouault, Jan-Michael Brummer, Kevin Ottens, Oliver Sander, Sune Vuorela and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Re: [poppler] RFC: Removing gitlab notifications from the list
El divendres, 16 de juny de 2023, a les 22:20:46 (CEST), Albert Astals Cid va escriure: > El dijous, 8 de juny de 2023, a les 11:39:19 (CEST), Michael Brunnbauer va > > escriure: > > +1 > > Ok so two people agreeing and noone disagreeing, i'll try to figure out how > to remove the notifications, maybe the freedesktop sysadmins know how to > remove them. I think it's done, if anyone wants to keep getting them, please email me. Cheers, Albert > > Cheers, > Albert > > > On Thu, Jun 08, 2023 at 12:08:00AM +0200, Stefan Brüns wrote: > > > Hi everyone, > > > > > > I would like to keep informed about poppler development, but I am > > > honestly > > > somewhat annoyed about the autogenerated mails for each merged git > > > commit. > > > > > > If I liked to see these events, I could just subscribe to the > > > corresponding > > > gitlab notification. > > > > > > The git commit mails also hide human generated content in the mail > > > archives, discussions and release announcements are significantly harder > > > to spot. > > > > > > So, I propose to either: > > > - Remove the notifications from the list > > > - If there is enough interest, put the notifications on a separate list. > > > > > > Kind regards, Stefan
Re: [poppler] RFC: Removing gitlab notifications from the list
El dijous, 8 de juny de 2023, a les 11:39:19 (CEST), Michael Brunnbauer va escriure: > +1 Ok so two people agreeing and noone disagreeing, i'll try to figure out how to remove the notifications, maybe the freedesktop sysadmins know how to remove them. Cheers, Albert > On Thu, Jun 08, 2023 at 12:08:00AM +0200, Stefan Brüns wrote: > > Hi everyone, > > > > I would like to keep informed about poppler development, but I am honestly > > somewhat annoyed about the autogenerated mails for each merged git commit. > > > > If I liked to see these events, I could just subscribe to the > > corresponding > > gitlab notification. > > > > The git commit mails also hide human generated content in the mail > > archives, discussions and release announcements are significantly harder > > to spot. > > > > So, I propose to either: > > - Remove the notifications from the list > > - If there is enough interest, put the notifications on a separate list. > > > > Kind regards, Stefan
[poppler] Poppler 23.06.0 released
Available from http://poppler.freedesktop.org/poppler-23.06.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.06.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.06.0: core: * CairoOutputDev: Fix crash when doing type3 rendering * Fix crash with unknown signature hashing algorithms * Add gpgme backend for signature handling * Windows: Fix crash when signing existing signature * FontInfo: Make it return proper information about font substitution * FontInfo: Try harder to get Type 3 font name * Store embedded fonts widths table in a more effective manner * Skip font lookup for nonprintable characters * Windows: Look for fonts in both windows font dir and poppler fonts dir * Windows: symbol.ttf is not a good Symbol font * Windows: Fix memory leak when looking for fonts * Fix crash on malformed files qt5: * Add API to allow selecting signature backend (nss or gpgme) * Convert embedded files to bytearray a bit smarter qt6: * Add API to allow selecting signature backend (nss or gpgme) * Convert embedded files to bytearray a bit smarter This release was brought to you by Albert Astals Cid, Andre Heinecke, Ilia Kats, Jordan Abrahams-Whitehead, Khaled Hosny, Sune Vuorela and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. The Qt signature tests will fail if you have a new enough gpgme but an old gpg (i'm looking at you Achlnux), disable the gpgme backend or apply https://paste.debian.net/downloadh/aa079683 and a similar one for qt5. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in following up some MRs, more reviewers are always welcome
Re: [poppler] pdftoppm 0.86.1 / pdftoppm: Syntax Error: Expected the optional content group list
El dimecres, 24 de maig de 2023, a les 19:26:00 (CEST), Jim Wigginton va escriure: > If the PDF is syntactically broken then maybe the error message could be > tweaked? "*Expected the optional content group list, but wasn't able to > find it*" makes it sound as if the content group list is required and > optional is used as an adjective? Either the content group list shouldn't > be expected or it's optional. "Optional Content Group" is a PDF thing, nowhere in that sentence says that the expected thing is optional. Cheers, Albert > > On Sat, May 20, 2023 at 5:30 AM Albert Astals Cid wrote: > > El dijous, 18 de maig de 2023, a les 0:24:14 (CEST), Jim Wigginton va > > > > escriure: > > > When I try to run pdftoppm 0.86.1 (pdftoppm -png "GSK - Lamictal.pdf" > > > output) on the attached PDF I get the following error: > > > > > > Syntax Error: Expected the optional content group list, but wasn't able > > > > to > > > > > find it, or it isn't an Array > > > > > > > > > Would this work in newer versions of poppler / pdftoppm? I can't compile > > > the most recent version of poppler because my version of cmake isn't new > > > enough (despite being the newest available via apt-get) but maybe there > > > > are > > > > > newer versions of poppler / pdftoppm that this would work on despite not > > > being the newest version? If I were to try to find out myself I'd have > > > to > > > brute force compile a bunch of different versions, which I'd rather not > > > > do. > > > > > I suppose I could also try to compile a newer version of cmake but if > > > the > > > PDF just isn't gonna work on any version then that all is just wasted > > > effort. > > > > > > Any ideas? > > > > As far as I can see the PDF is syntactically broken and thus we warn about > > it, > > so there's nothing for us to fix. > > > > Do you disagree with my assessment? > > > > Cheers, > > > > Albert
Re: [poppler] pdftoppm 0.86.1 / pdftoppm: Syntax Error: Expected the optional content group list
El dijous, 18 de maig de 2023, a les 0:24:14 (CEST), Jim Wigginton va escriure: > When I try to run pdftoppm 0.86.1 (pdftoppm -png "GSK - Lamictal.pdf" > output) on the attached PDF I get the following error: > > Syntax Error: Expected the optional content group list, but wasn't able to > find it, or it isn't an Array > > > Would this work in newer versions of poppler / pdftoppm? I can't compile > the most recent version of poppler because my version of cmake isn't new > enough (despite being the newest available via apt-get) but maybe there are > newer versions of poppler / pdftoppm that this would work on despite not > being the newest version? If I were to try to find out myself I'd have to > brute force compile a bunch of different versions, which I'd rather not do. > > I suppose I could also try to compile a newer version of cmake but if the > PDF just isn't gonna work on any version then that all is just wasted > effort. > > Any ideas? As far as I can see the PDF is syntactically broken and thus we warn about it, so there's nothing for us to fix. Do you disagree with my assessment? Cheers, Albert
[poppler] Poppler 23.05.0 released
Available from http://poppler.freedesktop.org/poppler-23.05.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.05.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.05.0: core: * Fix crash when filling some forms * Set SigFlags when signing unsigned signature * Add some infrastructure code to support multiple signing backends * Fix potential stack overflow in PostScriptFunction::parseCode * Fix some minor uninitialised memory reads This release was brought to you by Albert Astals Cid, Nicolas Fella, Oliver Sander, Sune Vuorela and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in following up some MRs, more reviewers are always welcome
Re: [poppler] PDF with layers
El dijous, 6 d’abril de 2023, a les 14:24:58 (CEST), Valerio Messina va escriure: > On 4/4/23 8:09 PM, Pablo Rodríguez wrote: > > Your statement is extremely broad and it might be false, since OCGs are > > supported in poppler. > > OK, sorry, maybe it is related to poppler-utils only > > > In the merge you provided at the GitLab report, OCGs aren‘t merged in a > > single OCG. > > > > What might be the case here is that OCGs from the second document are > > simply being ignored. > > > > Since you provided two documents with exactly the same OCG names, it is > > impossible to see that OCGs from the second document are simply ignored > > (not their content). > > > > This explains the behavior you describe in your bug report. > > no, the pdfunite output has no layers, see below > > > If you allow me one more comment, please create two minimal files with > > one OCG each and merge them and explains what happens in the issue at > > GitLab. > > OK, I admit that three test files from open bug date 5 years ago are > confusing. > > > Lets focus on PDFlayers_tst3* files only, the last posted i the report, > that are minimal and simple: > > File 1, 4 layers: Level 1, Background 1, Level 2, Background 2 > gray circle on Level 1 > black rectangle on Background 1 > Level 2 and Background 2 are empty > https://gitlab.freedesktop.org/poppler/poppler/uploads/40f9db4e9a18bbade826f > 99d3036019b/PDFlayers_tst3_pg1.pdf > > > File 2, 4 layers: Level 1, Background 1, Level 2, Background 2 > black circle on Level 2 > gray rectangle on Background 2 > Level 1 and Background 1 are empty > https://gitlab.freedesktop.org/poppler/poppler/uploads/b91f5ea252ed31b2eb6be > 756f5789040/PDFlayers_tst3_pg2.pdf > > > The merged, 2 pages file generated by 'pdfunite' is: > File 3, NO layers: All contents merged to one layer in both pag.1 and 2 > https://gitlab.freedesktop.org/poppler/poppler/uploads/96c05c385c3ab7f2d1e7d > b7520715ad4/PDFlayers_tst3_pdfunite22.03.0.pdf > > > The reference (expected) output shuold be: > File 4, 4 layers: Level 1, Background 1, Level 2, Background 2 > gray circle on Level 1 pag.1 > black rectangle on Background 1 pag.1 > black circle on Level 2 pag.2 > gray rectangle on Background 2 pag.2 > https://gitlab.freedesktop.org/poppler/poppler/uploads/c10e8f6a1064e27b323ec > c1583dc28f2/PDFlayers_tst3_Scribus1.5.3.pdf You're a human and that's what you would want to happen. From a machine point of view that seems rather a weird thing to do, i would expect the output to have 8 layers one for each of the original layers. Cheers, Albert > > > All 4 files are already linked in gitlab, last my two posts from past year. > > > But if part of the issue you mention is guessing what is misbehaving in > > poppler, this won’t help to speed up the potential fix. > > yes, my knowledge of english is poor, so I cannot explain as I want, > again sorry.
Re: [poppler] Poppler 23.04.0 released
El diumenge, 2 d’abril de 2023, a les 11:49:12 (CEST), Albert Astals Cid va escriure: > Available from http://poppler.freedesktop.org/poppler-23.04.0.tar.xz > > The tarball is signed at > http://poppler.freedesktop.org/poppler-23.04.0.tar.xz.sig with my key > https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3 > A6A4DB839EAA6D7 > > Release 23.04.0: > core: > * Fix memory issue when signing fails. Issue #1372 > * Internal improvements of signature related code > * CairoOutputDev: improve type3 font rendering > * Fix memory leak in GlobalParams::findSystemFontFileForFamilyAndStyle > > utils: > * pdftocairo: Fix crash in some special situations > * pdfsig: allow holes in -dump signature list > * pdfsig: Support --help > > This release was brought to you by Albert Astals Cid and everyone else that > filed bugs or helped with code reviews :) I forgot to update this part of the template, apologies This release was brought to you by Albert Astals Cid, Anton Thomasson, Frederic Germain, Ingo Klöcker, Oliver Sander, Pablo Correa Gómez, Sune Vuorela and everyone else that filed bugs or helped with code reviews :) Cheers, Albert > > Testing, patches and bug reports welcome. > > Cheers, > Albert > > P.S: Yes, I'm aware I'm a bit behind in following up some MRs, more > reviewers are always welcome
[poppler] Poppler 23.04.0 released
Available from http://poppler.freedesktop.org/poppler-23.04.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.04.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.04.0: core: * Fix memory issue when signing fails. Issue #1372 * Internal improvements of signature related code * CairoOutputDev: improve type3 font rendering * Fix memory leak in GlobalParams::findSystemFontFileForFamilyAndStyle utils: * pdftocairo: Fix crash in some special situations * pdfsig: allow holes in -dump signature list * pdfsig: Support --help This release was brought to you by Albert Astals Cid and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in following up some MRs, more reviewers are always welcome
[poppler] Poppler 23.03.0 released
Available from http://poppler.freedesktop.org/poppler-23.03.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.03.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.03.0: core: - PngWriter: Fix potential uninitialized memory use This release was brought to you by Albert Astals Cid and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in following up some MRs, more reviewers are always welcome
[poppler] poppler-data 0.4.12 released
Hi, new poppler-data out. https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz It contains a few updated files coming from the adobe-type-tools repositories Please test and see if it works for you. Cheers, Albert
[poppler] Poppler 23.02.0 released
Available from http://poppler.freedesktop.org/poppler-23.02.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.02.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.02.0: core: * CairoOutputDev: Fix rendering of color type 3 fonts * CairoOutputDev: Add handling matte entry * Fix segfault on wrong nssdir * Fix "NSS could not shutdown" utils: * pdfsig: Point out supports PKCS#11 URIs as nickname This release was brought to you by Adrian Johnson, Artemy Gordon, Tobias Deiminger and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in following up some MRs, more reviewers are always welcome
[poppler] Poppler 23.01.0 released
Available from http://poppler.freedesktop.org/poppler-23.01.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-23.01.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 23.01.0: core: * PDFDoc::sign: Fix crash if font can't be found * PDFDoc::sign: Try Arial to sign if Helvetica isn't found * FoFiType1::parse: Be more flexible parsing the encoding content. Issue #1324 * Gfx::opBeginMarkedContent: Support Span with Name. Issue #1327 * Splash: Avoid color issues due to implicit rounding * Splash: Fix crash on malformed file. * CairoOutputDev: Ignore text rendering mode for type3 fonts * Remove unused FoFiType1::load function build system: * Increase minimum required versions of several dependencies * Improve include path handling qt6: * Use less deprecated functions This release was brought to you by Albert Astals Cid, Thomas Freitag, Zachary Travis and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in answering to some MRs P.P.S: Happy 2023
Re: [poppler] Does Poppler support PDF 2.0?
El dimecres, 21 de desembre de 2022, a les 18:06:01 (CET), IFo Hancroft va escriure: > Hi, > > I have been looking all over the web, but I couldn't find what's the > latest version of the PDF spec/standard that Poppler supports. > > Does it support PDF 2.0 a.k.a. ISO 32000-2 and what's it level of > support for it? > > The only place on the web that refers to Poppler's PDF version support > is the wikipedia article. It says that as of version 0.18 Poppler has > full support for ISO 32000-1, Sadly, this is one of the instances where Wikipedia is incorrect. Cheers, Albert > but that's a version from 11 years ago, > and the article doesn't say that it's the latest that it supports. > > Best Regards, > IFo Hancroft
Re: [poppler] poppler Digest, Vol 214, Issue 5
El divendres, 9 de desembre de 2022, a les 14:11:39 (CET), Paul Oramasionwu va escriure: > just fixing a typo > Hi Albert, > > It means that we wouldn't be required to open-source our *product* if we > leverage your PDF converter library. poppler is only available under GPL2/GPL3 license. Cheers, Albert > > Thanks, > > Paul > > On Fri, Dec 9, 2022 at 8:10 AM Paul Oramasionwu < > > paul.oramasio...@tausight.com> wrote: > > Hi Albert, > > > > It means that we wouldn't be required to open-source our project if we > > leverage your PDF converter library. > > > > Thanks, > > > > Paul > > > > On Fri, Dec 9, 2022 at 7:00 AM > > > > wrote: > >> Send poppler mailing list submissions to > >> > >> poppler@lists.freedesktop.org > >> > >> To subscribe or unsubscribe via the World Wide Web, visit > >> > >> https://lists.freedesktop.org/mailman/listinfo/poppler > >> > >> or, via email, send a message with subject or body 'help' to > >> > >> poppler-requ...@lists.freedesktop.org > >> > >> You can reach the person managing the list at > >> > >> poppler-ow...@lists.freedesktop.org > >> > >> When replying, please edit your Subject line so it is more specific > >> than "Re: Contents of poppler digest..." > >> > >> Today's Topics: > >>1. Commercial support (Paul Oramasionwu) > >>2. Re: Commercial support (Albert Astals Cid) > >> > >> -- > >> > >> Message: 1 > >> Date: Thu, 8 Dec 2022 15:12:17 -0500 > >> From: Paul Oramasionwu > >> To: poppler@lists.freedesktop.org, Stephen Jakubowicz > >> > >> > >> > >> Subject: [poppler] Commercial support > >> > >> Message-ID: > >> < > >> > >> cagwqlth5smjhpexnn-9ebaztfuobw5j3ktdawmfs3zihpar...@mail.gmail.com> > >> Content-Type: text/plain; charset="utf-8" > >> > >> Apologies if you get this question a lot. Is there a commercial option > >> available for poppler pdftotext? I've found that it's much better than > >> the > >> alternatives. > >> > >> Thanks, > >> > >> -- > >> > >> > >> > >> <http://www.tausight.com/> > >> > >> Paul Oramasionwu > >> Sr. Software Engineer | Agent Team (Edge ML) > >> > >> Pronouns: he, him, his > >> > >> 800 District Ave, Suite 160, Burlington, MA, 01803 > >> > >> www.tausight.com > >> > >> -- > >> The information transmitted, including attachments, is intended only for > >> the person(s) or entity to which it is addressed and may contain > >> confidential and/or privileged material. Any review, re-transmission, > >> dissemination or other use of, or taking of any action in reliance upon > >> this information by persons or entities other than the intended recipient > >> is prohibited. If you received this in error, please contact the sender > >> and > >> destroy any copies of this information. > >> -- next part -- > >> An HTML attachment was scrubbed... > >> URL: < > >> https://lists.freedesktop.org/archives/poppler/attachments/20221208/b0e53 > >> 532/attachment-0001.htm > >> > >> > >> -- > >> > >> Message: 2 > >> Date: Thu, 08 Dec 2022 22:48:55 +0100 > >> From: Albert Astals Cid > >> To: poppler@lists.freedesktop.org > >> Subject: Re: [poppler] Commercial support > >> Message-ID: <1727135.07Bieyd8TB@xps15> > >> Content-Type: text/plain; charset="us-ascii" > >> > >> El dijous, 8 de desembre de 2022, a les 21:12:17 (CET), Paul Oramasionwu > >> va > >> > >> escriure: > >> > Apologies if you get this question a lot. Is there a commercial option > >> > available for poppler pdftotext? I've found that it's much better than > >> > >> the > >> > >> > alternatives. > >> > >> What does "commercial option" mean for you? > >> > >> Albert > >> > >> > Thanks, > >> > >> -- > >> > >> Subject: Digest Footer > >> > >> ___ > >> poppler mailing list > >> poppler@lists.freedesktop.org > >> https://lists.freedesktop.org/mailman/listinfo/poppler > >> > >> > >> -- > >> > >> End of poppler Digest, Vol 214, Issue 5 > >> *** > > > > -- > > > > > > > > <http://www.tausight.com/> > > > > Paul Oramasionwu > > Sr. Software Engineer | Agent Team (Edge ML) > > > > Pronouns: he, him, his > > > > 800 District Ave, Suite 160, Burlington, MA, 01803 > > > > www.tausight.com
Re: [poppler] Commercial support
El dijous, 8 de desembre de 2022, a les 21:12:17 (CET), Paul Oramasionwu va escriure: > Apologies if you get this question a lot. Is there a commercial option > available for poppler pdftotext? I've found that it's much better than the > alternatives. What does "commercial option" mean for you? Albert > > Thanks,
[poppler] Poppler 22.12.0 released
Available from http://poppler.freedesktop.org/poppler-22.12.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.12.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.12.0: core: * Form::addFontToDefaultResources: Be stubborn in finding a font we can use. Issue #1272 This release was brought to you by Albert Astals Cid, Jeremy Bicha and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in answering to some MRs
[poppler] Poppler 22.11.0 released
Available from http://poppler.freedesktop.org/poppler-22.11.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.11.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.11.0: core: * CairoOutputDev: Update font after restore * Protect against broken files * Small code refactoring This release was brought to you by Albert Astals Cid, Marek Kasik and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert P.S: Yes, I'm aware I'm a bit behind in answering to some MRs
[poppler] Poppler 22.10.0 released
Available from http://poppler.freedesktop.org/poppler-22.10.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.10.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.10.0: core: * SplashOutputDev::tilingPatternFill: Properly restore CTM on failure. Issue #1292 * Protect against malformed files * Refactor code to not use strndup * Other small code refactoring utils: * pdftoppm: Avoid round-off errors when determining raster dimensions * pdftocairo: Avoid round-off errors when determining raster dimensions * pdftotext: Simplify memory handling qt: * Take into account flagNoView when getting/setting the visible status. KDE bug #456313 build system: * Fix sed invocation This release was brought to you by Albert Astals Cid, Carlo Cabrera, Claes Nästén, James Cloos, Oliver Sander and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Re: [poppler] There is a flaw with poppler that needs to be fixed. Deleted annotations are not actually deleted. I require assistance in fixing this.
El divendres, 23 de setembre de 2022, a les 20:56:09 (CEST), Leonard Rosenthol va escriure: > Zeke – the issue here isn’t specific to deletion of annotations but is > related to the PDF file format and it’s support for “incremental updates”. > > When saving changes to a PDF, they can either be saved by simply appending > them as part of an increment update section (which includes not only new or > changed objects, but a list of deleted objects). This is the most common > way to save things because it is faster. You will find that 99% of all PDF > processing tools do this by default. > > Alternatively, software could do a “full save” or a “Save As”, where objects > no longer in use are “garbage collected”. Poppler does not offer this > option. Poppler does have a non incremental save option. Cheers, Albert > > Leonard > > From: poppler on behalf of Zeke > Williams Date: Friday, September 23, 2022 at 9:20 AM > To: poppler@lists.freedesktop.org > Subject: [poppler] There is a flaw with poppler that needs to be fixed. > Deleted annotations are not actually deleted. I require assistance in > fixing this. EXTERNAL: Use caution when clicking on links or opening > attachments. > > > I require assistance as I am not a very proficient C++ programmer with > this issue with poppler. What happens with poppler is that the portion > of the PDF document that shows the annotation is deleted when you > delete an annotation in such as okular or evince, but the actual > contents is in a separate part of the document and that doesn't get > deleted. Meaning in other words, it's still there. That is a privacy > violation that should be fixed. I believe this is the part of poppler > that removes the annotation: > > bool Annots::removeAnnot(Annot *annot) > { > auto idx = std::find(annots.begin(), annots.end(), annot); > > if (idx == annots.end()) { > return false; > } else { > annot->decRefCnt(); > annots.erase(idx); > return true; > } > } > > And from another PDF reader (PDF4QT) here is how it removes them: > > void PDFDocumentBuilder::removeAnnotation(PDFObjectReference page, > PDFObjectReference annotation) > { > PDFDocumentDataLoaderDecorator loader(&m_storage); > > if (const PDFDictionary* pageDictionary = > m_storage.getDictionaryFromObject(m_storage.getObjectByReference(page))) > { > std::vector annots = > loader.readReferenceArrayFromDictionary(pageDictionary, "Annots"); > annots.erase(std::remove(annots.begin(), annots.end(), > annotation), annots.end()); > > PDFObjectFactory factory; > factory.beginDictionary(); > factory.beginDictionaryItem("Annots"); > if (!annots.empty()) > { > factory << annots; > } > else > { > factory << PDFObject(); > } > factory.endDictionaryItem(); > factory.endDictionary(); > > mergeTo(page, factory.takeObject()); > } > > setObject(annotation, PDFObject()); > } > > PDF4QT can be found here: > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co > m%2FJakubMelka%2FPDF4QT&data=05%7C01%7Clrosenth%40adobe.com%7C20fe244e68 > 3442cbddc008da9d665505%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63799536 > 0231784319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT > iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=NMLVc%2Fbwtyjm0UxtXlqtIE > s9eaBU%2BO%2F%2FNaCevw%2F%2Bz8E%3D&reserved=0 > > What can we do to solve this? I think we should mimic how PDF4QT does > it. What do you think?
[poppler] Poppler 22.09.0 released
Available from http://poppler.freedesktop.org/poppler-22.09.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.09.0.tar.xz.sig with my key https://pgp.surfnet.nl/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.09.0: core: * Splash: Do not truncate line dash patterns with more than 20 entries. Issue #1281 * Various signature related improvements * Fix FormField::getFullyQualifiedName in some scenarios * Splash: Small optimization on dash pattern handling * JBIG2Stream::readHalftoneRegionSeg: Fix potential memory leak * Fix crashes on malformed files. Including CVE-2022-38784 * Fix string formatting in error reporting glib: * Fix two potential memory leaks in poppler_document_create_dests_tree utils: * pdfsig: List signature field names when listing signature information * pdfsig: Add support for specifying signature by field name * pdfunite: Fix crashes on malformed files * pdfunite: Fix potential memory leak of docs This release was brought to you by Albert Astals Cid, Erich E. Hoover, Oliver Sander, "crt" and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Re: [poppler] poppler/Function.cc poppler/MarkedContentOutputDev.cc poppler/TextOutputDev.cc
El dissabte, 20 d’agost de 2022, a les 4:55:28 (CEST), William Bader va escriure: > > -if (x1 + w1 < 0 || x1 > pageWidth || y1 + h1 < 0 || y1 > pageHeight > > || x1 != x1 || y1 != y1 || // IEEE way of checking for isnan -w1 > > != w1 || h1 != h1) { > > +if (x1 + w1 < 0 || x1 > pageWidth || y1 + h1 < 0 || y1 > pageHeight > > || std::isnan(x1) || std::isnan(y1) || std::isnan(w1) || std::isnan(h1)) > > { > Would it be better to test isnan before using the values, like > > if (std::isnan(x1) || std::isnan(y1) || std::isnan(w1) || std::isnan(h1) || > x1 + w1 < 0 || x1 > pageWidth || y1 + h1 < 0 || y1 > pageHeight) { Good question. I agree that it really seems more logical to do what you suggest. But the current code has worked for us for a long time so i chose to just rewrite the comparisons in a way that are easier to read (i.e. use isnan instead of x != x) over also rewriting the if order. Cheers, Albert
[poppler] SonarCloud for poppler_mirror
I ran the SonarCloud analizer on the poppler_mirror github mirror https://sonarcloud.io/project/overview?id=tsdgeos_poppler_mirror I'm not super convinced the analizer is super smart but if someone has time i guess it wouldn't hurt to try to make it happier to some degree Cheers, Albert
[poppler] Poppler 22.08.0 released
Available from http://poppler.freedesktop.org/poppler-22.08.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.08.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.08.0: * Fix rendering text on some forms * CairoOutputDev: Support Type3 charprocs having Resources * Fix crashes on malformed files This release was brought to you by Albert Astals Cid, Marcel Fabian Krüger and "crt" and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Re: [poppler] Get text formatting info
El dimarts, 26 de juliol de 2022, a les 14:34:20 (CEST), Martin Delille va escriure: > Hi, > > I have this little piece of code that print the content of a PDF file and > convert it to a sequence of image: > > bool showPDF(const QString &fileName) { > bool result = false; > > if (auto document = Poppler::Document::load(fileName)) { > if (document->isLocked()) { > qCritical() << "Document is locked:" << fileName << > "\n"; > } else { > qDebug() << "pages: " << document->numPages() << > "\n"; > > for (int i = 0; i < document->numPages(); i++) { > qDebug() << "page:" << i << "\n"; > auto page = document->page(i); > > for (auto &text : page->textList()) { > qDebug() << "\ttext: " << > text->boundingBox().x() > << " / " << > text->boundingBox().y() > << " " << text->text() > << "\n"; > } > > auto image = page->renderToImage(300, 300); > image.save(QString("%0.%1.jpg") >.arg(fileName, > > QString::number(i).rightJustified(3, '0'))); > break; > } > > for (auto font : document->fonts()) { > qDebug() << font.name(); > > } > } > } > > return result; > } > > How can I extract text formatting information like boldness and font size ? > I can’t find the link between text and font items. As you have discovered that information is not exposed in the Qt frontend. You can use the cpp frontend https://poppler.freedesktop.org/api/cpp/classpoppler_1_1text__box.html or propose a patch for the Qt frontend to expose that information. Cheers, Albert > > Martin
[poppler] Poppler 22.07.0 released
Available from http://poppler.freedesktop.org/poppler-22.07.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/ poppler-22.07.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup? op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.07.0: core: * Fix crash when filling in forms in some files. Issue #1258 * Fix first lines of Annotations sometimes being cut off. Issue #1246 * Signatures: Don't crash if the signature doesn't have a common name * CairoFontEngine: increment font_face reference when retrieving from the cache * Add ToUnicode support for lessorequalslant and greaterorequalslant glib: * Add support for stamp annotation build system: * Tweaks on how gperf is run This release was brought to you by Adrian Johnson, Albert Astals Cid, Fabian Keßler, Nelson Benítez León, Vincent Lefevre and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
[poppler] Poppler 22.06.0 released
Available from http://poppler.freedesktop.org/poppler-22.06.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.06.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.06.0: core: * Forms: Fix crash in forms with their own DR * Refactor CairoFontEngine caching * CairoOutputDev: preserve text color when drawing type 3 glyphs * Windows: font code simplification * Minor code improvements utils: * pdfattach: Assume filename is utf8 encoded * pdftohtml: Fix type 3 font size calculation cpp: * Add missing header This release was brought to you by Adrian Johnson, Albert Astals Cid, Brian Rosenfield, Tobias C. Berner and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
[poppler] Poppler 22.05.0 released
Available from http://poppler.freedesktop.org/poppler-22.05.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.05.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.05.0: core: * Annotations: Make sure we embed fonts for the FreeText annots * Forms: Make sure we embedd fonts as needed * Signatures: Make sure we embed the needed fonts * CairoOutputDev: color type 3 fonts * fix two bugs in multiline find_text() * code improvements utils: * pdftotext: added TSV mode * HtmlOutputDev: don't use png.h cpp: * Use time_t for time * Add page_transition::durationReal qt: * Pass leftFontSize down to `FormWidgetSignature::signDocumentWithAppearence` This release was brought to you by Adrian Johnson, Albert Astals Cid, Alexander Sulfrian, Luis Landeiro, Nelson Benítez León, Pablo Rodríguez and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Re: [poppler] render PDF without annotations?
El dilluns, 18 d’abril de 2022, a les 13:07:12 (CEST), Stéphane Charette va escriure: > > No, the cpp frontend does not allow skipping annotations when rendering a > > page. > > > > If you want to add the feature it should be relatively easy. Patches > > welcome. > > That's only true for people already familiar with the codebase. > > Any hints? Is it Gfx::drawAnnot() that I want to skip? Am I in the > right ballpark? You need to pass an annotDisplayDecideCbkData that returns false to PDFDoc::displayPageSlice Cheers, Albert > > Stephane Charette >
Re: [poppler] render PDF without annotations?
El dilluns, 18 d’abril de 2022, a les 11:34:25 (CEST), Stéphane Charette va escriure: > I'm using the Poppler CPP interface. I render to image, then convert > to a OpenCV cv::Mat object. More or less like this: > > poppler::page_renderer renderer; > std::unique_ptr > doc(poppler::document::load_from_file(filename)); > for (int page_number = 0; page_number < doc->pages(); page_number++) > { > std::unique_ptr page(doc->create_page(page_number)); > poppler::image image = renderer.render_page(page.get(), dpi, dpi); > cv::Mat mat(image.height(), image.width(), CV_8UC3, image.data(), > image.bytes_per_row()); > > While this seems to work great, I just noticed that this renders into > the image any annotations that are saved in the PDF file as well. > Looking through the headers, I don't see any way to tell Poppler to > skip these annotations. Did I miss something? No, the cpp frontend does not allow skipping annotations when rendering a page. If you want to add the feature it should be relatively easy. Patches welcome. Cheers, Albert > > Thanks, > > Stephane Charette >
Re: [poppler] getting /Catalog /Lang in poppler-glib
El dijous, 14 d’abril de 2022, a les 13:16:58 (CEST), Pablo Rodríguez va escriure: > Dear list, > > I use the Python bindings for Poppler (through GObject introspection) to > extract some metadata from PDF documents. > > Here is a minimal script: > > > import sys > > import os > > import gi > > gi.require_version('Poppler', '0.18') > > from gi.repository import Poppler > > gi.require_version('Gst', '1.0') > > from gi.repository import Gst > > Gst.init(sys.argv) > > pdf = "a.pdf" > > uri = Gst.filename_to_uri(os.path.abspath(pdf)) > > doc = Poppler.Document.new_from_file(uri, None) > > title = doc.get_title() > > print(title) > > > Is there a way that I can extract the /Lang value from the /Catalog > dictionary? (Attached PDF document with that entry.) No, thought it should be relatively easy to add support for it. Will you contribute a patch? Cheers, Albert > > I’m afraid I searched https://lazka.github.io/pgi-docs/, but I wasn’t > able to find anything that could give the language from the document. > > Many thanks for your help, > > Pablo >
[poppler] Poppler 22.04.0 released
Available from http://poppler.freedesktop.org/poppler-22.04.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.04.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.04.0: core: * Fix underline sometimes being drawn only partially * Fix Adobe Reader not reading some of the contents we write correctly * Fix code that workarounds some broken-ish files * FoFiTrueType: Parse CFF2 fonts too * FoFiTrueType: Support cmap types 2 and 13 * Fix a few small memory leaks * code improvements qt: * Handle SaveAs named action * Annotations: don't change the text color when changing the font utils: * pdftotext: print creation and modification date when using htmlmeta param glib: * Fix returning internal data of temporary strings cpp: * Fix code incompatibility with MSVC build system: * poppler internal library is no longer forced to static on MSVC * Error out if iconv is not available and the cpp frontend is enabled * Require FreeType 2.8 This release was brought to you by ANaumann85, Albert Astals Cid, Christian Persch, Even Rouault, Oliver Sander, Zachary Travis, kVdNi and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
[poppler] Do we want to enable readability-braces-around-statements ?
It forces to add a pair of {} to all if/for/while/etc https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1091 (it fails in Qt autogenerated files for now, i can fix that if we agree we want it) I can see it being potentially annoying when CI fails because of this but on the other hand it seems it's always safer to include the braces to not fall into the trap of adding a line indented but that it's not really inside the if block What do you'all think? Cheers, Albert
[poppler] Poppler 22.03.0 released
Available from http://poppler.freedesktop.org/poppler-22.03.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.03.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.03.0: core: * Signature: Fix finding Signatures that are in Pages not not in the global the Forms object * Signature: Improve getting the path to the firefox certificate database * Splash: Fix rendering of some joints. Issue #1212 * Fix get_poppler_localdir for relocatable Windows builds * Minor code improvements qt: * Minor code improvements utils: * pdfimages: Fix the wrong Stream being passed for drawMaskedImage build system: * Small code improvements This release was brought to you by Albert Astals Cid, Kai Pastor, Oliver Sander, Stefan Löffler and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
[poppler] Poppler 22.02.0 released
Available from http://poppler.freedesktop.org/poppler-22.02.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.02.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.02.0: core: * Signature: Add a way to detect unsigned FormFieldSignature * Signature: Suport background image when using left and right text * Signature: Fix path where to search for Firefox NSS in Windows * Signature: Fix NSS code to work correctly in Windows/Android * Count only signature fields in PDFDoc::getNumSignatureFields * Minor code improvements qt: * Allow signing unsigned signature fields * Allow passing a background image for the signature when signing * Allow passing the document password when signing * Fix leftFontSize being ignored when signing glib: * try with utf8 password if latin1 fails * New method for getting all signature fields of a document * Fix compile with MSVC utils: * pdfsig: Fix compile with MSVC build system: * Fix NSS cmake check for MSVC This release was brought to you by Albert Astals Cid, Fabrice Fontaine, Felix Jung, Marek Kasik, Martin, Nelson Benítez León, Oliver Sander and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
[poppler] Poppler 22.01.0 released
This one is a bit late because 3 reasons: a) gitlab.freedesktop.org has been acting a bit broken lately b) coverity isn't working c) the buildbot provided by igalia isn't working For a) I think I've managed to get all I wanted in the release so we should be good For b) well, we will just have to trust ourselves that we didn't make any mistake that an automatic tool would detect For c) I ran a manual rendering regression test and couldn't find any rendering changed so I think we're also good. Available from http://poppler.freedesktop.org/poppler-22.01.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-22.01.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 22.01.0: core: * Allow local (relative to dll) fonts dir on Windows * TextOutputDev: require more spacing between columns. Issue #1093 * Fix crash in Splash::gouraudTriangleShadedFill. Issue #1183 * Fix crash when calling Form::reset() * GfxSeparationColorSpace: Check validity of colorspace and function. Issue #1184 * Minor code improvements glib: * Include glib.h before using defines from it * Close file descriptors on error * Plug some memory leaks * Replace use of deprecated g_memdup/g_time_zone_new * Remove FD-taking functions on windows utils: * pdfsig: Add support for documents with passwords * pdfsig: Fix signing with -sign if nss password is needed This release was brought to you by Albert Astals Cid, Christian Persch, Marco Genasci, Marek Kasik, Nelson Benítez León, sunderme and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Re: [poppler] editing PDF with forms on Linux
El dimarts, 4 de gener de 2022, a les 0:46:54 (CET), Valerio Messina va escriure: > On 1/3/22 11:05 PM, Albert Astals Cid wrote: > > This is not a support forum for "how do I do PDF things on linux" > > > > This is a mailing list about poppler development. > > yes, sorry > > A better question is: Poppler lib has functions to manage forms, which > tool use them to edit PDF with forms? With edit you mean change the contents of existing forms or adding new forms? For changing the contents of existing forms I know at least okular and evince should work reasonably well. For adding new forms I don't think anything poppler-based supports that. Cheers, Albert > > thank you, >
Re: [poppler] editing PDF with forms on Linux
El dilluns, 3 de gener de 2022, a les 22:52:15 (CET), Valerio Messina va escriure: > hi, > as Acrobat 9 seems last release on Linux, what is the suggested tool to > edit PDF forms? This message is off topic. This is not a support forum for "how do I do PDF things on linux" This is a mailing list about poppler development. Cheers, Albert > > thank you, >
[poppler] Poppler 21.12.0 released
Available from http://poppler.freedesktop.org/poppler-21.12.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.12.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.12.0: core: * Add API to add images * CairoOutputDev: Fix de-duping of Flate images * Fix crash on broken files when using non-default ENABLE_ZLIB_UNCOMPRESS. Issue #393 * Minor code improvements glib: * Add API for validation of signatures * Add API to read/save to file descriptor utils: * pdftohtml: Reduce sensitivity of duplicate detection. Issue #1117 build system: * Increase C++ standard to 17 This release was brought to you by Adrian Johnson, Albert Astals Cid, Christian Persch, Christopher Hasse, Even Rouault, Georgiy Sgibnev, Marek Kasik and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Re: [poppler] Increasing the C++ standard to C++17
El dilluns, 27 de setembre de 2021, a les 10:41:03 (CET), Valerio Messina va escriure: > On 9/27/21 6:52 AM, William Bader wrote: > > although would a distribution with an old gcc (I think > > that -std=gnu++17 was added in gcc 9, released May 2019) push anything > > but bug fixes for packages? > > Debian 10 has gcc 8.3.0 Our CI has gcc 7.5 and it has compiled fine so I've went ahead with the increase. Cheers, Albert > >
[poppler] Poppler 21.11.0 released
Available from http://poppler.freedesktop.org/poppler-21.11.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.11.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.11.0: core: * Fix rendering of some non-standard confirming annotations * Support rendering of some non-standard Type3 charprocs. Issue #1150 * TextOutputDev: Respect orientation when selecting words. Issue #499 * CairoOutputDev: Don't override the antialias settings from the cairo_t * StructElement: support MCID in XObjects * Fix detection of monospace fonts * Ignore Adobe-Identity for non embedded CID fonts * PageLabelInfo::labelToIndex: work on some special no style intervals * Fix crash in malformed files * Minor code improvements utils: * pdfinfo: add -url option to print all URLs in a PDF * pdftohtml: document what zoom means in regard to DPI qt6: * Require Qt 6.1 * Minor code improvements This release was brought to you by Adrian Johnson, Albert Astals Cid, Christian Persch, Georgiy Sgibnev, Marek Kasik and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
[poppler] Poppler 21.10.0 released
Available from http://poppler.freedesktop.org/poppler-21.10.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.10.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.10.0: core: * Add support for setting custom stamp annotations * Add default appearance for the well known stamp names * Correct encoding of signature's properties Reason & Location * Splash: Fix rendering of some odd patterns * SignatureHandler::validateCertificate: Add option to not do OCSP revocation check * SignatureHandler::validateCertificate: Add support for AIA fetching to verify certificates * greallocn: if memory allocation fails, free the previous pointer to avoid memory leak * Fix issues with malformed files * Internal code improvements utils: * pdfsig: Add a way to list certificate nicknames * pdfsig: You can now add signatures from pdfsig * pdfsig: Add option to not do OCSP revocation check * pdfsig: Add option for AIA fetching to verify certificates * pdfinfo: Add -custom option to print custom metadata * pdfinfo: add metadata flags qt: * Add support for setting custom stamp annotations * Add getters for signature's properties Reason & Location * Internal code improvements glib: * Remove incorrect PopplerAttachment deprecation This release was brought to you by Adrian Johnson, Albert Astals Cid, Christian Persch, Even Rouault, Georgiy Sgibnev, Mahmoud Khalil, Oliver Sander, Theofilos Intzoglou, Thomas Huxhorn and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
[poppler] Increasing the C++ standard to C++17
https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/941 Anyone against it? It would allow us to use std::optional which would allow us to change things like std::unique_ptr readMetadata(); to std::optional readMetadata(); where you can differentiate between "no metadata" and "empty metadata" without having to use a pointer. Seems better API to me. All the things in the gitlab CI built fine and I don't think the mac/windows builders would be a problem to get the increased C++ standard. Cheers, Albert
[poppler] poppler-data 0.4.11 released
Hi, new poppler-data out. https://poppler.freedesktop.org/poppler-data-0.4.11.tar.gz The only change is a "typo fix" in Adobe-Korea1-H-Mac Please test and see if it works for you. Cheers, Albert
[poppler] Poppler 21.09.0 released
Available from http://poppler.freedesktop.org/poppler-21.09.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.09.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.09.0: core: * Splash: Massive spped improvement on files that use lots of save/restore (q/Q) operators * Correct decoding of signature properties Reason & Location when they are Unicode * Fix issues with malformed files * MSVC build fixes build system: * Call cmake_minium_required() before project() * Always append to CMAKE_{C,CXX}_FLAGS_${CMAKE_BUILD_TYPE} * correctly forward user-provided flags to try_compile() This release was brought to you by Albert Astals Cid, Alex Richardson, Even Rouault, Georgiy Sgibnev, Peter Williams, Thomas Freitag and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
Re: [poppler] How to install newer Poppler version on KDE neon
El dilluns, 9 d’agost de 2021, a les 19:05:42 (CEST), Marc Serra va escriure: > Hi, I'm trying to use the digitally sign option on Okular (version > 21.04.3), but seems my poppler version is too old (0.86.1-0ubuntu1) > > I'm using KDE Neon 5.22 and it's up to date. > > Is there a clean and easy way to install a newer poppler version? Some > repository? I cannot find a way other than compile from source > > Thank's and good job! A new poppler won't give you anything, you'll also need to recompile Okular with that new poppler. The only easy suggestion i can think of is to use Okular from flathub. https://flathub.org/apps/details/org.kde.okular See discussion at Caliu[1] [2], it worked for one person and not for another so I'm just hoping the one that didn't work didn't configure it correctly. Cheers, Albert [1] https://lists.riseup.net/www/arc/caliu-info/2021-08/msg1.html [2] https://lists.riseup.net/www/arc/caliu-info/2021-08/msg0.html
[poppler] Poppler 21.08.0 released
Ignore the previous one ^_^ Available from http://poppler.freedesktop.org/poppler-21.08.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.08.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.08.0 core: * Add API to allow addition and modification of outlines into a PDF * Use additional samples to test for constant parts of an axial gradient * forms: Create fallback fonts for some well known font names * Support reading the PDF Version from the Catalog * Fix XRef::copy when there are modified objects * Take into account that Date string may be in unicode * JBIG2Stream: Fix regression in "Do not consider a size-0 to be an error" * Replace a local bubble sort implementation by std::sort * Fix issues with malformed files build system: * Better error message when libjpeg is not found * Better error messages when libopenjpeg2 is not found qt5/qt6: * Document that a document has to outlive its pages * Make getPdfVersion return a dedicated version object glib: * mimick TextSelectionDumper logic change for spaceAfter This release was brought to you by Adrian Johnson, Albert Astals Cid, Hib Eris, Nelson Benítez León, Oliver Sander, RM, Uli Schlachter, Zachary Travis and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
[poppler] Poppler 21.08.0 released
Available from http://poppler.freedesktop.org/poppler-21.08.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.08.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.08.0 This release was brought to you by Adrian Johnson, 11 Albert Astals Cid 1 Hib Eris 2 Nelson Benítez León 4 Oliver Sander 1 RM 2 Uli Schlachter 1 Zachary Travis and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert
[poppler] Poppler 21.07.0 released
Available from http://poppler.freedesktop.org/poppler-21.07.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.07.0.tar.xz.sig with my key http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.07.0 core: * JBIG2Stream: Do not consider a size-0 to be an error. Issue #535 * PSOutputDev: fix off-by-one error for image masking in L1/L2 output. Issue #1088 * CairoOutputDev: Fix memory leak on broken files * Minor code improvements build system: * set C standard to 11 without extensions This release was brought to you by Albert Astals Cid, Hubert Figuiere, Oliver Sander, Philipp Knechtges, Uli Schlachter and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
Re: [poppler] Why poppler, which supports tagged PDFs, doesn't recognize some of the tags as a whole?
El dijous, 24 de juny de 2021, a les 15:47:38 (CEST), Germán Poo-Caamaño va escriure: > On Thu, 2021-06-24 at 10:44 +0200, Albert Astals Cid wrote: > > El dijous, 24 de juny de 2021, a les 7:48:45 (CEST), Denis Bitouzé va > > escriure: > > > Hi, > > > > > > the joined `test.pdf` file is properly tagged as you can check it > > > by > > > loading it at: > > > > > > ┌ > > > │ https://www.ngpdf.com/loadFile > > > └ > > > > > > and then looking at: > > > > > > ┌ > > > │ https://www.ngpdf.com/editor/editFile > > > └ > > > > > > You can see each line of the code: > > > > > > ┌ > > > │ \pdfdict_new:n {l_my_action_dict} > > > │ \pdfdict_put:nnn {l_my_action_dict}{Type}{/Action} > > > │ \pdfdict_put:nnn {l_my_action_dict}{S}{/URI} > > > │ \pdfdict_put:nnn {l_my_action_dict}{URI}{( > > > https://www.latex-project.org)} > > > └ > > > > > > is a single tag. > > > > > > Nevertheless this code, if copied e.g. from Evince 3.38.1, is > > > pasted not > > > as it is and but as: > > > > That would be a question for the Evince developers (some of them are > > on this is i guess so you may still get an answer). > > > > The fact that poppler has facilities to "see" the contents of tagged > > pdf doesn't mean that evince is using them. > > I am unsure what the report or question is about. Is it about > presenting/seeing each tag separately or copying/pasting the test in > the tags? > > If the later, that corresponds to poppler-glib. You think so? I'm not convinced i mean poppler-glib already exports the Tags contents, it's just that evince always uses the "raw text" contents and never the "Tagged text" contents. Or you would expect poppler-glib to chose which text to give you? Cheers, Albert > > ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
Re: [poppler] Why poppler, which supports tagged PDFs, doesn't recognize some of the tags as a whole?
El dijous, 24 de juny de 2021, a les 16:59:47 (CEST), Denis Bitouzé va escriure: > Le 24/06/21 à 14h21, Leonard Rosenthol a écrit : > > > I believe the issue is that Evince, when doing copy/paste of text does > > *not* look at the Tags but instead just uses the content stream (via > > TextOutputDev or equivalent). > > And, as I said, Evince isn't the only one affected by the trouble. Because all poppler using apps basically ignore the Tags content. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
Re: [poppler] Why poppler, which supports tagged PDFs, doesn't recognize some of the tags as a whole?
El dijous, 24 de juny de 2021, a les 7:48:45 (CEST), Denis Bitouzé va escriure: > Hi, > > the joined `test.pdf` file is properly tagged as you can check it by > loading it at: > > ┌ > │ https://www.ngpdf.com/loadFile > └ > > and then looking at: > > ┌ > │ https://www.ngpdf.com/editor/editFile > └ > > You can see each line of the code: > > ┌ > │ \pdfdict_new:n {l_my_action_dict} > │ \pdfdict_put:nnn {l_my_action_dict}{Type}{/Action} > │ \pdfdict_put:nnn {l_my_action_dict}{S}{/URI} > │ \pdfdict_put:nnn {l_my_action_dict}{URI}{(https://www.latex-project.org)} > └ > > is a single tag. > > Nevertheless this code, if copied e.g. from Evince 3.38.1, is pasted not > as it is and but as: That would be a question for the Evince developers (some of them are on this is i guess so you may still get an answer). The fact that poppler has facilities to "see" the contents of tagged pdf doesn't mean that evince is using them. Cheers, Albert > > ┌ > │ \pdfdict_new:n > │ \pdfdict_put:nnn > │ \pdfdict_put:nnn > │ \pdfdict_put:nnn > │ {l_my_action_dict} > │ {l_my_action_dict}{Type}{/Action} > │ {l_my_action_dict}{S}{/URI} > │ {l_my_action_dict}{URI}{(https://www.latex-project.org)} > └ > > Thanks! > ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
Re: [poppler] Moved IRC to libera.chat
El dimarts, 15 de juny de 2021, a les 23:52:40 (CEST), Germán Poo-Caamaño va escriure: > On Tue, 2021-06-15 at 23:31 +0200, Albert Astals Cid wrote: > > The freenode staff deleted the #poppler channel and all the registered > > users, so I've edited the webpage to now say libera.chat instead of > > freenode.net > > > > I'm sorry I didn't get to discuss this before implementing it, but > > given the super bad behaviour by the freenode staff the action needed > > to be taken immediately. > > > > If someone has any reservations about libera.chat and would prefer any > > other network please let's talk about it :) > > My reservations with libera.chat is the the lack of legal or > organizational structure¹, https://libera.chat/about https://libera.chat/bylaws ? ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Moved IRC to libera.chat
The freenode staff deleted the #poppler channel and all the registered users, so I've edited the webpage to now say libera.chat instead of freenode.net I'm sorry I didn't get to discuss this before implementing it, but given the super bad behaviour by the freenode staff the action needed to be taken immediately. If someone has any reservations about libera.chat and would prefer any other network please let's talk about it :) Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Anyone against removing the ENABLE_SPLASH cmake define
It's been partly broken for a long time, so I'm proposing (and Hubert is executing) to remove it. https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/871 Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Poppler 21.06.1 released
Available from http://poppler.freedesktop.org/poppler-21.06.1.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.06.1.tar.xz.sig with my key http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.06.1 glib: * fix poppler_rectangle_free() regression. Issue #1087 This release was brought to you by Nelson Benítez León and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Poppler 21.06.0 released
Available from http://poppler.freedesktop.org/poppler-21.06.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.06.0.tar.xz.sig with my key http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.06.0 core: * Fix rendering of some extended latin1 characters in annotations. Issue #1070 * Support some not so well formed documents with password. Issue #1083 * Add API to get notified if the xref is reconstructed * Add somewhat fancier left/right signature visual representation * Fix crashes in malformed files * Minor code improvements qt6: * Change some functions to return std::unique_ptr qt5/qt6: * Add API to get notified if the xref is reconstructed * Add somewhat fancier left/right signature visual representation * Don't assert when trying to invert singular matrices build system: * make boost opt-out if building splash This release was brought to you by Albert Astals Cid, Hubert Figuière, Mahmoud Khalil, Oliver Sander and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
Re: [poppler] Recent changes in whitespace rendering with physical_layout
Seems we're going to follow that up in https://gitlab.freedesktop.org/poppler/poppler/-/issues/1076 El dilluns, 3 de maig de 2021, a les 15:22:19 (CEST), Jeroen Ooms va escriure: > I maintain R bindings called pdftools, mostly used for extracting text > from scientific documents. The bindings wrap the C++ API, in > particular we convert pdf to text using poppler::page::text() with > physical_layout. > > Recently users have started to report changes in behaviour with newer > versions of poppler, in particular wrt whitespace. For example, all > pages are now terminated end with an '\f' symbol which was not the > case before. On Windows, linebreaks are now converted as '\r\n' > instead of just '\n' as before (we use mingw-w64 compilers). And also, > some documents that would contain a single linebreak in e.g. poppler > 0.73, now have 4 or 5 linebreaks on the same place with the latest > poppler. > > I had a look at the changelog but I couldn't find any notes of this. > Are these expected changes? The new behavior is causing some existing > pipelines to break, where people were using e.g. line offsets to > extract fragments of the text. > ___ > poppler mailing list > poppler@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/poppler > ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Poppler 21.05.0 released
Available from http://poppler.freedesktop.org/poppler-21.05.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.05.0.tar.xz.sig with my key http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.05.0 core: * Fix crashes in malformed files * Export SplashFont* symbols used by Scribus * Minor code improvements qt5/qt6: * Make sure new signatures are always properly oriented * Allow to pass the border width when signing glib: * Enhance find to support multi-line matching utils: * pdftoppm: Fix regression when using single scaleTo. Issue #1062 build system: * Allow to disable building manual tests This release was brought to you by Albert Astals Cid, Evangelos Foutras, Nelson Benítez León, Volker Krause and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
Re: [poppler] Pdfsig checking revocation list
El divendres, 23 d’abril de 2021, a les 19:55:43 (CEST), Andrés Soria va escriure: > Hello everyone. Hope you are doing well. > > I need to work with some government documentation that has a digital > signature on it with the local ID card. > Until now I was working with adobe reader 9.5 for linux wich whenever I > opened a document It checked the signature going through the internet and > downloaded the revocation list. > > We are looking forward to stop using adobe reader for linux (It is old > software and has a lot of security issues) and replace it with okular wich > uses poppler and pdfsig to verify signatures. Okular does not use pdfsig (it just uses poppler) > As far as we know testing okular signatures are checked ok but only > identity and integrity, we can not make or we don't know how to use it to > check revocation as it did Adobe reader. > > How does pdfsig check revocation list on the internet? pdfsig does not contact the internet (and as far as i know NSS doesn't either). > Or we have to > download the crl file and make pdfsig check locally? poppler (and thus pdfsig) uses NSS for signature validation. You can see how you can manage CRLs for NSS in https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/tools/NSS_Tools_crlutil Hope that helps :) Cheers, Albert > > Thanks for the help. > > Regards. > Andrés. > ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Poppler 21.04.0 released
Available from http://poppler.freedesktop.org/poppler-21.04.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.04.0.tarxz.sig with my key http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.04.0 core: * Hide symbols by default * TextSelectionDumper: fix word order for RTL text * Fix rendering of text in some files. Issue #1052 * Implement rendering of Masks of Image subtype. Issue #1058 * Forms: fix unclicking standalone form buttons. Issue #1034 glib: * Expose more fields from MediaRendition in PopplerMedia * Use stock glib macro to define boxed type * Remove incorrecly used volatile from enum type registration code qt5: * Fix crash in files with malformed signatures * Fix memory leak when QImage constructor "fails" qt6: * Fix crash in files with malformed signatures * Fix memory leak when QImage constructor "fails" utils: * pdfsig: New paragraph for "-sign" in manpage * pdfimages: Do not assert in "too big images". Issue #1061 build system: * Require cmake >= 3.10 * Require Qt 5 >= 5.9 * Require glib >= 2.56 * Require gtk 3 >= 3.22 * Require gdk-pixbuf >= 2.36 This release was brought to you by Albert Astals Cid, Christian Persch, Clément Pit-Claudel, Marek Kasik, Nelson Benítez León, Steve Rosenhamer and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Poppler 21.03.0 released
Available from http://poppler.freedesktop.org/poppler-21.03.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.03.0.tar.xz.sig with my key http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.03.0 core: * Fix parsing text in some broken pdf files. Issue #1040 * Fix memory issue when using threads. Issue #1050 * TextSelectionDumper: Fix getText() for space after word * Change signature of OutputDev:tilingPatternFill * Make PDFDocBuilder return a std::unique_ptr * Improve well formed check for shading functions * Fix leak in case of fread failing * Fix memory leak in broken file in JBIG2Stream::readGenericBitmap * PSOutputDev: Fix stack overflow in broken files glib: * poppler_annot_free_text_get_callout_line: Fix wrong static cast * poppler-structure-element: fix memleak * Improve documentation * demo: keep same visual appearance between displayed and copied text utils: * pdftotext: Add -cropbox option * pdftoppm: Add -progress option * pdftoppm: Fix rounding bug in computation of output bitmap size. Issue #927 qt6: * Add missing poppler-qt6.pc.cmake This release was brought to you by Albert Astals Cid, Diogo Kollross, Evan Nemerson, Kyle Auble, Nelson Benítez León, Oliver Sander, William Bader and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Poppler 21.02.0 released
Available from http://poppler.freedesktop.org/poppler-21.02.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.02.0.tarxz.sig with my key http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 21.02.0 core: * GfxCal*ColorSpace: introduce Bradford transform for chromatic adaptation * Fix memory leak if saving the file fails * Internal code improvements * Fix various issues handling broken files * Make checkedAdd work for long long in MSVC qt5: * Properly export NewSignatureData class * Fix regression in QIODeviceOutStream + MSVC qt6: * Properly export NewSignatureData class * Fix regression in QIODeviceOutStream + MSVC utils: * pdftohtml: Fix error() parameter type This release was brought to you by Albert Astals Cid, Oliver Sander, Philipp Knechtges and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
Re: [poppler] Distro packagers: please help with this new branch with hidden symbols by default
El dilluns, 18 de gener de 2021, a les 20:25:59 CET, Adam Sampson va escriure: > Albert Astals Cid writes: > > > Would anyone be able to recompile those apps with that branch and send > > me the link errors? > > I maintain xpopple, which is xpdf's Motif frontend ported to use > poppler. Here are the link errors from building the current Git version > of xpopple against that branch (summary below!): > > g++ -g -O2 -o xpdf/xpdf goo/xpdf_xpdf-gfile-xpdf.o > goo/xpdf_xpdf-parseargs.o xpdf/xpdf-CoreOutputDev.o xpdf/xpdf-PDFCore.o > xpdf/xpdf-XPDFApp.o xpdf/xpdf-XPDFCore.o xpdf/xpdf-XPDFParams.o > xpdf/xpdf-XPDFTree.o xpdf/xpdf-XPDFViewer.o xpdf/xpdf-xpdf.o -lpthread -lXm > -L/home/ats/pkg/pop/lib -lpoppler -L/gar/lib -lXt -lX11 > /gar/bin/ld: xpdf/xpdf-PDFCore.o: in function `PDFCore::xorRectangle(int, > int, int, int, int, SplashPattern*, PDFCoreTile*)': > /home/ats/Code/xpopple/xpdf/PDFCore.cc:1553: undefined reference to > `Splash::Splash(SplashBitmap*, bool, SplashScreenParams*)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1554: undefined reference > to `Splash::setFillPattern(SplashPattern*)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1559: undefined reference > to `SplashPath::SplashPath()' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1560: undefined reference > to `SplashPath::moveTo(double, double)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1561: undefined reference > to `SplashPath::lineTo(double, double)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1562: undefined reference > to `SplashPath::lineTo(double, double)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1563: undefined reference > to `SplashPath::lineTo(double, double)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1564: undefined reference > to `SplashPath::close(bool)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1565: undefined reference > to `Splash::xorFill(SplashPath*, bool)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1566: undefined reference > to `SplashPath::~SplashPath()' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1567: undefined reference > to `Splash::~Splash()' > /gar/bin/ld: xpdf/xpdf-PDFCore.o: in function `PDFCore::setSelection(int, > int, int, int, int)': > /home/ats/Code/xpopple/xpdf/PDFCore.cc:1365: undefined reference to > `SplashSolidColor::SplashSolidColor(unsigned char*)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:1373: undefined reference > to `SplashSolidColor::SplashSolidColor(unsigned char*)' > /gar/bin/ld: xpdf/xpdf-PDFCore.o: in function `PDFCore::update(int, int, int, > double, int, bool, bool, bool)': > /home/ats/Code/xpopple/xpdf/PDFCore.cc:497: undefined reference to > `SplashSolidColor::SplashSolidColor(unsigned char*)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/PDFCore.cc:714: undefined reference > to `SplashSolidColor::SplashSolidColor(unsigned char*)' > /gar/bin/ld: xpdf/xpdf-XPDFCore.o: in function > `XPDFCore::getLinkAbsolutePath(std::__cxx11::basic_string std::char_traits, std::allocator > const&)': > /home/ats/Code/xpopple/xpdf/XPDFCore.cc:757: undefined reference to > `appendToPath(GooString*, char const*)' > /gar/bin/ld: xpdf/xpdf-XPDFCore.o: in function `XPDFCore::doAction(LinkAction > const*)': > /home/ats/Code/xpopple/xpdf/XPDFCore.cc:683: undefined reference to > `getFileSpecNameForPlatform(Object const*)' > /gar/bin/ld: xpdf/xpdf-XPDFParams.o: in function > `XPDFParams::parseFile(std::__cxx11::basic_string std::char_traits, std::allocator > const&, _IO_FILE*)': > /home/ats/Code/xpopple/xpdf/XPDFParams.cc:333: undefined reference to > `getLine(char*, int, _IO_FILE*)' > /gar/bin/ld: /home/ats/Code/xpopple/xpdf/XPDFParams.cc:333: undefined > reference to `getLine(char*, int, _IO_FILE*)' > /gar/bin/ld: xpdf/xpdf-XPDFParams.o: in function `XPDFParams::XPDFParams(char > const*)': > /home/ats/Code/xpopple/xpdf/XPDFParams.cc:174: undefined reference to > `appendToPath(GooString*, char const*)' > collect2: error: ld returned 1 exit status > > In slightly easier-to-read form, that's: > > Splash::Splash(SplashBitmap*, bool, SplashScreenParams*) > Splash::setFillPattern(SplashPattern*) > Splash::xorFill(SplashPath*, bool) > Splash::~Splash() > SplashPath::SplashPath() > SplashPath::close(bool) > SplashPath::lineTo(double, double) > SplashPath::moveTo(double, double) > SplashPath::~SplashPath() > SplashSolidColor::SplashSolidColor(unsigned char*) > appendToPath(GooString*, char const*) > getFileSpecNameForPlatform(Object const*) > getLine(char*, i
[poppler] Distro packagers: please help with this new branch with hidden symbols by default
https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/794 The only symbols exported from the core library are all those needed by either of the frontends or by the utils/ I'm guessing that all those apps that use the private headers may need more. Would anyone be able to recompile those apps with that branch and send me the link errors? Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Poppler 21.01.0 released
Available from http://poppler.freedesktop.org/poppler-21.01.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-21.01.0.tar.xz.sig with my key http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Note: There may be an issue on MSVC, the unofficial appveyor CI is crashing in one of the tests https://ci.appveyor.com/project/tsdgeos/poppler-mirror but i have not been able to reproduce it locally, more eyes welcome in this regard. Release 21.01.0 core: * Faster routines for jpeg decoding * Fix reading signatures in encrypted files * Add white point correction when lcms is used * JBIG2Stream: Fix byte counting * Fix potential data loss if we try to fetch a non existing Ref after modifying the document * Specifically use DeviceGray instead of DefaultGray for softmasks * Fix various issues handling broken files utils: * pdftocairo: Setmode binary for windows * pdfsig: Add hability to digitally sign files * pdftoppm: add options to set DeviceGray/DeviceRGB/DeviceCMYK * pdftops: add options to set DeviceGray/DeviceRGB/DeviceCMYK * pdfimages: Account for rotation in PPI calculation qt5: * Add hability to digitally sign files qt6: * Add hability to digitally sign files build system: * Enable clang-tidy bugprone-signed-char-misuse This release was brought to you by Adam Sampson, Albert Astals Cid, Hans-Ulrich Jüttner, Jakub Alba, Katarina Behrens, Lluís Batlle i Rossell, Nelson Benítez León, Oliver Sander, Philipp Knechtges, Salvo Miosi, Thomas Freitag, Thorsten Behrens, William Bader, mrbax and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
Re: [poppler] Lots of fuzzing issues in cairo related code
El dimecres, 9 de desembre de 2020, a les 19:04:37 CET, Germán Poo-Caamaño va escriure: > On Wed, 2020-12-09 at 18:53 +0100, Albert Astals Cid wrote: > > We recently enabled oss-fuzz on CairoOutputDev and that has found > > lots of issues, is there anyone that wants to look at them (will need > > a google-enabled account) before they are made public by the oss-fuzz > > timeout? > > What is the oss-fuzz timeout? 90 days. Cheers, Albert > > I would like to take a look at it, even though I lack of spare time, my > backlog keeps increasing, and my cairo knowledge is limited at best. > > ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Lots of fuzzing issues in cairo related code
We recently enabled oss-fuzz on CairoOutputDev and that has found lots of issues, is there anyone that wants to look at them (will need a google-enabled account) before they are made public by the oss-fuzz timeout? Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Poppler 20.12.1 released
Available from http://poppler.freedesktop.org/poppler-20.12.1.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-20.12.1.tar.xz.sig with my key http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 This release mostly fixes a regression if some of the non default flags of pdftops are used. Release 20.12.1: core: * PSOutputDev: fixing regression in the rasterization code. Issue #1002 * Add missing profile copy operation in GfxICCBasedColorSpace::copy() * Fix issue in broken files build system: * Use modern CMake linking for Qt and boost This release was brought to you by Albert Astals Cid, Philipp Knechtges and everyone else that filed bugs or helped with code reviews :) Testing, patches and bug reports welcome. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
Re: [poppler] Moving up our "minimum" Linux base
El dimecres, 2 de desembre de 2020, a les 22:32:46 CET, Even Rouault va escriure: > Hi, > > one little detail is that ossfuzz is stuck on 16.04 for now (despite https:// > github.com/google/oss-fuzz/issues/3756 having been closed, apparently just > because they upgraded the Python version) That's "easy" to fix, i mean we compile most of our stuff in ossfuzz anyway, so one more thing to compile if needed. Cheers, Albert > > Even > > ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
Re: [poppler] Moving up our "minimum" Linux base
El dimecres, 2 de desembre de 2020, a les 21:18:09 CET, Philipp Knechtges va escriure: > I personally do not mind, but could you elaborate on what in particular > you consider too old about 16.04? > > From your recent commit series I would guess you are not satisfied with > CMake? Or is it the GCC version? Is it some specific feature you are > missing in the current setup? cmake is one of them, yes. Having to worry less when I we do stuff that has to work on something that is now almost 5 years old is another. > FWIW, LLVM seems to be a project which is quite fast at making newer > CMake versions compulsory. Currently they require CMake version 3.13.4, > which would not be present in 18.04, which has 3.10.2 afaik. So compared > to them, a move to requiring some equivalent set of tools as found on > 18.04 could be considered conservative ;) > > In the end it is your choice, but speaking for myself I would propose > that one drives this process more from the feature side. You encounter a > missing feature (e.g. Cmake policy you would like to have), you check > what version of CMake is minimally required to provide this feature, and > if this feature in not just in the latest distro releases, go ahead and > introduce it? That'd be an option, but then let's say that i say "i want cmake X, Qt Y, gcc Z", cool, but there's no distro that has that combination so it's not tested on CI so what "is tested is the truth", so it's much more sensible to approach it from the other side, find a distribution that is old enough and say "let's move to that". Cheers, Albert > > Just my 20 cents. Best regards > > Philipp > > Am 02.12.20 um 18:00 schrieb Albert Astals Cid: > > Right now our minimum Linux base as "guaranteed" by the gitlab CI is Ubuntu > > 16.04. > > > > I'd like to move that to Ubuntu 18.04. > > > > As far as i understand no "old distro" is updating the poppler package, the > > having relatively old requirements is there to make it easier for > > "everyone" that wants to build poppler to be able to use their current > > distribution to do so without having to worry that they need something > > released last week. > > > > But I *think* that "linux" developers should probably be using a > > distibution that is newer than 2.5 years. > > > > Opinions? > > > > Cheers, > >Albert > > > > > > > > ___ > > poppler mailing list > > poppler@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/poppler > > ___ > poppler mailing list > poppler@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/poppler > ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Moving up our "minimum" Linux base
Right now our minimum Linux base as "guaranteed" by the gitlab CI is Ubuntu 16.04. I'd like to move that to Ubuntu 18.04. As far as i understand no "old distro" is updating the poppler package, the having relatively old requirements is there to make it easier for "everyone" that wants to build poppler to be able to use their current distribution to do so without having to worry that they need something released last week. But I *think* that "linux" developers should probably be using a distibution that is newer than 2.5 years. Opinions? Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler
[poppler] Poppler 20.12.0 released
Available from http://poppler.freedesktop.org/poppler-20.12.0.tar.xz The tarball is signed at http://poppler.freedesktop.org/poppler-20.12.0.tar.xz.sig with my key http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 Release 20.12.0 core: * Draw better circles for circle annotations * Fix annotation line width if no appearance stream or style are given * Tweak rendering of highlight annotations * Fix border rendering of some annotations * Fix rendering of some files. Issue #976 Issue #567 * PSOutputDev: provide options to set the rasterization color space and ICC profile * PSOutputDev: for splashModeCMYK8 and language level >=2 activate overprint emulation * PSOutputDev: use the DeviceN8 bitmap for rasterization with CMYK-output + overprint * Use the font name without subset tag when querying for a system font * Splash: Fix wrong x adjustment during clipping * Splash: Fix blitImage in uncolored tiling patterns * timeToDateString: We forgot the ' after the minutes * Move psLevel to PSOutputDev creation * Fix several issues in broken files utils: * pdftops: provide options to set the rasterization color space and ICC profile * pdftops: for splashModeCMYK8 and language level >=2 activate overprint emulation cpp: * New fuzzers glib: * New fuzzers qt5: * New fuzzers build system: * gcc: Enable -fno-operator-names * Remove obsolete bool-to-binary macro * Remove obsolete version-check macro for pkgconfig * Remove .pc files for private back-ends * Remove redundant unit-test macro This release was brought to you by Albert Astals Cid, Ceyhun Alp, Kyle Auble, Oliver Sander, Philipp Knechtges and Tobias Deiminger. Testing, patches and bug reports welcome. Cheers, Albert ___ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler