1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Print correctly documents containing chars with an unicode greater than 0xFFFF (bug 1669097)

This commit is contained in:
Calixte Denizet 2024-01-21 23:00:43 +01:00
parent d549c2ef4c
commit 06601fd90c
6 changed files with 44 additions and 34 deletions

View file

@ -3826,7 +3826,7 @@ class FreeTextAnnotation extends MarkupAnnotation {
fontColor,
strokeAlpha
);
this._streams.push(this.appearance, FakeUnicodeFont.toUnicodeStream);
this._streams.push(this.appearance);
} else {
warn(
"FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly."