Console View
|
|
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Nicolas Fella
nicolas.fella @kdab.com |
|
||
Fix text position in drawSignatureFieldText When centering vertically we calculate the y offset based on the height of the text and the annotation When doing that we must ignore the border width, otherwise the text is offset downwards |
|||
Nicolas Fella
nicolas.fella @kdab.com |
|
||
Take border into account also for height when determining signature font size The border reduces the available height, so take it into account for the height too, not only the width |
|||
Stefan Brüns
stefan.bruens @rwth-aachen.de |
|
||
Fix Qt text extraction for Landscape/Seascape pages TextOutputDev::getText expects rotated coordinates, e.g. the correct bounds for an A4 Landscape page are {0, 0, 842, 595}. |
|||
Stefan Brüns
stefan.bruens @rwth-aachen.de |
|
||
Cover Landscape etc in Qt Page::text tests Currently, the "Lanscape" with default page rectangle test fails, as the page orientation is not taken into account. (Seascape is also incorrect, but as the text lies inside the unrotated A4 cropbox rectangle (bottom left), the text is extracted.) |
|||
Stefan Brüns
stefan.bruens @rwth-aachen.de |
|
||
Extend unit tests for Qt Page::text functionality The unit tests only covered extraction from the whole page, make sure the various cases for smaller selections are also covered. |
|||
Nelson Benítez León
nbenitezl @gmail.com |
|
||
Assume "Adobe-Identity" for character collection When 'CIDSystemInfo' dictionary is absent or has invalid content, instead of aborting the font because we cannot read the character collection, let's assume in that case character collection to be "Adobe-Identity". Fixes #1465 - Does not show text of Apple-edited PDFs |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Oliver Sander
oliver.sander @tu-dresden.de |
|
||
Remove method GooString::clear Use std::string::clear instead. The only difference between the two is that GooString::clear returns the empty string, whereas std::string::clear does not. But apparently this feature of GooString::clear was not used anywhere. |
|||
Oliver Sander
oliver.sander @tu-dresden.de |
|
||
Remove GooString::startsWith and GooString::endsWith Starting with C++20, the std::string class has methods starts_with and ends_with, which do the same thing. Use those instead. |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Albert Astals Cid
aacid @kde.org |
|
||
pdfdetach: find -> starts_with | |||
LinuxUserGD
hugegameartgd @gmail.com |
|
||
Change type to `std::basic_string<char16_t>` Deprecated `char_traits` template has been removed in LLVM 19 | |||
Stefan Brüns
stefan.bruens @rwth-aachen.de |
|
||
Regenerate pot/po files only if input has changed A custom target with ALL is always generated, even if the files/outputs specified with DPENDS are not changed. This can be solved by generating the POT files with a custom_command. The target triggers evaluation of the custom_command, but the latter will only be run if the dependencies have changed. Fixes #1479 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
poppler 24.04.0 | |||
Nelson Benítez León
nbenitezl @gmail.com |
|
||
reset clipping path when the state is restored According to the specification, see NOTE 2 in https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#G7.3882161 it appears that the clipping path should be reset when the restore (Q) operator is encountered. Fixes #739 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
CI: Update the hack to change c++ standard to 23 in the clang build | |||
Albert Astals Cid
aacid @kde.org |
|
||
Require C++20 I want to use std::string::starts_with |
|||
Albert Astals Cid
aacid @kde.org |
|
||
CI: Use Fedora for clazy, it's newer and built against a newer clang | |||
Albert Astals Cid
aacid @kde.org |
|
||
qt: Include less files | |||
Albert Astals Cid
aacid @kde.org |
|
||
CI: Use fedora 40 | |||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Stefan Brüns
stefan.bruens @rwth-aachen.de |
|
||
Reduce worst case algorithmic complexity of TextBlock::coalesce The old algorithm restarts the inner loop for the RHS word from the beginning on each match, i.e. the worst case complexity approaches O(N^3), while O(N^2) is obviously sufficient for a pairwise compare of all words. Fortunately, O(N^2) is hardly ever happening, as the inner N is limited by a) the maxBaseIdx, b) removing duplicates from the set. For some pathological cases this changes the runtime from minutes to seconds. See poppler#1173. |
|||
Stefan Brüns
stefan.bruens @rwth-aachen.de |
|
||
Reduce TextWord space and allocation overhead Currently, the word characters are allocated as a struct of arrays, e.g. text and charcode are allocated separately. This causes some space (6 pointers, 6 malloc chunk management words (size_t/flags), alignment, ...) and runtime overhead (6 allocs/ frees per word). Changing this to an array of struct reduces this overhead. It also allows to be more conservative with allocations, as resizing is less costly, i.e. starting with a single character allocation instead of 16. It is also more efficient, as most accesses affect multiple or all attributes, i.e. values in the same or neighboring CPU cache lines. Using a std::vector instead of separate raw arrays also reduces code and manual data management. The "charPos end index" and trailing "edge" attributes are no longer stored as an additional entry entry in the array, but as dedicated data members, `charPosEnd` and `edgeEnd`. The memory saving is most notably for short words, but even for words with 16 characters there are small savings, and still less allocations (1 + 4 allocations instead of 6. Growing is fairly cheap, as the CharInfo struct is trivially copyable.) See poppler#1173. |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Fix clang-tidy-17 "unnecessary temporary object created while calling emplace_back" Says modernize-use-emplace No need to pass the c, we will set it later so we can just use the default constructed CharCodeToUnicodeString |
|||
Nelson Benítez León
nbenitezl @gmail.com |
|
||
Fix text search across lines between paragraphs This commit fixes the "across lines" text search feature of TextPage::findText() when the match happens from the last line of a paragraph to the first line of next paragraph. Includes tests for this bug. Fixes #1475 Fixes https://gitlab.gnome.org/GNOME/evince/-/issues/2001 |
|||
Nelson Benítez León
nbenitezl @gmail.com |
|
||
Fix regression on issue #157 Redo the fix for issue #157 which is about doing transparent selection for glyphless documents (eg. tesseract scanned documents) because it stopped working after commit 29f32a47 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Albert Astals Cid
aacid @kde.org |
|
||
qt6: Fix crash in SoundObject::data | |||
Albert Astals Cid
aacid @kde.org |
|
||
Revert "CI: Switch debian to testing" This reverts commit 9c2cf5608a21b6fb9be4e0c7918d13cd2b652c23. |
|||
Josep M. Ferrer
txemaq @gmail.com |
|
||
pdfsig: Catalan translation | |||
Albert Astals Cid
aacid @kde.org |
|
||
CI: Switch debian to testing unstable is broken at the moment |
|||
Albert Astals Cid
aacid @kde.org |
|
||
poppler 24.03.0 | |||
Albert Astals Cid
aacid @kde.org |
|
||
Fix srcdir=builddir build cmake will create folders which so we need to ignore those |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Fix translations on non glibc platforms | |||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Nelson Benítez León
nbenitezl @gmail.com |
|
||
Fix regression on encrypted files being repaired Some encrypted files which need repairing (see links below) failed to open due to a regression introduced in commit b3e86dbdba where an 'if condition' was added that's hit by encrypted files which need repairing. The removal of this 'if condition' does not affect the original buggy file that commit b3e86dbdba targeted[1]. This commit also adds Qt5 and Qt6 tests for opening an encrypted pdf file affected by this issue. Fixes #1447 Fixes https://gitlab.gnome.org/GNOME/evince/-/issues/1889 Regression issue: https://bugs.freedesktop.org/show_bug.cgi?id=14303 [1] which can be found in this duplicate: https://bugs.freedesktop.org/show_bug.cgi?id=14399 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Even Rouault
even.rouault @spatialys.com |
|
||
Gfx::doImage(): avoid integer overflow if width * height > INT_MAX Related to https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66523 |
|||
Even Rouault
even.rouault @spatialys.com |
|
||
SplashOutputDev::drawImageMask(): early break if getLine() fails Related to https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66523 |
|||