1. 27 Feb, 2020 2 commits
    • Albert Astals Cid's avatar
      Update (C) of last commit · bad6503c
      Albert Astals Cid authored
      bad6503c
    • Albert Astals Cid's avatar
      Implement Splash::gouraudTriangleShadedFill for non parametrized shadings · 68af136f
      Albert Astals Cid authored
      Fixes #881
      
      Unfortunately only implemented for shadings where the 3 vertices of the
      triangle have the same color for now since i got lost trying to
      implement the coloring (and also have no pdf to check against)
      
      The reason this fixes #881 is because if Splash::gouraudTriangleShadedFill
      returns false because it doesn't natively support this shading, the
      default rendering algorithm of Gfx.cc kicks in, and that rendering what
      does is render different triangles without them knowing they belong to
      the same shading, meaning that if you have some opacity the edges of the
      triangles will overlap and and up having different color than the one
      you really wanted
      68af136f
  2. 26 Feb, 2020 4 commits
  3. 25 Feb, 2020 1 commit
  4. 23 Feb, 2020 13 commits
  5. 22 Feb, 2020 4 commits
  6. 20 Feb, 2020 3 commits
  7. 17 Feb, 2020 1 commit
  8. 15 Feb, 2020 2 commits
  9. 11 Feb, 2020 3 commits
  10. 10 Feb, 2020 2 commits
    • Nelson Benítez León's avatar
      poppler-page: minor optimization · d27cf873
      Nelson Benítez León authored
      on poppler_page_get_annot_mapping().
      Let's retrieve the cropbox just once,
      on the outside of the _for_ loop.
      d27cf873
    • Nelson Benítez León's avatar
      glib: automatic handle of page's cropbox on annots · f5ff2578
      Nelson Benítez León authored
      Core poppler annot (Annot.cc) has cropbox offsets included
      in the coordinates of the relevant fields (rect and
      quadrilaterals fields).
      
      This commit makes poppler-glib API _not_ include cropbox
      offsets when providing annot info to clients (by substracting
      cropbox offsets from the read core Annot info) and in the same
      way, assumes no cropbox offsets are included in the info
      received from clients to create new annots (cropbox offsets will
      be automatically added to the corresponding core poppler Annot).
      
      As a result of this, existent clients (like Evince) now automatically
      work right for annotations placed in pages that have a cropbox.
      
      Poppler issue: poppler/poppler#129
      Evince issue: https://gitlab.gnome.org/GNOME/evince/issues/1280
      f5ff2578
  11. 05 Feb, 2020 1 commit
  12. 30 Jan, 2020 1 commit
  13. 29 Jan, 2020 1 commit
  14. 28 Jan, 2020 2 commits