mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
47.09k stars 9.81k forks source link

[Bug]: Using Chinese to annotate a PDF, but the Chinese characters do not display after opening the downloaded PDF #18329

Closed CFKit closed 6 days ago

CFKit commented 6 days ago

Attach (recommended) or Link to PDF file

https://mozilla.github.io/pdf.js/web/viewer.html

Web browser and its version

版本 125.0.6422.113(正式版本) (arm64)

Operating system and its version

macOS 14.4.1 (23E224)

PDF.js version

new

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. open https://mozilla.github.io/pdf.js/web/viewer.html
  2. add chinese text image
  3. download pdf
  4. open the downloaded PDF image

What is the expected behavior?

I want the downloaded PDF file to display all of my annotations, including those in Chinese.

What went wrong?

Link to a viewer

No response

Additional context

This issue might be related to the version of the browser.

Snuffleupagus commented 6 days ago

Duplicate of #15769

Snuffleupagus commented 6 days ago

For future reference:

Web browser and its version

版本 125.0.6422.113(正式版本) (arm64)

Please only use English in this bug tracker.

PDF.js version

new

That's not a valid version number.

2. add chinese text

You didn't include the string in question, which makes this issue impossible to reproduce for anyone not speaking Chinese.