Skip to content
Snippets Groups Projects
  1. May 27, 2020
  2. May 26, 2020
  3. May 23, 2020
  4. May 21, 2020
  5. May 19, 2020
  6. May 18, 2020
    • 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
  7. May 17, 2020
    • 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
  8. May 13, 2020
  9. May 12, 2020
  10. May 11, 2020
  11. May 09, 2020
  12. May 02, 2020
    • Oliver Sander's avatar
      Allow almost-singular tiling pattern matrices · 2c17c9ed
      Oliver Sander authored
      Issue poppler/poppler#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: poppler/poppler#894
      2c17c9ed
  13. Apr 27, 2020
  14. Apr 25, 2020
    • 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
  15. Apr 23, 2020
    • 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
Loading