This release contains improvements for the annotation editor, accessibility, font conversion and performance.
Changes since v5.4.296
Bump the stable version in pdfjs.config by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20339
Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20337
[Editor] Remove obsolete arguments for setDims calls in the highlight code by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20335
Add a test for PR #20320 by @calixteman in https://github.com/mozilla/pdf.js/pull/20338
[Editor] Make sure that comment stuff is removed when an editor is deleted (bug 1992987) by @calixteman in https://github.com/mozilla/pdf.js/pull/20342
[Editor] Make sure the editor is focused after the comment has been deleted (bug 1992832) by @calixteman in https://github.com/mozilla/pdf.js/pull/20343
[Editor] Make sure all editors are focusable with the keyboard (bug 1992868) by @calixteman in https://github.com/mozilla/pdf.js/pull/20341
[Editor] Remove the role radio for the editing buttons (bug 1990826) by @calixteman in https://github.com/mozilla/pdf.js/pull/20347
[Editor] Make sure that annotation positions in the DOM respect the visual order (bug 1992770) by @calixteman in https://github.com/mozilla/pdf.js/pull/20344
[Annotation] Use the annotations rect in order to fix the order in the DOM (bug 1987914) by @calixteman in https://github.com/mozilla/pdf.js/pull/20350
[Editor] Avoid to have a null button in the DOM when there's no comment manager by @calixteman in https://github.com/mozilla/pdf.js/pull/20351
Improve performance of the struct tree build (bug 1987914) by @calixteman in https://github.com/mozilla/pdf.js/pull/20352
[Annotation] Improve the performance of the code for getting glyphs which belongs to annotations bounding boxes (bug 1987914) by @calixteman in https://github.com/mozilla/pdf.js/pull/20353
Use enums instead of string for mesh shading figure type by @Aditi-1400 in https://github.com/mozilla/pdf.js/pull/20354
Bump github/codeql-action from 3 to 4 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/20357
Very slightly improve intersector performance by @calixteman in https://github.com/mozilla/pdf.js/pull/20358
Use Python 3.14 in the GitHub workflows by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20363
Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20356
Reset sameLineText dependencies data on setTextMatrix by @nicolo-ribaudo in https://github.com/mozilla/pdf.js/pull/20361
Use a binary format for the glyph paths by @calixteman in https://github.com/mozilla/pdf.js/pull/20367
[Editor] Correctly focus the annotation once the comment has been removed in the annotation layer (bug 1994738) by @calixteman in https://github.com/mozilla/pdf.js/pull/20369
[Editor] Fix the tooltip of the comment button when in the editor toolbar (bug 1994958) by @calixteman in https://github.com/mozilla/pdf.js/pull/20372
[Editor] FreeText annotations aren't supposed to have an attached popup so disable commenting for them (bug 1995028) by @calixteman in https://github.com/mozilla/pdf.js/pull/20374
[Editor] Make sure the color picker has the right color when pasting an editor by @calixteman in https://github.com/mozilla/pdf.js/pull/20375
[Editor] Fix integration test after #20372 by @calixteman in https://github.com/mozilla/pdf.js/pull/20377
Use stream for whatever substrem in stream classes by @calixteman in https://github.com/mozilla/pdf.js/pull/20373
Fix stream use when getting the text (follow-up of #20373) by @calixteman in https://github.com/mozilla/pdf.js/pull/20379
Add a highlightSpan function in order to simplify a bit the integration tests by @calixteman in https://github.com/mozilla/pdf.js/pull/20355
Tweak the "scroll into view" viewer integration test by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20380
Don't use the aboutstacks.pdf file in the integration tests by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20378
Bump actions/setup-node from 5 to 6 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/20381
Serialize pattern data into ArrayBuffer by @Aditi-1400 in https://github.com/mozilla/pdf.js/pull/20340
[Editor] Fix the css of the button to close the comment sidebar (bug 1995766) by @calixteman in https://github.com/mozilla/pdf.js/pull/20386
[Editor] Fix the css of the link in the comment sidebar (bug 1995721) by @calixteman in https://github.com/mozilla/pdf.js/pull/20387
[Editor] Avoid to have several Undo entries in the context menu (bug 1995705) by @calixteman in https://github.com/mozilla/pdf.js/pull/20388
[Editor] Make sure the left (resp. right) corner of the popup is visible when in LTR (resp. RTL) (bug 1995579) by @calixteman in https://github.com/mozilla/pdf.js/pull/20389
Make MathML elements visible in the struct tree (bug 1937438) by @calixteman in https://github.com/mozilla/pdf.js/pull/20384
Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/20400
Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20396
Add the font PT Astra Serif as a possible substitution for Times New Roman by @CoelacanthusHex in https://github.com/mozilla/pdf.js/pull/20394
Collect all child nodes of lists and tables in StructTree by @edoardocavazza in https://github.com/mozilla/pdf.js/pull/20327
Add text extractor as an external service by @gregtatum in https://github.com/mozilla/pdf.js/pull/20406
Revert "Add some telemetry in order to know what are the certificates used in pdfs (bug 1973573)" by @calixteman in https://github.com/mozilla/pdf.js/pull/20404
Don't set the MathML namespace for attributes in MathML tags (bug 1997343) by @calixteman in https://github.com/mozilla/pdf.js/pull/20408
[Editor] A new CurrentPointers class to store current pointers used by the editor by @legraina in https://github.com/mozilla/pdf.js/pull/20213