aboutsummaryrefslogtreecommitdiff
path: root/graphics/pdfpc
Commit message (Collapse)AuthorAgeFilesLines
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* graphics/poppler: update to 21.03.0Tobias C. Berner2021-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 PR: 253953 Exp-run by: antoine Notes: svn path=/head/; revision=567866
* graphics/poppler: update to 21.02Tobias C. Berner2021-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 PR: 253183 Exp-run by: antoine Notes: svn path=/head/; revision=564779
* graphics/pdfpc: fix build on GCC architecturesPiotr Kubaj2021-01-141-1/+1
| | | | | | | | | | | | | | | | In file included from /usr/local/include/webkitgtk-4.0/jsc/jsc.h:25, from /usr/local/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28, from /usr/local/include/webkitgtk-4.0/webkit2/webkit2.h:57, from src/classes/view/markdown.c:4: /usr/local/include/webkitgtk-4.0/jsc/JSCClass.h:37: error: redefinition of typedef 'JSCClass' /usr/local/include/webkitgtk-4.0/jsc/JSCValue.h:43: error: previous declaration of 'JSCClass' was here /usr/local/include/webkitgtk-4.0/jsc/JSCClass.h:40: error: redefinition of typedef 'JSCContext' /usr/local/include/webkitgtk-4.0/jsc/JSCValue.h:44: error: previous declaration of 'JSCContext' was here MFH: 2021Q1 Notes: svn path=/head/; revision=561570
* graphics/poppler: update to 21.01.0Tobias C. Berner2021-01-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 PR: 252377 Exp-run by: antoine Notes: svn path=/head/; revision=560727
* Add a missing build dependencyBaptiste Daroussin2020-12-281-1/+2
| | | | Notes: svn path=/head/; revision=559490
* pdfpc: update to 4.5.0Baptiste Daroussin2020-12-263-6/+8
| | | | Notes: svn path=/head/; revision=559295
* graphics/poppler: update to 20.12.0Tobias C. Berner2020-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: 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 PR: 251537 Exp-run by: antoine Notes: svn path=/head/; revision=557760
* Update to 4.4.1Baptiste Daroussin2020-11-202-4/+4
| | | | Notes: svn path=/head/; revision=555788
* graphics/poppler: update to 20.11.0Tobias C. Berner2020-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 20.11.0: core: * More work on rendering of standalone Annot Widgets. Issue #806 * Fix crashes in embedded file handling on broken files. Issue #967 * Fix uninitialized memory read on broken files * Save a bit of memory in Dict data cpp: * Fix crashes in embedded file handling on broken files. Issue #966 utils: * pdftohtml: HTML and XML output includes font opacity. qt5: * Rename ArthurOutputDev to QPainterOutputDev build system: * Fix linker error when gtk is not in a default location * Add some checks for gtk-doc support * Reorganize GObject introspection config * Enable CMAKE_LINK_DEPENDS_NO_SHARED PR: 250786 Exp-run by: antoine Notes: svn path=/head/; revision=554017
* graphics/poppler: update to 20.10.0Tobias C. Berner2020-10-111-1/+1
| | | | | | | | | | | | | | | | | Release 20.10.0: core: * Filter out repeated forms * Implement EmbedStream::reset() * CairoOutputDev: evict just font faces owned solely by cache. * Splash: Rename Yd to Ydown, Xu to Xup, etc. * Splash: fix crash in out-of-memory situation. * Fix some undefined behaviour situation with forged files PR: 250052 Exp-run by: antoine Notes: svn path=/head/; revision=552050
* graphics/poppler: update to 20.09.0Tobias C. Berner2020-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 20.09.0: core: * Compability fix for Forms * Fix fetching of Objects failing in some cases * Fix clearing date in Annot setModified/setDate * TextSelectionPainter: support glyphless fonts * Splash: Don't try read past end of image * avoid abort() on large memory allocation * Fix memory leak on broken files * Fix potential invalid memory read * Small code improvements qt5: * Document TextAnnotation::inplaceAlign * Make Annotation::setModification/CreationDate work on existing annots * Be a bit more stubborn converting dates that come from xml * Clean as many null characters from the end as possible when converting strings glib: * Add accessor functions for PopplerAttachment * Deprecate PopplerAttachment GTime fields * Deprecate PopplerDocument date properties utils: * pdftoppm: report error and exit if output file cannot be written * Document that PDF-file can be '-' to read it from stdin build system: * cmake: Modern way to link against libpng, zlib and libtiff * cmake: Remove stray support for lcms1 in pdftocairo PR: 249060 Exp-run by: antoine Notes: svn path=/head/; revision=548218
* Bump revisions of poppler consumers after r544863Tobias C. Berner2020-08-141-1/+1
| | | | Notes: svn path=/head/; revision=544866
* graphics/poppler: update to 0.90Tobias C. Berner2020-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 0.90.0: core: * Color profile tweaks * Small signature improvements * BBoxOutputDev: Fix calculation when type3 fonts are involved * Fix potential crash when reading Forms * Fix infinite loop in broken file glib: * Fix adding annots in rotated pages * Add ability to reset forms * Several fixes to the documentation qt5: * Make it clear we require Qt 5.5 * demo: Fix crash on broken files * Small documentation improvements utils: * pdftoppm: Add option to set display profile * pdftops: Add a -rasterize option with values always, never, or whenneeded build system: * Require cmake 3.5 * More modern cmake way to link against curl PR: 247736 Exp-run by: antoine Notes: svn path=/head/; revision=541311
* graphics/poppler: update to 0.89.0Tobias C. Berner2020-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Release 0.89.0: core: * Add support for ResetForm action. Issue #225 * Fix crash in PDFDoc::getSignatureFields when there's no Forms at all * Fix exporting to PS of some files with CID fonts * Use ICC profiles in PS output (if new enough lcms is used) * Allow almost-singular tiling pattern matrices. Issue #894 * Fix memory leak when failing to load some fonts * CairoOutputDev: Use stroke opacity when clipping to a stroke path * CairoOutputDev: Fix tiling patterns when pattern cell is too far. Issue #190 glib: * Add poppler_movie_get_aspect cpp: * Add the font infos to the text_box object Exp-run by: antoine PR: 246848 Notes: svn path=/head/; revision=537559
* graphics/poppler: update to 0.88.0Tobias C. Berner2020-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 0.88.0: core: * Support Widget Annotation Buttons not linked to any Form * SplashOuputDev: Use stroking opacity when clipping to a stroke path * Handle 1 bit RGB images in ICC colorspace * Internal code improvements qt5: * Add Document::signatures. Returns signatures not attached to any page * ArthurOutputDev: Fix font hinting * ArthurOutputDev: Set the opacity when filling with axial gradients * ArthurOutputDev: Implement the clipToStrokePath method * ArthurOutputDev: Use stroking opacity when clipping to a stroke path glib: * Add poppler_page_get_bounding_box * Add poppler_form_field_get_alternate_ui_name * Implement rotation for 'flagNoRotate' annots. Issue #767 cpp: * Add non_raw_non_physical layout for page::text() utils: * pdftohtml: Fix noRoundedCoordinates->noroundcoord in man page * pdfsig: Show also signatures that aren't attached to any page Notes: svn path=/head/; revision=533681
* graphics/poppler: update to 0.87.0Tobias C. Berner2020-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Release 0.87.0: core: * Fix crashes due to inconsistent vtables for Clang builds * Fix leak in broken files * Internal code improvements qt5: * Add option to get form choice for export value * ArthurOutputDev: Avoid division by zero in updateLineDash. Issue #695 glib: * Internal code improvements utils: * pdftohtml: Fix memory leak in HtmlOutputDev::getLinkDest PR: 245150 Exp-run by: antoine Notes: svn path=/head/; revision=530258
* Update poppler to 0.86.1Tobias C. Berner2020-03-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 0.86.1: core: * Fix regression in Browse Link handling * Internal code improvements Release 0.86.0: core: * Fix link content exfiltration attack * Splash: Implement gouraudTriangleShadedFill for some non parametrized shadings. Issue #881 * Fix case unsensitive search for Old Hungarian, Warang Citi, Medefaidrin and Adlam * Internal code improvements glib: * Automatic handle of page's cropbox on annots. Issue #129 * Fix memory leak if poppler_document_new_from_file fails * Minor speed optimization on poppler_page_get_annot_mapping utils: * pdfdetach: add 'savefile' option * pdftoppm/pdftocairo: Fix more odd/even mismatch qt5: * Fix loading from iodevice PR: 244827 Exp-run by: antoine Notes: svn path=/head/; revision=528853
* Update to 4.4.0Baptiste Daroussin2020-02-272-5/+4
| | | | Notes: svn path=/head/; revision=527246
* Bump revision of poppler dependenciesTobias C. Berner2020-02-031-1/+1
| | | | | | | - poppler was updated in r525051, bump revisions Notes: svn path=/head/; revision=525052
* graphics/poppler: update to 0.84.0Tobias C. Berner2020-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 0.84.0: core: * Fix crash when converting from Unicode to ASCII-7 * Splash::scaleImageYdXu: Protect against crash if srcWidth is too big * JBIG2Stream: fix potential crash in malformed documents * JBIG2Stream: fix leak in reset() if called several times * Internal code improvements utils: * pdfimages: Add error message if first page is larger then number of pages. * pdfinfo: Improved paper size recognition * pdfsig: Fix exit code when dumping signatures * pdftocairo: Error out when even/odd selects 0 pages * pdftohtml: Fix memory leak * pdftoppm: Add an option to scale before rotate * pdftoppm: Add -hide-annotations option * pdftoppm: Error out when even/odd selects 0 pages * pdftops: Improve -optimizecolorspace qt5: * Code cleanups glib: * Fix compiler warnings Release 0.83.0 core: * Improve when a file is recognized as Linearized * Improve const-ness of the code * Make code a bit more readable/maintanable * Fix uninitialized memory uses in broken files utils: * pdffonts: Make code a bit more readable/maintanable * pdftohtml: Make code a bit more readable/maintanable qt5: * Remove a bunch of unused internal functions * trUtf8 -> tr (less warnings) build system: * make-glib-api-docs: switch to python3 PR: 243433 Exp-run by: antoine Notes: svn path=/head/; revision=523824
* graphics/poppler: update to 0.82.0Tobias C. Berner2019-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Release 0.82.0: core: * Fix not being able to open some files. Issue #832 * Fix crashes in malformed files * Fix memory leak on broken files * Minor performance improvements * Minor code improvements glib: * Add poppler_document_new_from_bytes * PopplerAttachment: Silence deprecation warnings for ctime/mtime build system: * pdf-inspector: Support builddir != srcdir * Install Cairo* headers if Cairo has been found Thanks to adridg@ for fixing all the fallout. Exp-run by: antoine PR: 241532 Approved by: gnome (kwm, implicit) Notes: svn path=/head/; revision=516270
* graphics/poppler: update to 0.81.0Tobias C. Berner2019-09-291-1/+1
| | | | | | | | | | | | | | | | | Release 0.81.0: core: * Splash: Always enable support for CMYK rasterization * CairoOutputDev: Check scaled dimensions for 0. Issue #737 * BaseCryptStream: Fix potential uninitialized memory read * SplashBitmap: Fix wrong width condition for splashModeDeviceN8 * Fix crashes in malformed files PR: 240781 Exp-run by: antoine Approved by: gnome (kwm, implicit) Notes: svn path=/head/; revision=513196
* graphics/poppler: update to 0.80.0Tobias C. Berner2019-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 0.80.0: core: * Annotations: Implement support for setting a different text in the appearance stream than the real text * Splash: Optionally use small_vector from boost * Fix memory leaks on broken files * Fix abort on broken files * Small code simplifications * Remove USE_FIXEDPOINT support. Issue #821 qt5: * Fix MSVC build * Add subsitute-font information * Fix since marker of some functions * Fix leak when aborting text extraction * Small code simplifications glib: * Make print scaling getter visible * Make Duplex/NumCopies/PrintPageRange preference available in API * Implement Movie API utils: * pdftotext: Add -nodiag flag to remove diagonal text on output build system: * Mark external lib include dirs as SYSTEM PR: 240176 Exp-run by: antoine Approved by: gnome (kwm, implicit) Notes: svn path=/head/; revision=510739
* graphics/poppler: update to 0.79.0Tobias C. Berner2019-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Release 0.79.0: core: * Fix regression on TextSelectionPainter * Fix parsing of DefaultAppearance * Fix memory leak in PostScriptFunction * Fix crashes in fuzzed files qt5: * Implemented support for setIcon by changing appearance * Added option to set the form available to print * QString::null is deprecated, use QString() * Replace deprecated qStableSort with std::stable_sort build system: * Turn README into README.md and expand it PR: 239277 Exp-run by: antoine Approved by: gnome (kwm, implicit) Notes: svn path=/head/; revision=507740
* graphics/poppler: update to 0.78.0Tobias C. Berner2019-06-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release 0.78.0: core: * Fix line annotation arrows for usage in dimensioning * Handle Ink annots without an InkList but with an AP * Fix typos preventing parsing of Movie start and duration * Fix crash on malformed files glib: * Add poppler_document_create_dests_tree() * Don't use the deprecated g_type_class_add_private() * Document the differences between render() and render_for_printing() * Fix introspection for poppler_document_new_from_data * Don't create PopplerInputStream with length 0. Issue #414 * Document G_IO_ERROR as a possible error condition * docs: Add index for API new in 0.78 build system: * Fixes cross compilation of gir in Void Linux * Add -Wshadow to the default warning flags * install pkg-config pc files if pkg-config is found PR: 238857 Exp-run by: antoine Approved by: gnome (kwm, implicit) Notes: svn path=/head/; revision=505331
* Update to 4.3.4Baptiste Daroussin2019-06-212-5/+4
| | | | Notes: svn path=/head/; revision=504797
* graphics/poppler: update to 0.77.0Tobias C. Berner2019-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Release 0.77.0: core: * Fix crash on signature handling. Issue #766 * Fix small memory leak in SignatureHandler::getCertificateInfo * Splash: Restrict filling of overlapping boxes. Issue #750 * Fix crash on malformed files qt5: * Fix optional content handling with exclusive layers cpp: * Make render_page thread-safe utils: * pdfsig: Fix small memory leak * pdftotext: Fix typo in manpage PR: 238115 Exp-run by: antoine Approved by: gnome (kwm, implicit) Notes: svn path=/head/; revision=503222
* graphics/pdfpc: Spell LICENSE_FILE correctlyTobias Kortkamp2019-05-311-1/+1
| | | | Notes: svn path=/head/; revision=503156
* graphics/poppler: update to 0.76.1Tobias C. Berner2019-05-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From Changelog at https://poppler.freedesktop.org/releases.html : Release 0.76.1: core: * Make the mul tables be calculated at compile time with constexpr. * splash: Fix compile with SPLASH_CMYK enabled * Some typo fixing in error messages qt5: * Fix regression in annotation handling build system: * Fix some typos in build system output and comments Release 0.76.0: core: * Fix regression on case-insensitive search. Issue #743 * Remove GooList, use std::vector instead * Fix radiobutton reporting wrong state. Issue #159 * Handle UTF16-LE strings * Don't error out if there's no DA in FreeText annotation * cairo: Compute correct coverage values for box filter. * cairo: Constrain number of cycles in rescale filter. * Read more fields from ViewerPreferences * Introduce and use Ref::INVALID * Fix crashes in broken files * Fix mismatched free/delete * Add missing include guards utils: * pdftohtml: Properly initialize HtmlOutputDev::page to avoid SIGSEGV upon error exit. Issue #742 All the required patches have been obtained via gentoo. PR: 237846 Exp-run by: antoine Approved by: kwm Notes: svn path=/head/; revision=501583
* Update to 4.3.2Baptiste Daroussin2019-02-052-4/+4
| | | | Notes: svn path=/head/; revision=492197
* Update to 4.3.1_0Baptiste Daroussin2019-01-212-4/+4
| | | | Notes: svn path=/head/; revision=490841
* Update to 4.3.0Baptiste Daroussin2018-12-203-4/+5
| | | | Notes: svn path=/head/; revision=487894
* Update to 4.2.1Baptiste Daroussin2018-10-153-4/+7
| | | | Notes: svn path=/head/; revision=482138
* Update to 4.1.2Baptiste Daroussin2018-05-082-5/+5
| | | | | | | While here remove pathfix which has now become useless Notes: svn path=/head/; revision=469365
* Update to 4.1.1Baptiste Daroussin2018-05-033-30/+4
| | | | Notes: svn path=/head/; revision=468915
* - Fix plistDmitry Marakasov2018-02-142-0/+6
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=461836
* Update to v4.1Baptiste Daroussin2017-10-303-4/+29
| | | | Notes: svn path=/head/; revision=453176
* Update to 4.0.8-2Baptiste Daroussin2017-09-262-5/+4
| | | | Notes: svn path=/head/; revision=450649
* Add missed PORTREVISION bumps after recent poppler updateSteve Wills2017-08-241-0/+1
| | | | Notes: svn path=/head/; revision=448690
* Update to 4.0.7Baptiste Daroussin2017-06-263-4/+6
| | | | Notes: svn path=/head/; revision=444369
* Update to 4.0.6Baptiste Daroussin2017-02-203-5/+6
| | | | Notes: svn path=/head/; revision=434439
* Update to 4.0.5Baptiste Daroussin2017-02-112-5/+8
| | | | | | | | | Take maintainership Approved by: kwm (former maintainer) Notes: svn path=/head/; revision=433913
* Chase update of graphics/poppler (and slaves ports) in revision r430777Olivier Duchateau2017-01-071-1/+1
| | | | Notes: svn path=/head/; revision=430778
* Chase update of Poppler after revision r421386Olivier Duchateau2016-09-051-0/+1
| | | | Notes: svn path=/head/; revision=421390
* Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.Mathieu Arnold2016-04-011-3/+3
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412346
* Add pdfpc.Koop Mast2016-03-254-0/+46
pdfpc is a GTK based presentation viewer application which uses Keynote like multi-monitor output to provide meta information to the speaker during the presentation. It is able to show a normal presentation window on one screen, while showing a more sophisticated overview on the other one providing information like a picture of the next slide, as well as the left over time till the end of the presentation. The input files processed by pdfpc are PDF documents, which can be created using nearly any of today's presentation software. Notes: svn path=/head/; revision=411826