This release, the final one of 2025, contains improvements for accessibility, font conversion, image conversion, performance, text selection and the viewer.
Changes since v5.4.449
Bump the stable version in pdfjs.config by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20469
[Editor] Pointer type initialization only when the user changes the mode by @legraina in https://github.com/mozilla/pdf.js/pull/20226
Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20470
Aria-hide the text content part of a MathML formula (bug 1998046) by @calixteman in https://github.com/mozilla/pdf.js/pull/20471
Inject the text from the text layer in the MathML tags when they're in the struct tree (bug 1998046) by @calixteman in https://github.com/mozilla/pdf.js/pull/20472
Add a menu class in order to be used in the new UI for the merge feature by @calixteman in https://github.com/mozilla/pdf.js/pull/20483
Add some callbacks when resizing a sidebar by @calixteman in https://github.com/mozilla/pdf.js/pull/20474
Use HTMLElement.scrollIntoView when showing a thumbnail by @calixteman in https://github.com/mozilla/pdf.js/pull/20476
Extend getGlyphMapForStandardFonts with some Russian entries (issue 20453) by @xiaobai2017666 in https://github.com/mozilla/pdf.js/pull/20454
Add a new linting task in order to detect unused/unknown css variables in the Firefox build by @calixteman in https://github.com/mozilla/pdf.js/pull/20485
Add .vscode to .gitignore by @calixteman in https://github.com/mozilla/pdf.js/pull/20490
Encode FontPath data into an ArrayBuffer by @ryzokuken in https://github.com/mozilla/pdf.js/pull/20346
Move the css for tree object in its own file by @calixteman in https://github.com/mozilla/pdf.js/pull/20493
Use only one resize observer in the the sidebar by @calixteman in https://github.com/mozilla/pdf.js/pull/20494
Fix infinite loop in JBIG2 decoder with >4 referred-to segments by @Gaurang-5 in https://github.com/mozilla/pdf.js/pull/20440
Move text layer scaling logic to CSS by @nicolo-ribaudo in https://github.com/mozilla/pdf.js/pull/20491
Improves text rendering performance by skipping unnecessary pattern calculations by @AtiX in https://github.com/mozilla/pdf.js/pull/20499
Simplify positioning of elements inside markedContent by @nicolo-ribaudo in https://github.com/mozilla/pdf.js/pull/20492
Fix #20420: Prevent double decoding of file URL parameter by @Uzair-Ahmed-Shah in https://github.com/mozilla/pdf.js/pull/20482
Fix the position of the checkmark when the menu is displayed in RTL by @calixteman in https://github.com/mozilla/pdf.js/pull/20500
Fix some css in the tree view by @calixteman in https://github.com/mozilla/pdf.js/pull/20508
Change the sidebar for a views manager by @calixteman in https://github.com/mozilla/pdf.js/pull/20495
Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/20507
Run the CI tests in Node.js version 25 too by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20502
Fix unit tests in adding a comma in the JSON for imports by @calixteman in https://github.com/mozilla/pdf.js/pull/20517
Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20501
Escape punctuation signs in search query by @calixteman in https://github.com/mozilla/pdf.js/pull/20518
Avoid exception when trying to render some glyphs contours by @calixteman in https://github.com/mozilla/pdf.js/pull/20514
Simplify regex escaping by @calixteman in https://github.com/mozilla/pdf.js/pull/20524
Dont' throw when adding page labels in thumbnails by @calixteman in https://github.com/mozilla/pdf.js/pull/20521
Fix the encoding for some missing chinese fonts by @calixteman in https://github.com/mozilla/pdf.js/pull/20526
Remove some files from talos tests because they aren't available on webarchive by @calixteman in https://github.com/mozilla/pdf.js/pull/20527
Avoid pattern creation with some basic gradients by @calixteman in https://github.com/mozilla/pdf.js/pull/20525
Introduce a helper function to draw a line in the ink editor integration tests by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20519
Add CLAUDE.md generated with claude code by @calixteman in https://github.com/mozilla/pdf.js/pull/20522
Avoid to have a mail link with string having the format ddd@d.dddd by @calixteman in https://github.com/mozilla/pdf.js/pull/20531
Remove undefStack stuff in the cff parser by @calixteman in https://github.com/mozilla/pdf.js/pull/20537
Fix the loca table length when there is enough space for it by @calixteman in https://github.com/mozilla/pdf.js/pull/20538
Use CIDToGIDMap when the font is a type 2 with an OpenType font by @calixteman in https://github.com/mozilla/pdf.js/pull/20535