Skip to content

Commit b87c999

Browse files
Merge pull request #20379 from calixteman/fix_after_20373
Fix stream use when getting the text (follow-up of #20373)
2 parents b0e8c39 + 199b3d0 commit b87c999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/evaluator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4284,7 +4284,7 @@ class PartialEvaluator {
42844284
hash.update(`${firstChar}-${lastChar}`); // Fixes issue10665_reduced.pdf
42854285

42864286
if (toUnicode instanceof BaseStream) {
4287-
const stream = toUnicode.str || toUnicode;
4287+
const stream = toUnicode.stream || toUnicode;
42884288
const uint8array = stream.buffer
42894289
? new Uint8Array(stream.buffer.buffer, 0, stream.bufferLength)
42904290
: new Uint8Array(

0 commit comments

Comments
 (0)