github mozilla/pdf.js v5.4.296

14 hours ago

This release contains improvements for annotations, the annotation editor, font conversion, text selection and the viewer.

Changes since v5.4.149

  • Bump the stable version in pdfjs.config by @timvandermeij in #20215
  • Update dependencies and translations to the most recent versions by @timvandermeij in #20216
  • Add a function changeLightness in order to change the lightness of a RGB color by @calixteman in #20204
  • [Editor] Hide the comment sidebar on document change by @timvandermeij in #20220
  • [Editor] Add editors with a comment in the sidebar by @calixteman in #20217
  • [Editor] Make scrollable the area containing the comments in the sidebar by @calixteman in #20222
  • [Editor] Use the color of the annotation for the background of the comment button by @calixteman in #20221
  • [Editor] Don't save the image when updating a stamp annotation by @calixteman in #20233
  • Add a new function renderRichText to be used in the annotation layer by @calixteman in #20231
  • Fix the rendering of XFA rich text in popup annotations by @timvandermeij in #20238
  • Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #20242
  • Bump actions/setup-node from 4 to 5 by @dependabot[bot] in #20243
  • Improve the integration test code by @timvandermeij in #20172
  • [Editor] Fix saving a deleted popup by @calixteman in #20244
  • [Editor] Add the dates and rich text if any to the editors in order to use them when displaying the popup by @calixteman in #20245
  • Unskip the must check that date entered by the user is consistent scripting integration test for Firefox by @timvandermeij in #20239
  • [Editor] Make sure the comment button is at the right place when adding it in the toolbar by @calixteman in #20248
  • [Editor] When clicking on a comment in the sidebar, wait for the annotation editor layer to be rendered by @calixteman in #20247
  • Reduce background canvas resolution by @nicolo-ribaudo in #20255
  • Add an option in scrollIntoView and goToXY in order to be able to center vertically or horizontally the point XY in the viewer container by @calixteman in #20253
  • [Editor] Don't throw when switching to editing mode before an annotation editor layer is rendered by @calixteman in #20259
  • [Editor] Cleanup the pages not being fully rendered before switching to editing mode by @calixteman in #20258
  • Make sure that a good constrast ratio is respected when darkening/lightening a color by @calixteman in #20240
  • Store ops bboxes in a linear Uint8Array by @nicolo-ribaudo in #20208
  • Fix JSDoc description in src/display/api.js by @nicolo-ribaudo in #20267
  • Only record bboxes when needed by @nicolo-ribaudo in #20256
  • Use a dichotomy to find a color with a good contrast ratio by @calixteman in #20269
  • Replace manual returns with pending in the integration tests by @timvandermeij in #20271
  • Consider a ttf font with both Symbolic and Nonsymbolic flags set with a Differences array in the encoding dict as non-symbolic by @calixteman in #20270
  • Update dependencies and translations to the most recent versions by @timvandermeij in #20272
  • [Editor] Add a new popup for comments (bug 1987425) by @calixteman in #20249
  • [Annotation] Use the new popup in reading mode (bug 1987426) by @calixteman in #20250
  • [Editor] Fix the position of the comment popup and its dialog by @calixteman in #20278
  • [Annotation] Save the comment changes made in reading mode (bug 1987427) by @calixteman in #20274
  • Avoid unused css variables by @calixteman in #20279
  • Use console.warn/console.info where appropriate by @sigmaSd in #20252
  • [Editor] Fix the focus outline for the comment dialog buttons by @calixteman in #20281
  • [Editor] Make sure to not add extra editors when showing again a destroyed page by @calixteman in #20282
  • Update OpenJPEG to 2.5.4 by @calixteman in #20286
  • Serialize font data into an ArrayBuffer by @ryzokuken in #20197
  • [Editor] Make sure the comment dialog is visible on the screen (bug 1989304) by @calixteman in #20283
  • [Editor] Remove useless computations when setting the dimensions of an editor by @calixteman in #20285
  • [Editor] When in HCM, don't apply light/dark color in the comment buttons (bug 1977269) by @calixteman in #20291
  • [Editor] Update the color and the position of the comment button in reading mode they've been modified by @calixteman in #20295
  • [Editor] Don't add scrollbars when it's useless in the comment sidebar (bug 1990099) by @calixteman in #20297
  • [Editor] Avoid to use similar colors for background and foreground colors in HCM (bug 1990082) by @calixteman in #20298
  • [Editor] Use some percent coordinates for the comment dialog (bug 1990104) by @calixteman in #20299
  • [Editor] Fix the button labels in the comment dialog (bug 1990499) by @calixteman in #20300
  • [Editor] Make the comment sidebar resizable (bug 1990544) by @calixteman in #20303
  • [Editor] Add a title to the comment buttons (bug 1990813) by @calixteman in #20305
  • [Editor] Move the focus to the comment button once editing is done (bug 1990820) by @calixteman in #20304
  • [Editor] Make sure the selected editor is correctly focused after switching editing mode (bug 1990872) by @calixteman in #20307
  • [Editor] Fix the URL for the 'Learn more' link in the comment sidebar (bug 1990454) by @calixteman in #20308
  • [Editor] Show the comments in the sidebar in the chronological order,newest to oldest (bug 1990762) by @calixteman in #20310
  • Update dependencies by @calixteman in #20309
  • [Editor] Give the focus to the comment button after editing in reading mode by @calixteman in #20311
  • [Annotation] In reading mode with new commment stuff enabled, use the comment popup for annotations without a popup but with some contents (bug 1991029) by @calixteman in #20312
  • [Editor] Add some telemetry for the commenting feature (bug 1991172) by @calixteman in #20313
  • [Editor] Remove useless sidebar css by @calixteman in #20314
  • [Editor] Add a fake annotation (in the annotation layer) associated with an editor in order to be able to show the comment button (bug 1989420) by @calixteman in #20321
  • [Editor] Avoid an error when getting the editors telemetry data by @calixteman in #20318
  • [Annotation] Fix some timezone issues when getting a date from the date picker (bug 1991584) by @calixteman in #20320
  • [Editor] Add the possibility to unselect a comment from the sidebar by @calixteman in #20322
  • Increase the rendering quality of the detail view (bug 1991482) by @calixteman in #20323
  • Improve serif fallback font name matching by @james-atticus in #20224
  • Fix the creation of the annotation layer in the ref tests by @calixteman in #20329
  • [Editor] Make sure the comment dialog always have relative coordinates between 0% and 100% by @calixteman in #20328
  • [Editor] Slightly move the resizer in the sidebar comment in order to make it easier to use (bug 1992385) by @calixteman in #20332
  • Only apply word spacing when there is a 0x20 in the text chunk by @calixteman in #20334
  • Bump tar-fs from 3.1.0 to 3.1.1 by @dependabot[bot] in #20301
  • Fix incremental saving with hybrid references by @calixteman in #20333

Don't miss a new pdf.js release

NewReleases is sending notifications on new releases.