Open the first named 'origin' pdf above, then add any Chinese character text-annotation and save as new pdf
Open the new pdf saved in the first step, edit the existing Chinese character text-annotation (use any Chinese characters), and save as new pdf
Open the pdf that saved in the secend step, you will see chinese character text-annotation will be rendering error
What is the expected behavior? (add screenshot)
Correct rendering of Chinese character annotations, like
What went wrong? (add screenshot)
Rendering error after secondary editing of Chinese character text-annotation
error render
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
None, I'm using pdf.js as a chrome extension, Use PDF Viewer to open the above pdf file link to see the results
Others:
This exception does not only appear in the PDF files I provided. It seems that this error will occur in any PDF after executing the above steps to reproduce the problem.
Files that use PDF Viewer to add Chinese character annotation are abnormal when opened in other PDF viewers (e.g: Chrome built-in, Adobe-Acrobat). Chinese character annotation will be missing, and the behavior is as follows
Attach (recommended) or Link to PDF file here:
Configuration:
Google Chome 116.0.5845.188 (64 Bit) (cohort: Stable)
Windows 11 Version 21H2 (Build 22000.2416)
PDF.js: 3.9.49 [47b6bbf5a]
Steps to reproduce the problem:
What is the expected behavior? (add screenshot) Correct rendering of Chinese character annotations, like What went wrong? (add screenshot) Rendering error after secondary editing of Chinese character text-annotation error render
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
None, I'm using pdf.js as a chrome extension, Use PDF Viewer to open the above pdf file link to see the results
Others: