This release contains improvements for accessibility, annotations, the annotation editor, font conversion and the viewer.
Changes since v5.3.93
Bump the stable version in pdfjs.config by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20061
Use the creation date in the popup when there is no modification date by @calixteman in https://github.com/mozilla/pdf.js/pull/20058
Fix typos across the codebase by @noritaka1166 in https://github.com/mozilla/pdf.js/pull/20060
Fix the default appearance of a Polygon annotation when a fill color is provided by @calixteman in https://github.com/mozilla/pdf.js/pull/20063
Add few methods to the Dict class in order to simplify the code when writing an annotation by @calixteman in https://github.com/mozilla/pdf.js/pull/20064
[api-minor] Move getContext call to InternalRenderTask by @ryzokuken in https://github.com/mozilla/pdf.js/pull/20016
Bump library version to 5.4 by @ryzokuken in https://github.com/mozilla/pdf.js/pull/20071
Revert "Make horizontal padding relative to device width" by @calixteman in https://github.com/mozilla/pdf.js/pull/20076
Use the canvas context from mozPrintCallback when printing a pdf from the Firefox viewer by @calixteman in https://github.com/mozilla/pdf.js/pull/20082
In HCM, invert colors when hovering an annotation with a popup by @calixteman in https://github.com/mozilla/pdf.js/pull/20084
Add the l10n parameter when pasting a Signature annotation by @calixteman in https://github.com/mozilla/pdf.js/pull/20081
[Editor] Remove a popup from the DOM when it's deleted by @calixteman in https://github.com/mozilla/pdf.js/pull/20077
[Editor] Add the possibility to add a popup to an annotation when saving by @calixteman in https://github.com/mozilla/pdf.js/pull/19976
Fix the "must check that canvas perfectly fits the page whatever the zoom level" viewer integration test by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20087
Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20086
Handle the case where all the image data are in the alpha channel (bug 1975719) by @calixteman in https://github.com/mozilla/pdf.js/pull/20085
[Editor] Add a color picker in the toolbar of Ink and Freetext annotations by @calixteman in https://github.com/mozilla/pdf.js/pull/20070
Avoid Firefox test failure by @calixteman in https://github.com/mozilla/pdf.js/pull/20092
[Editor] Use a round color swatch for the basic color picker by @calixteman in https://github.com/mozilla/pdf.js/pull/20094
[Editor] Make sure that doorhangers are large enough to fit localized strings by @calixteman in https://github.com/mozilla/pdf.js/pull/20095
Don't add an undefined id to the span for marked content by @calixteman in https://github.com/mozilla/pdf.js/pull/20103
[Editor] Make possible to change the highlight color from the main panel by @calixteman in https://github.com/mozilla/pdf.js/pull/20098
[Editor] Add the possibility to add Popup annotations (bug 1976724) by @calixteman in https://github.com/mozilla/pdf.js/pull/20080
[Editor] Only add a popup to an existing annotation if it exits by @calixteman in https://github.com/mozilla/pdf.js/pull/20104
Use canvas context text primitives when the font file is missing by @calixteman in https://github.com/mozilla/pdf.js/pull/20101
Make the link annotations correctly announced by screen readers (bug 1708041) by @calixteman in https://github.com/mozilla/pdf.js/pull/20096
Fix intermittent failure in the viewer alert tests by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20106
[Editor] Fix the highlighting colors in HCM (bug 1977259) by @calixteman in https://github.com/mozilla/pdf.js/pull/20099
Update translations and dependencies to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20107
Fix the xref table with the values we've at the beginning of a xref stream (bug 1978317) by @calixteman in https://github.com/mozilla/pdf.js/pull/20113
Use a HTML date/time input when a field requires a date or a time. by @calixteman in https://github.com/mozilla/pdf.js/pull/20116
[Editor] Don't show the actions button in the comment popup when it's useless by @calixteman in https://github.com/mozilla/pdf.js/pull/20120