Skip to content

Releases: veraPDF/verapdf-js-viewer

v1.7.0

29 May 09:15
Compare
Choose a tag to compare

What's new?

  • Added keyboard shortcuts support for page scrolling and bounding box selection
  • Added onSelectBbox function to handle bounding box selection by keyboard shortcuts
  • Added bboxTitle property that is set to title and aria-describedby attributes of bounding box node

Bug fixes

  • Fixed grouped bounding boxes selection on click
  • Fixed bounding boxes positioning for glyphs, vertical text and artifacts

v1.5.0

07 Oct 15:40
Compare
Choose a tag to compare

What's new?

  • Added onBboxesParsed function to the Page props to send bboxes grouped by page
  • Added onWarning function to the Page props to warn of issues with the selected bbox (e.g. bbox is out of the page viewport)
  • Added support for page location in tagged structure tree: root/document[0]/pages[1](1 0 obj PDPage)
  • Added support for glyph location in page stream: root/document[0]/pages[0](14 0 obj PDPage)/contentStream[0](20 0 obj PDSemanticContentStream)/operators[6]/usedGlyphs[5](TimesNewRomanPSMT 32 0 56991387 0)
  • Improved positioning and search of bboxes in case of rotated and cropped pages
  • Added support for structure tree tags that span several pages
  • Allowed grouping bboxes of different clauses and tests
  • Added detection of images position painted using Do operator
  • Updated pdf.js version to v2.14.305

Bug fixes

  • Fixed scroll and autoscroll to the active bbox
  • Fixed bboxes calculation for text