- 27 Nov, 2020 11 commits
-
-
Ceyhun Alp authored
-
Ceyhun Alp authored
-
Ceyhun Alp authored
... replace c with cc - glib missing includes
-
Ceyhun Alp authored
-
Ceyhun Alp authored
-
Ceyhun Alp authored
-
Ceyhun Alp authored
-
Ceyhun Alp authored
-
Ceyhun Alp authored
-
Ceyhun Alp authored
-
Albert Astals Cid authored
oss-fuzz/27915
-
- 25 Nov, 2020 2 commits
-
-
Albert Astals Cid authored
-
Albert Astals Cid authored
Fixes issue #997
-
- 24 Nov, 2020 2 commits
-
-
Albert Astals Cid authored
Adobe Reader seems to be particularly strict about this
-
Albert Astals Cid authored
Issue #993
-
- 22 Nov, 2020 1 commit
-
-
Albert Astals Cid authored
After playing hand editing files and opening them in Adobe Reader i *think* the condition is "if the appearance stream has a ExtGState in its Resources dict, then use the appearance stream, otherwise draw it ourselves
-
- 20 Nov, 2020 1 commit
-
-
Albert Astals Cid authored
StreamPredictor::getNextLine when predictori == 2 && nBits == 1 && nComps == 1 Issue #976 Issue #567
-
- 19 Nov, 2020 1 commit
-
-
Albert Astals Cid authored
oss-fuzz/27619
-
- 18 Nov, 2020 1 commit
-
-
Albert Astals Cid authored
-
- 17 Nov, 2020 1 commit
-
-
Oliver Sander authored
When handling annotations without appearance stream, the behavior of poppler deviated from what the pdf spec says: Poppler would only take the boundary width from a border style (BS) dictionary if the 'style (S)' field was also present, even though the spec clearly says that both are optional, and does not mention one depending on the other. This behavior was deliberate, because apparently Acroread 8 did it that way. See the comment by Jeff Muizelaar in 28967940. But it seems that Acroread behavior has changed, newer versions do take the 'width' field into account even when there is no 'style (S)' field. The Chromium pdf renderer does the same. So let's change the code back to following the spec rather than an old version of Acroread. BUG: 988
-
- 16 Nov, 2020 1 commit
-
-
Albert Astals Cid authored
-
- 15 Nov, 2020 7 commits
-
-
Tobias Deiminger authored
If a line segment goes beyond the current clip region, Splash::strokeNarrow tries to cut off the segment line to the intersection of the segment line with the clip border. Therefore it has to calculate a new endpoint (=intersection point) of the segment. It does this by using the known segment slope dxdy. Required information (segment start, segment slope, clip border) is known in double precision. However the calculation used the integerized clip border, which necessarily suffers from rounding errors. This error can become very visible when we have a high dxdy (i.e, a flat-angle line). Use SplashClip::getYMin and SplashClip::getYMax instead of getYMinI and getYMaxI, and we get visibly correct results. Fixes #990.
-
Albert Astals Cid authored
On some broken files m is 0 so every time we call SampledFunction::transform we just return cachedOut, but it was never initialized. We can solve it other ways but seems seems the least expensive
-
Albert Astals Cid authored
Doesn't seem to regress any of the valid files i have and saves some very small looping for hours
-
Albert Astals Cid authored
-
Albert Astals Cid authored
Simplifies having to remember to add the delete on all those error cases
-
Albert Astals Cid authored
Code looks better now
-
Albert Astals Cid authored
i.e. if the font name is DDPJAD+Times-Roman look for a replacement of Times-Roman Fixes issue #972
-
- 14 Nov, 2020 7 commits
-
-
Albert Astals Cid authored
-
Tobias Deiminger authored
Because PDF spec has no built in circle operator, we can only approximate a circle by joining cubic bezier curve segments. We already did good approximation for line endings and radio buttons by setting distance of bezier control point to (4 * (sqrt(2) - 1) / 3) * r. But the older AnnotGeometry::draw code for subtype circle still used an equivalent of 0.5 * r, which yields a visibly non-circular circle. Fix it by using the bezierCircle define for AnnotGeometry too. Does minor refactoring by introducing AnnotAppearanceBuilder::drawEllipse, and forwarding drawCircle to it. typeSquare code is slightly touched as a consequence, but remains functionally unchanged. Also changes 'S' (stroke path) to 's' (close and stroke path). To my understanding 'close and stroke' is the correct thing to do here, it's in line with drawCircle and the original commit 6c4fa513 didn't explain why it left the path open by using 'S'. Fixes #989.
-
Kyle Auble authored
poppler_add_unittest was only used 3 times & effectively differed from poppler_add_test by just a CMake add_test call.
-
Kyle Auble authored
-
Kyle Auble authored
Only used once to check pkgconfig >= 0.18 (released in 2005 at latest).
-
Kyle Auble authored
Only used once & no longer needed; CMake configure_file converts True/False to def/undef transparently now.
-
Albert Astals Cid authored
They are valid C++ but it's not what this project uses, it's a matter of uniformity (same reason we have clang-format for example)
-
- 11 Nov, 2020 1 commit
-
-
Albert Astals Cid authored
oss-fuzz/19177
-
- 02 Nov, 2020 3 commits
-
-
Albert Astals Cid authored
-
Albert Astals Cid authored
Issue #979
-
Albert Astals Cid authored
It's were it makes sense, not as part of GlobalParams that we're sloooooooooowly trying to get rid of
-
- 01 Nov, 2020 1 commit
-
-
Philipp Knechtges authored
-