master
Re-name the `RefSetCache` class to `RefMap`
Re-use the `stringToBytes` helper in the `encodeASCIIString` function
Remove overridden/duplicated `[$getChildren]` methods
Use the `MathClamp` helper in the `src/core/annotation.js` file
Replace a couple of loops with `TypedArray.prototype.fill()` in the `src/core/ascii_85_stream.js` file
Use stream for whatever substrem in stream classes
Add support for `/AuthEvent`, on-demand decryption
Add the bidi tests coming from BidiTest.txt and BidiCharacterTest.txt
Let `BinaryCMapStream` extend the `Stream` class
Add support for Brotli decompression
Update dependencies to the most recent versions
XFA - Fix font scale factors (bug 1720888) - All the scale factors in for the substitution font were wrong because of different glyph positions between Liberation and the other ones: - regenerate all the factors - Text may have polish chars for example and in this case the glyph widths were wrong: - treat substitution font as a composite one - add a map glyphIndex to unicode for Liberation in order to generate width array for cid font
Merge pull request #21737 from Snuffleupagus/RefMap
Extend the `unicorn/logical-assignment-operators` rule to if-statements
Set the correct data if compilation fails in the `CFFFont` constructor
Replace simple return `if` statements with ternary operators
Use ESLint to ensure that `export`s are sorted alphabetically
Add an abstract `WasmImage` class, that `JBig2CCITTFaxImage` and `JpxImage` inherit from
Merge pull request #21641 from calixteman/perf/pattern-color
Cache the result of `buildSymbolGlyphIdEncoding` (PR 21726 follow-up)
Merge pull request #21583 from calixteman/sasl_prep
Replace `TrueTypeTableBuilder` and `CompilerOutput` with a single class
Remove unnecessary class constructors in the `src` folder
Simplify the `nextChunk` handling in the `DecryptStream` class
Apply the appearance-stream scale factor when text is shown, not on setFont
Improve the `sink` handling in `getTextContent` for Highlight annotations (PR 20019 follow-up)
Add support for Screen annotations playing embedded media
Combine the `getPathJs` and `hasBuiltPath` methods in the `CompiledFont` class
Merge pull request #21330 from calixteman/fix_regex
Merge pull request #21040 from Snuffleupagus/constructSampled-flat-arrays
Add a `makeSet` helper, to reduce function creation
Remove the "no-babel-preset" comment used with the LIB build-target (PR 16829 follow-up)
Update qcms wrapper
Implement SmaskInData == 2 for JPX images
Remove the workaround for bug 1820511
[Debugger] Fix the content stream rendering when it's a ref to an array
Tweak the `WasmImage` implementation a little bit (PR 21225 follow-up)
Strip the JBIG2 file header from JBIG2Decode streams
Re-factor the `isSourcePDF` handling in the `JpegImage` class
Remove unused `lastCode` property from the `LZWStream` class (PR 324 follow-up)
Enable the `unicorn/prefer-string-replace-all` ESLint plugin rule
[api-minor] Annotations - Adjust the font size in text field in considering the total width (bug 1721335) - it aims to fix #14502 and bug 1721335; - Acrobat and Pdfium do the same; - it'll avoid to have truncated data when printed; - change the factor to compute font size in using field height: lineHeight = 1.35*fontSize - this is the value used by Acrobat. - in order to not have truncated strings on the bottom, add few basic metrics for standard fonts.
Use the gpu for drawing meshes only when it has more than 16 triangles (bug 2030745)
Simplify how the `ObjectLoader` is used
Convert the return value in `createCmapTable` and `createNameTable` to a TypedArray
No longer initialize the dictionary *lazily* when parsing inline images
Convert shading colors in bulk, rather than one at a time
Add an integration-test for merging a corrupt PDF
Make the Map-field actually private in the `RefMap` class
Support SASLprep for AES-256 revision 6 passwords
Add support for Sound annotations playing embedded audio
Improve glyph mapping for non-embedded CID fonts
Parse CID-keyed Type 1 fonts instead of falling back to a system font
Lookup "lenIV" inline in the `Type1Parser.prototype.extractFontProgram` method
Add an abstract `BasePDFStreamRangeReader` class, that all the old `IPDFStreamRangeReader` implementations inherit from
Don't write numbers in exponential notation when saving a pdf
Additional *manual* `unicorn/prefer-ternary` changes
Exclude "&" from the XML entity names
Re-factor the "nested trailer dictionary" check (PR 4731 follow-up)