Skip to content

v0.11.3

Latest
Compare
Choose a tag to compare
@jsvine jsvine released this 07 Aug 20:34
· 2 commits to stable since this release

Added

Changed

  • Change default setting pdfplumber.repair(...) passes to Ghostscript's -dPDFSETTINGS parameter, from prepress to default, and make that setting modifiable via .repair(setting=...), where the value is one of "default", "prepress", "printer", or "ebook" (h/t @Laubeee). (#874 + 48cab3f)

Fixed

  • Fix handling of object coordinates when mediabox does not begin at (0,0) (h/t @wodny). (#1181 + 9025c3f + 046bd87)
  • Fix error on getting .annots/.hyperlinks from CroppedPage (due to missing .rotation and .initial_doctop attributes) (h/t @Safrone). (#1171 + e5737d2)
  • Fix problem where Page.crop(...) was not cropping .annots/.hyperlinks (h/t @Safrone). (#1171 + 22494e8)
  • Fix calculation of coordinates for .annots on CroppedPages. (0bbb340 + b16acc3)
  • Dereference structure element attributes (h/t @dhdaines). (#1169 + 3f16180)
  • Fix Page.get_attr(...) so that it fully resolves references before determining whether the attribute's value is None (h/t @zzhangyun + @mkl-public). (#1176 + c20cd3b)