Console View
|
|
|
|||
| 0fc7ab83b1a1... |
Albert Astals Cid
aacid@kde.org |
|
|
| Move the int must be 32 bits to a more central location | |||
| 5f17b5861216... |
Albert Astals Cid
aacid@kde.org |
|
|
| Fix integer overflow in PSStack::index | |||
| 3b7e9e8976ef... |
Tonu Samuel
tonu@spam.ee |
|
|
|
Add a PNG compression option to pdftoppm Pass the compression level through SplashBitmap::WriteImgParams for both filename and stdout output. Keep level 9 as the default. |
|||
| 01367a804972... |
Albert Astals Cid
aacid@kde.org |
|
|
| Splash::drawImage: Narrow variable scope and add const | |||
| b3ab615b5b8b... |
Albert Astals Cid
aacid@kde.org |
|
|
| Avoid integer overflow in Splash::drawImage | |||
| 4b6676d5b294... |
Albert Astals Cid
aacid@kde.org |
|
|
| Splash::arbitraryTransformMask: Narrow variable scope and add const | |||
| dd6277e47d59... |
Albert Astals Cid
aacid@kde.org |
|
|
| Avoid integer overflow in Splash::arbitraryTransformMask | |||
| 945a0e570623... |
Albert Astals Cid
aacid@kde.org |
|
|
| Splash::fillImageMask: More const in variables | |||
| 231cc13694e4... |
Albert Astals Cid
aacid@kde.org |
|
|
| Splash::fillImageMask: Protect against integer overflow | |||
| 7d585b37abaa... |
Albert Astals Cid
aacid@kde.org |
|
|
| Splash::fillImageMask: Narrow variable scope | |||
| d82831513d10... |
Nicolas Fella
nicolas.fella@gmx.de |
|
|
|
Work around syntactially invalid font names / is a special character in PDF, when using it in names it needs to be escaped as #2f. Therefore, if a document wants to use /Helvetica as the font name it can't be written as //Helvetica, it needs to be /#2fHelvetica. The document in https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1529 does this correctly in the font dictionary. However when doing the draw operations it fails to do that and has something like //Helvetica 12 Tf Poppler then parses this as opSetFont(/, /Helvetica, 12), instead of the intended opSetFont(//Helvetica, 12). This results in lookupFont("Helvetica") instead of lookupFont("/Helvetica"), which results in the font not being found and the text not being rendered. To work around this, check for this specific case and fix it up before running opSetFont Fixes: https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1529 Original patch from: Nelson Benítez León <nbenitezl@gmail.com> |
|||
| 84ccada05c81... |
Marek Kasik
mkasik@redhat.com |
|
|
|
Qt: Check QImage allocation in QPainterOutputDev A crash can occur if allocation of Qimage in QPainterOutputDev::drawImageMask(), QPainterOutputDev::drawImage() or QPainterOutputDev::drawSoftMaskedImage() fails. Avoid the crash by checking allocation success. This happens in both Qt5 and Qt6 frontends. This issue has been found by AISLE in partnership with Red Hat. |
|||
| 9182fd5dab99... |
Albert Astals Cid
aacid@kde.org |
|
|
| Use proper C++20 likely/unlikely | |||
| 835bcfe346ee... |
Albert Astals Cid
aacid@kde.org |
|
|
| Avoid signed integer overflow in PostScriptFunction::exec psOpSub | |||
| 5c95e5f719a3... |
Albert Astals Cid
aacid@kde.org |
|
|
| Avoid shift-exponent undefined behavior in PostScriptFunction::exec psOpBitshift | |||
| e71d35cbbd1e... |
Albert Astals Cid
aacid@kde.org |
|
|
| Move variable definitions where used in PostScriptFunction::exec | |||
| f3d12745af40... |
Albert Astals Cid
aacid@kde.org |
|
|
| Avoid signed integer overflow in PostScriptFunction::exec psOpAb | |||
| f58dcd84d102... |
Albert Astals Cid
aacid@kde.org |
|
|
| Avoid signed integer overflow in PostScriptFunction::exec psOpNeg | |||
| e378ebb06f11... |
Tõnu Samuel
tonusamuel@icloud.com |
|
|
| Speed up FlateStream bulk reads | |||
| d50f45b6d9ae... |
Tõnu Samuel
tonusamuel@icloud.com |
|
|
| Speed up repeated bytes in FlateStream | |||
| 0ca5d674c90d... |
Jan-Joost Spanjers
oss@hiberis.nl |
|
|
|
Fix acute accents in manual pages The sequence \' renders as an acute accent, which is incorrect here. For a single opening quote the correct sequence is \(aq or \(oq. This patch replaces opening and closing quotes by \(aq for command line options and by the \(oq,\(cq pair otherwise. The '-' in command line options is replaced by '\-' so it renders a hyphen-minus which is safe for copy/paste actions. Instead of using the code/jargon 'stdin' and 'stdout', it is spelled out as 'standard input' and 'standard output'. |
|||
| d27c83dd464d... |
Sune Vuorela
sune@vuorela.dk |
|
|
|
pdftotext: printInfoString keep within bounds If we have a string with BOM and is of a odd length, don't process it. Should fix #1846 |
|||
| 5fc55480fc4c... |
Jan-Joost Spanjers
oss@hiberis.nl |
|
|
|
Silence clang pragma warning on gcc Fixes: ``` poppler/glib/poppler-annot.cc:185: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas] 185 | #pragma clang diagnostic push poppler/glib/poppler-annot.cc:206: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas] 206 | #pragma clang diagnostic pop ``` |
|||
| 3bbac7f80004... |
Jan-Joost Spanjers
oss@hiberis.nl |
|
|
| Fix typo in manual page | |||
| 55bc2203e8fc... |
William Bader
william@newspapersystems.com |
|
|
|
Skip Gouraud sub-triangles that lie outside the clip gouraudFillTriangle() subdivides each triangle of a type 4 or 5 shading up to six levels deep and emits every piece, even when the clip, such as a glyph outline, covers only a small part of the shading. Get the user space clip bbox once per shading and return early from both gouraudFillTriangle() overloads when a triangle's bbox lies entirely outside it, at every depth. Only the triangles that cannot be seen are dropped, so output changes only for shadings that extend beyond the clip. Best of 1, against master: pdftops -level2 type3-d0-d1-all-20oct26.pdf out.ps 143 s -> 2.9 s (49x), output 6.9 GB -> 79 MB |
|||
|
|||
| c650d043bcf7... |
Albert Astals Cid
aacid@kde.org |
|
|
| Increase version so people that track master can add ifdefs on version | |||
| 82301134e41c... |
Albert Astals Cid
aacid@kde.org |
|
|
| poppler 26.11.0 | |||
| 9936e1acc1f3... |
Albert Astals Cid
aacid@kde.org |
|
|
| pdfsig: Allow the user typing the password interactively | |||
| a5f33f40726c... |
Albert Astals Cid
aacid@kde.org |
|
|
| Update (C) | |||
| a5574bd602f7... |
Marek Kasik
mkasik@redhat.com |
|
|
|
glib: Avoid crash on malformed Order array Handling of String item in get_optional_content_items_sorted() dereferences last_item variable which can be nullptr. Create a placeholder layer in such case to avoid crash. This issue has been found by AISLE in partnership with Red Hat. |
|||
| 83d00ce92a39... |
Albert Astals Cid
aacid@kde.org |
|
|
| CMap::addCIDs: Fix overflow when end is at the end of the uint range | |||
| 2bc385c11578... |
Sune Vuorela
sune@vuorela.dk |
|
|
| Fix subsetting annotations with multiline content | |||
| 4d5f881faa8d... |
John Cater
katre@henchmonkey.org |
|
|
| Include cstdlib for getenv | |||
| e2df1cb9d6d9... |
Albert Astals Cid
aacid@kde.org |
|
|
| Remove unused Text*::findCharRange functions | |||
| cd963881e6ab... |
William Bader
william@newspapersystems.com |
|
|
|
Splash: Shade without antialiasing when there is no AA buffer univariateShadedFill() and functionShadedFill() turn on vector antialiasing for the shaded fill. When the Splash was created without antialiasing, as the one PSOutputDev uses to rasterize pages at -level1 or with -rasterize always, there is no aaBuf, so Splash::shadedFill() fails and Gfx falls back to filling the axial, radial or function shading as many small paths. Enable antialiasing only when the Splash has an aaBuf, via a new Splash::hasAABuf(). The rasterized pixels change slightly. Compared with Ghostscript rendering the PDF, the changed corpus pages are better or equal more often than worse, and the differences are not visible. Best of 3 (best of 1 for okular-slow-page), interleaved against master: pdftops -level1 okular-slow-page-8may23.pdf out.ps 14.9 s -> 0.47 s (32x) pdftops -level1 type3-d0-d1-all-20oct26.pdf out.ps 22.2 s -> 20.1 s (1.11x) |
|||
| ccb8fc10528d... |
Albert Astals Cid
aacid@kde.org |
|
|
| Fix overflow when adding two integers with psOpAdd | |||
| ad5f268c3519... |
Albert Astals Cid
aacid@kde.org |
|
|
|
Fix crash on broken files Dividing the minimum possible integer value (INT_MIN) by -1 is a floating point exception on runtime |
|||
| 3924f2bff456... |
Albert Astals Cid
aacid@kde.org |
|
|
| Fix infinite loop in broken files | |||
| d8d0bc5bb4a7... |
Albert Astals Cid
aacid@kde.org |
|
|
| Update (C) | |||
| fb198a878dac... |
Marek Kasik
mkasik@redhat.com |
|
|
|
qt: Initialize font pointers in QPainterOutputDev updateFont() can return without assigning m_rawFont, leaving it uninitialized. drawChar() can then read and dereference this pointer, leading to undefined behaviour. Initialize m_rawFont and m_currentType3Font to nullptr and guard their dereferences in updateFont() and drawChar(). This happens in both Qt5 and Qt6 frontends. This issue has been found by AISLE in partnership with Red Hat. |
|||