1. 23 May, 2020 5 commits
  2. 21 May, 2020 5 commits
  3. 19 May, 2020 13 commits
  4. 18 May, 2020 1 commit
    • Marek Kasik's avatar
      Add support for ResetForm action · 0582ea96
      Marek Kasik authored
      Add ability to reset FormField class, its descendants and Form class. This takes hierarchy into account so that resetting a field resets also its children. If exclude flag is specified then all fields are reset except those which are listed in Fields key.
      
      FormFieldText set DV key as its V key if DV is available. Otherwise, it just removes the V key.
      
      FormFieldChoice unselect selected items and set the default ones if specified.
      
      FormFieldButton set default apearance state if it is available, otherwise it just removes V key (and set the state to "Off" if it is check button, which is what Adobe Reader does in this situation).
      
      FormFieldSignature is not reset.
      
      Add LinkResetForm class which stores information needed for resetting of fields of forms.
      
      Issue #225
      0582ea96
  5. 17 May, 2020 1 commit
    • Albert Astals Cid's avatar
      Read CIDToGIDMap for all GfxCIDFont fonts · 62727d01
      Albert Astals Cid authored
      Also revert my old hack to fix rendering of bug-poppler20605.pdf since
      that was breaking the PS export.
      
      What my old hack did was force the font type to be one of those that
      read the CIDToGIDMap, what the new fix does is actually just read the
      CIDToGIDMap for all fonts
      62727d01
  6. 13 May, 2020 2 commits
  7. 12 May, 2020 1 commit
    • Marek Kasik's avatar
      cairo: Fix tiling patterns when pattern cell is too far · 9c3b18b8
      Marek Kasik authored
      Rendering of tiling pattern which has pattern matrix moving pattern cell
      far away can fail on allocation of memory. This commit solves the issue by
      modifying of cairo pattern matrix so that its offset is closer to the path
      filled by the pattern.
      
      Fixes #190
      9c3b18b8
  8. 11 May, 2020 4 commits
  9. 09 May, 2020 1 commit
  10. 02 May, 2020 1 commit
    • Oliver Sander's avatar
      Allow almost-singular tiling pattern matrices · 2c17c9ed
      Oliver Sander authored
      Issue #894
      sports a file with a diagonal tiling pattern matrices with
      diagonal entries in the range of 5e-4.  While entries of this
      size are unusual but okay, the determinant is below the rather
      arbitrary threshold of 1e-6.  Therefore, poppler decided that
      the matrix is singular and aborts the rendering.
      
      Fix this by really only aborting if inverting the determinant
      (which is the first thing that is being done with it) results
      in a non-finite number.
      
      As a side effect the code now also allows pattern matrices
      with a negative determinant.  This does not seem to appear
      in the wild all that often, but I didn't find anything
      in the spec that rules it out.
      
      BUG: #894
      2c17c9ed
  11. 27 Apr, 2020 1 commit
  12. 25 Apr, 2020 1 commit
    • Nelson Benítez León's avatar
      glib: implement rotation for 'flagNoRotate' annots · b7aed3eb
      Nelson Benítez León authored
      previously poppler_page_get_annot_mapping() function
      was ignoring to rotate annots flagged as 'flagNoRotate'
      probably because they require a special rotation where
      the annotation pivots on the upper left corner, as
      described in PDF 1.7 spec "8.4.2 Annotation Flags"
      NoRotate flag.
      
      Added support for that, while refactoring the code to
      make it more readable.
      
      Fixes #767
      b7aed3eb
  13. 23 Apr, 2020 3 commits
    • Albert Astals Cid's avatar
      Update (C) year · 33f34557
      Albert Astals Cid authored
      33f34557
    • Albert Astals Cid's avatar
      qt5: Add Document::signatures · 12eeb475
      Albert Astals Cid authored
      Returns all the signatures of a given document, this is better
      than iterating over all the pages getting the form fields that
      are of signature type since there's documents with signatures not
      associated to a given page
      
      Fixes part of #895
      12eeb475
    • Albert Astals Cid's avatar
      pdfsig: Show also signatures that aren't attached to any page · ba311960
      Albert Astals Cid authored
      Move two methods from FormWidgetSignature to FormFieldSignature where
      they actually belong
      
      Rename PDFDoc::getSignatureWidgets to getSignatureFields, making it go
      through the FormsFields instead of the Page FormWidgets
      
      Remove the gotos from pdfsig code
      
      Add a few const here and there
      
      Fixes part of #895
      ba311960
  14. 21 Apr, 2020 1 commit