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